<?xml version="1.0" encoding="UTF-8"?> <!-- SPDX-FileCopyrightText: 2012-2021 Bruce Cowan <bruce@bcowan.me.uk> SPDX-License-Identifier: GPL-3.0-or-later --> <interface> <requires lib="gtk" version="4.0"/> <object class="GtkAdjustment" id="adjustment1"> <property name="upper">200</property> <property name="step_increment">1</property> </object> <menu id="menu"> <section> <item> <attribute name="label" translatable="yes">_Preferences</attribute> <attribute name="action">app.prefs</attribute> </item> </section> <section> <item> <attribute name="label" translatable="yes">_About Rugby</attribute> <attribute name="action">app.about</attribute> </item> </section> </menu> <template class="RugbyAppWindow" parent="GtkApplicationWindow"> <property name="title" translatable="yes">Rugby</property> <child> <object class="GtkScrolledWindow"> <property name="height_request">600</property> <child> <object class="GtkViewport"> <child> <object class="GtkListBox" id="listbox"> <property name="selection_mode">none</property> <style> <class name="rich-list"/> </style> <child type="placeholder"> <object class="GtkLabel"> <property name="label">No possibilities for this score</property> <style> <class name="dim-label"/> </style> </object> </child> </object> </child> </object> </child> </object> </child> <child type="titlebar"> <object class="GtkHeaderBar"> <child> <object class="GtkLabel"> <property name="label" translatable="yes">Score:</property> </object> </child> <child> <object class="GtkSpinButton" id="scorespin"> <property name="adjustment">adjustment1</property> <property name="focusable">1</property> </object> </child> <child type="end"> <object class="GtkMenuButton" id="menu_button"> <property name="direction">none</property> <property name="menu_model">menu</property> </object> </child> </object> </child> </template> </interface>