Debian Codegraph @

test cases/vala/27 file as command line argument/mywidget.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface>
3 <!-- interface-requires gtk+ 3.8 -->
4 <template class="MyWidget" parent="GtkBox">
5 <property name="visible">True</property>
6 <property name="can_focus">False</property>
7 <property name="orientation">vertical</property>
8 <property name="spacing">4</property>
9 <child>
10 <object class="GtkLabel" id="label1">
11 <property name="visible">True</property>
12 <property name="can_focus">False</property>
13 <property name="halign">start</property>
14 <property name="valign">start</property>
15 <property name="xalign">0</property>
16 <property name="label" translatable="yes">This widget is defined with composite GtkBuilder script</property>
17 <property name="wrap">True</property>
18 </object>
19 <packing>
20 <property name="expand">False</property>
21 <property name="fill">True</property>
22 <property name="position">0</property>
23 </packing>
24 </child>
25 <child>
26 <object class="GtkEntry" id="entry">
27 <property name="visible">True</property>
28 <property name="can_focus">True</property>
29 <property name="invisible_char">•</property>
30 <signal name="changed" handler="on_entry_changed" object="MyWidget" swapped="no"/>
31 </object>
32 <packing>
33 <property name="expand">False</property>
34 <property name="fill">True</property>
35 <property name="position">1</property>
36 </packing>
37 </child>
38 <child>
39 <object class="GtkLabel" id="label2">
40 <property name="visible">True</property>
41 <property name="can_focus">False</property>
42 <property name="halign">start</property>
43 <property name="valign">start</property>
44 <property name="xalign">0</property>
45 <property name="label" translatable="yes">Press the button to fetch the internal entry text</property>
46 <property name="wrap">True</property>
47 </object>
48 <packing>
49 <property name="expand">False</property>
50 <property name="fill">True</property>
51 <property name="position">2</property>
52 </packing>
53 </child>
54 <child>
55 <object class="GtkButton" id="button">
56 <property name="label" translatable="yes">The Button</property>
57 <property name="visible">True</property>
58 <property name="can_focus">True</property>
59 <property name="receives_default">True</property>
60 <property name="halign">end</property>
61 <signal name="clicked" handler="on_button_clicked" swapped="no"/>
62 </object>
63 <packing>
64 <property name="expand">False</property>
65 <property name="fill">True</property>
66 <property name="position">3</property>
67 </packing>
68 </child>
69 </template>
70 </interface>