<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="3.4"/> <object class="GtkAdjustment" id="filteradj"> <property name="upper">1</property> <property name="step_increment">1</property> </object> <object class="GtkAdjustment" id="scoreadj"> <property name="upper">150</property> <property name="step_increment">1</property> </object> <object class="GtkApplicationWindow" id="window"> <property name="can_focus">False</property> <property name="title" translatable="yes">Rugby scores</property> <child> <object class="GtkGrid" id="grid"> <property name="visible">True</property> <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="label" translatable="yes">_Score:</property> <property name="use_underline">True</property> <property name="mnemonic_widget">scorespin</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">0</property> <property name="width">1</property> <property name="height">1</property> </packing> </child> <child> <object class="GtkSpinButton" id="scorespin"> <property name="can_focus">True</property> <property name="invisible_char">•</property> <property name="invisible_char_set">True</property> <property name="adjustment">scoreadj</property> </object> <packing> <property name="left_attach">1</property> <property name="top_attach">0</property> <property name="width">1</property> <property name="height">1</property> </packing> </child> <child> <object class="GtkCheckButton" id="enablefilter"> <property name="label" translatable="yes">_Try filter:</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">False</property> <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="xalign">0</property> <property name="draw_indicator">True</property> </object> <packing> <property name="left_attach">2</property> <property name="top_attach">0</property> <property name="width">1</property> <property name="height">1</property> </packing> </child> <child> <object class="GtkScale" id="filterscale"> <property name="visible">True</property> <property name="sensitive">False</property> <property name="can_focus">True</property> <property name="hexpand">True</property> <property name="adjustment">filteradj</property> <property name="round_digits">0</property> <property name="digits">0</property> <property name="orientation">horizontal</property> </object> <packing> <property name="left_attach">3</property> <property name="top_attach">0</property> <property name="width">1</property> <property name="height">1</property> </packing> </child> <child> <object class="GtkScrolledWindow" id="scrolledwindow"> <property name="height_request">300</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="hscrollbar_policy">never</property> <property name="vexpand">True</property> <child> <object class="GtkTreeView" id="treeview"> <property name="width_request">400</property> <property name="can_focus">True</property> <property name="has_tooltip">True</property> <property name="headers_visible">False</property> <property name="enable_search">False</property> <property name="tooltip_column">3</property> <child internal-child="selection"> <object class="GtkTreeSelection" id="treeview-selection1"/> </child> </object> </child> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">1</property> <property name="width">4</property> <property name="height">1</property> </packing> </child> <child> <object class="GtkStatusbar" id="status"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="spacing">2</property> </object> <packing> <property name="left_attach">0</property> <property name="top_attach">2</property> <property name="width">4</property> <property name="height">1</property> </packing> </child> </object> </child> </object> <menu id="app-menu"> <section> <item> <attribute name="label" translatable="yes">_About</attribute> <attribute name="action">app.about</attribute> <attribute name="accel"><Primary>a</attribute> </item> </section> <section> <item> <attribute name="label" translatable="yes">_Quit</attribute> <attribute name="action">app.quit</attribute> <attribute name="accel"><Primary>q</attribute> </item> </section> </menu> </interface>