mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Builder list factory
This commit is contained in:
parent
0cf9a8e4fc
commit
a2fb86bc31
9 changed files with 98 additions and 1 deletions
|
@ -414,6 +414,21 @@ Gtk.SizeGroup
|
|||
Gtk.Label label1 {}
|
||||
Gtk.Label label2 {}
|
||||
|
||||
Gtk.BuilderListItemFactory
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
.. code-block::
|
||||
|
||||
Gtk.ListView {
|
||||
factory: Gtk.BuilderListItemFactory {
|
||||
template {
|
||||
child: Label {
|
||||
label: "Hello";
|
||||
};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Gtk.StringList
|
||||
~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue