Skip to content
Snippets Groups Projects
interface.ui 3.69 KiB
Newer Older
Bruce Cowan's avatar
Bruce Cowan committed
<?xml version="1.0" encoding="UTF-8"?>
Bruce Cowan's avatar
Bruce Cowan committed
<!-- Generated with glade 3.22.0 -->
Bruce Cowan's avatar
Bruce Cowan committed
<!--
Bruce Cowan's avatar
Bruce Cowan committed
  SPDX-FileCopyrightText: 2012-2020 Bruce Cowan <bruce@bcowan.me.uk>
  SPDX-License-Identifier: GPL-3.0-or-later
Bruce Cowan's avatar
Bruce Cowan committed
-->
Bruce Cowan's avatar
Bruce Cowan committed
<interface>
Bruce Cowan's avatar
Bruce Cowan committed
  <requires lib="gtk+" version="3.16"/>
Bruce Cowan's avatar
Bruce Cowan committed
  <object class="GtkAdjustment" id="adjustment1">
    <property name="upper">200</property>
Bruce Cowan's avatar
Bruce Cowan committed
    <property name="step_increment">1</property>
Bruce Cowan's avatar
Bruce Cowan committed
    <property name="page_increment">10</property>
Bruce Cowan's avatar
Bruce Cowan committed
  </object>
Bruce Cowan's avatar
Bruce Cowan committed
  <object class="GtkPopoverMenu" id="popovermenu1">
    <property name="can_focus">False</property>
    <child>
      <object class="GtkModelButton">
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="receives_default">True</property>
        <property name="action_name">app.about</property>
        <property name="text" translatable="yes">About Rugby</property>
      </object>
      <packing>
        <property name="submenu">main</property>
        <property name="position">1</property>
Bruce Cowan's avatar
Bruce Cowan committed
      </packing>
    </child>
  </object>
Bruce Cowan's avatar
Bruce Cowan committed
  <template class="RugbyAppWindow" parent="GtkApplicationWindow">
Bruce Cowan's avatar
Bruce Cowan committed
    <property name="can_focus">False</property>
Bruce Cowan's avatar
Bruce Cowan committed
    <child>
      <object class="GtkScrolledWindow">
Bruce Cowan's avatar
Bruce Cowan committed
        <property name="height_request">400</property>
        <property name="visible">True</property>
        <property name="can_focus">True</property>
        <property name="shadow_type">in</property>
        <child>
          <object class="GtkViewport">
            <property name="visible">True</property>
            <property name="can_focus">False</property>
            <child>
              <object class="GtkListBox" id="listbox">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="selection_mode">none</property>
              </object>
            </child>
          </object>
        </child>
Bruce Cowan's avatar
Bruce Cowan committed
      </object>
    </child>
Bruce Cowan's avatar
Bruce Cowan committed
    <child type="titlebar">
      <object class="GtkHeaderBar">
        <property name="visible">True</property>
        <property name="can_focus">False</property>
        <property name="title" translatable="yes">Rugby</property>
Bruce Cowan's avatar
Bruce Cowan committed
        <property name="show_close_button">True</property>
        <child>
          <object class="GtkLabel">
Bruce Cowan's avatar
Bruce Cowan committed
            <property name="visible">True</property>
Bruce Cowan's avatar
Bruce Cowan committed
            <property name="can_focus">False</property>
            <property name="label" translatable="yes">Score:</property>
          </object>
        </child>
        <child>
Bruce Cowan's avatar
Bruce Cowan committed
          <object class="GtkSpinButton" id="scorespin">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="text" translatable="yes">0</property>
            <property name="adjustment">adjustment1</property>
Bruce Cowan's avatar
Bruce Cowan committed
          </object>
          <packing>
            <property name="position">1</property>
          </packing>
Bruce Cowan's avatar
Bruce Cowan committed
        </child>
Bruce Cowan's avatar
Bruce Cowan committed
        <child>
          <object class="GtkMenuButton">
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="popover">popovermenu1</property>
            <child>
              <object class="GtkImage">
                <property name="visible">True</property>
                <property name="can_focus">False</property>
                <property name="icon_name">open-menu</property>
Bruce Cowan's avatar
Bruce Cowan committed
              </object>
            </child>
          </object>
          <packing>
            <property name="pack_type">end</property>
            <property name="position">2</property>
Bruce Cowan's avatar
Bruce Cowan committed
          </packing>
        </child>
      </object>
    </child>
Bruce Cowan's avatar
Bruce Cowan committed
  </template>
Bruce Cowan's avatar
Bruce Cowan committed
</interface>