WIP: Add gir.PartialClass

This commit is contained in:
James Westman 2022-07-19 20:25:46 -05:00
parent 632e9d7df6
commit 6fdb12fd5d
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
17 changed files with 231 additions and 147 deletions

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
template MyWidget {
label: bind MyWidget.other-label;
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="MyWidget">
<binding name="label">
<lookup name="other-label" type="MyWidget">
<constant>MyWidget</constant>
</lookup>
</binding>
</template>
</interface>