PyShutdownBox / PyShutdownBox.glade

<?xml version="1.0"?>
<interface>
  <requires lib="gtk+" version="2.16"/>
  <!-- interface-naming-policy project-wide -->
  <object class="GtkWindow" id="MainWindow">
    <property name="width_request">360</property>
    <property name="height_request">150</property>
    <property name="border_width">4</property>
    <property name="title" translatable="yes">PyShutdownBox</property>
    <property name="resizable">False</property>
    <property name="window_position">center-always</property>
    <property name="default_width">360</property>
    <property name="default_height">150</property>
    <property name="icon_name">system-shutdown</property>
    <property name="urgency_hint">True</property>
    <property name="decorated">False</property>
    <property name="deletable">False</property>
    <child>
      <object class="GtkVBox" id="vbox1">
        <property name="visible">True</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkHBox" id="hbox1">
            <property name="visible">True</property>
            <child>
              <object class="GtkButton" id="logout_button">
                <property name="label" translatable="yes">Logout</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="image">logout_image</property>
                <property name="image_position">top</property>
                <signal name="clicked" handler="on_logout_button_clicked"/>
              </object>
              <packing>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="restart_button">
                <property name="label" translatable="yes">Restart</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="image">restart_image</property>
                <property name="image_position">top</property>
                <signal name="clicked" handler="on_restart_button_clicked"/>
              </object>
              <packing>
                <property name="position">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkButton" id="shutdown_button">
                <property name="label" translatable="yes">Shutdown</property>
                <property name="visible">True</property>
                <property name="can_focus">True</property>
                <property name="receives_default">True</property>
                <property name="image">shutdown_image</property>
                <property name="image_position">top</property>
                <signal name="clicked" handler="on_shutdown_button_clicked"/>
              </object>
              <packing>
                <property name="position">2</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkButton" id="exit_button">
            <property name="label">gtk-cancel</property>
            <property name="visible">True</property>
            <property name="can_focus">True</property>
            <property name="receives_default">True</property>
            <property name="use_stock">True</property>
            <signal name="clicked" handler="on_exit_button_clicked"/>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
  </object>
  <object class="GtkImage" id="shutdown_image">
    <property name="visible">True</property>
    <property name="pixel_size">64</property>
    <property name="icon_name">system-shutdown</property>
  </object>
  <object class="GtkImage" id="restart_image">
    <property name="visible">True</property>
    <property name="pixel_size">64</property>
    <property name="icon_name">system-restart</property>
  </object>
  <object class="GtkImage" id="logout_image">
    <property name="visible">True</property>
    <property name="pixel_size">64</property>
    <property name="icon_name">system-log-out</property>
  </object>
</interface>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.