Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Generated with glade 3.20.4 -->
- <!-- MD Harrington 29/04/2020 -->
- <interface>
- <requires lib="gtk+" version="3.20"/>
- <object class="GtkAdjustment" id="adjduration">
- <property name="lower">20</property>
- <property name="upper">180</property>
- <property name="value">20</property>
- <property name="step_increment">10</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="hrsadj">
- <property name="lower">1</property>
- <property name="upper">24</property>
- <property name="value">1</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="minsadj">
- <property name="upper">59</property>
- <property name="value">1</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkAdjustment" id="secadj">
- <property name="upper">59</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkWindow" id="main_window">
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="vexpand">True</property>
- <property name="title" translatable="yes"> GTK RPI Embedded Timer By MD Harrington</property>
- <property name="resizable">False</property>
- <property name="default_width">430</property>
- <property name="default_height">320</property>
- <property name="icon_name">appointment-soon</property>
- <property name="gravity">center</property>
- <property name="startup_id">main_window</property>
- <signal name="destroy" handler="on_destroy" swapped="no"/>
- <child>
- <object class="GtkBox" id="main_container">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="orientation">vertical</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkHeaderBar" id="titlebar">
- <property name="width_request">-1</property>
- <property name="height_request">-1</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="border_width">10</property>
- <property name="title">Timer - Alarm system for Rasberry pi embedded systems </property>
- <property name="subtitle">Timer is not implemented Im waiting for some assitsance on this </property>
- <property name="spacing">58</property>
- <child>
- <placeholder/>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">4</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox" id="hBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">322</property>
- <child>
- <object class="GtkBox" id="vbox_1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="orientation">vertical</property>
- <property name="spacing">11</property>
- <child>
- <object class="GtkLabel" id="lbltime">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">baseline</property>
- <property name="label" translatable="yes">Current Time</property>
- <property name="single_line_mode">True</property>
- <attributes>
- <attribute name="font-desc" value="Sans Bold 22"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">2</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lblAlarm">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="valign">baseline</property>
- <property name="label" translatable="yes">Current Alarm</property>
- <attributes>
- <attribute name="font-desc" value="Sans Bold 22"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox" id="vbox_2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="orientation">vertical</property>
- <property name="spacing">2</property>
- <child>
- <object class="GtkLabel" id="lbl_time">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">00:00:00</property>
- <property name="width_chars">18</property>
- <attributes>
- <attribute name="font-desc" value="Sans Bold 26"/>
- <attribute name="foreground" value="#0d961418efc8"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lbl_alarm">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">00:00:00</property>
- <property name="width_chars">11</property>
- <attributes>
- <attribute name="font-desc" value="Sans Bold 26"/>
- <attribute name="foreground" value="#0d961418efc8"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkLabel" id="lbsetalarms">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">For alarm please adjust hours, mins, seconds and duration below followed by update</property>
- <attributes>
- <attribute name="font-desc" value="Sans 12"/>
- <attribute name="foreground" value="#09c33e7ae146"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">1</property>
- <child>
- <object class="GtkLabel" id="lbhrs">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Hours</property>
- <property name="width_chars">6</property>
- <attributes>
- <attribute name="foreground" value="#09c33e7ae146"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="spinHrs">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="margin_left">1</property>
- <property name="margin_right">1</property>
- <property name="adjustment">hrsadj</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lbMinutes">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Minutes</property>
- <attributes>
- <attribute name="foreground" value="#09c33e7ae146"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="spinMinutes">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="margin_left">1</property>
- <property name="margin_right">1</property>
- <property name="adjustment">minsadj</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lbSeconds">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Seconds</property>
- <attributes>
- <attribute name="foreground" value="#09c33e7ae146"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="spinSecs">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="margin_left">1</property>
- <property name="margin_right">1</property>
- <property name="adjustment">secadj</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">5</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lbDuration">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Duration</property>
- <attributes>
- <attribute name="foreground" value="#09c33e7ae146"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">6</property>
- <property name="position">6</property>
- </packing>
- </child>
- <child>
- <object class="GtkSpinButton" id="spinDuration">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="margin_left">1</property>
- <property name="margin_right">1</property>
- <property name="adjustment">adjduration</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">7</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox" id="hboxdelay">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">66</property>
- <child>
- <object class="GtkLabel" id="lbldelay">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Alarm Time On Duration In Minutes</property>
- <attributes>
- <attribute name="font-desc" value="Sans Bold 18"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">12</property>
- <child>
- <object class="GtkLabel" id="lblAlLeft">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Alarm Time Left </property>
- <attributes>
- <attribute name="foreground" value="#09c33e7ae146"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lbl_delayOff ">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">000 </property>
- <property name="justify">center</property>
- <attributes>
- <attribute name="font-desc" value="Sans 12"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">6</property>
- <child>
- <object class="GtkLabel" id="idroom1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Room 1</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkSwitch" id="id_sw0">
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <signal name="state-set" handler="on_id_sw0_state_set" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="idroom2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Room 2 </property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkSwitch" id="id_sw1">
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <signal name="state-set" handler="on_id_sw1_state_set" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="idroom3">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Room 3</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkSwitch" id="id_sw2">
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <signal name="state-set" handler="on_id_sw2_state_set" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">5</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="idroom4">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Room 4</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">6</property>
- </packing>
- </child>
- <child>
- <object class="GtkSwitch" id="id_sw3">
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <signal name="state-set" handler="on_id_sw3_state_set" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">7</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="idroom">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Room 5</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">8</property>
- </packing>
- </child>
- <child>
- <object class="GtkSwitch" id="id_sw4">
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <signal name="state-set" handler="on_id_sw4_state_set" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">9</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="idroom6">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Room 6</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">10</property>
- </packing>
- </child>
- <child>
- <object class="GtkSwitch" id="id_sw5">
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <signal name="state-set" handler="on_id_sw5_state_set" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">11</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">5</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox" id="roomstatus">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">8</property>
- <child>
- <object class="GtkImage" id="Rm1Status">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">False</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkImage" id="Rm2Status">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkImage" id="Rm3Status">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">False</property>
- <property name="padding">6</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkImage" id="Rm4Status">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">False</property>
- <property name="padding">6</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkImage" id="Rm5Status">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">False</property>
- <property name="position">4</property>
- </packing>
- </child>
- <child>
- <object class="GtkImage" id="Rm6Status">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">False</property>
- <property name="position">5</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">21</property>
- <property name="position">6</property>
- </packing>
- </child>
- <child>
- <object class="GtkButtonBox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="spacing">51</property>
- <property name="layout_style">start</property>
- <child>
- <object class="GtkButton" id="btnAlarm_on">
- <property name="label" translatable="yes">Alarm On</property>
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="on_btnAlarm_on_clicked" swapped="no"/>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">1</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="BtnAlarm_Off">
- <property name="label" translatable="yes">Alarm Off</property>
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="on_BtnAlarm_Off_clicked" swapped="no"/>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="btnupdate">
- <property name="label" translatable="yes">Update</property>
- <property name="use_action_appearance">True</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="on_btnupdate_clicked" swapped="no"/>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="lbStatus">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Alarm OFF</property>
- <attributes>
- <attribute name="foreground" value="#cda614901490"/>
- </attributes>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="padding">2</property>
- <property name="position">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkImage" id="alarm_image">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="pixbuf">../icons/off.ico</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="padding">2</property>
- <property name="position">4</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
- <property name="position">7</property>
- </packing>
- </child>
- <child>
- <placeholder/>
- </child>
- </object>
- </child>
- <child type="titlebar">
- <placeholder/>
- </child>
- </object>
- </interface>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement