91 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			3.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="UTF-8"?>
 | |
| <!-- Generated with glade 3.16.1 -->
 | |
| <interface>
 | |
|   <object class="GtkWindow" id="Main Window">
 | |
|     <property name="visible">True</property>
 | |
|     <property name="can_focus">False</property>
 | |
|     <property name="opacity">0.99999999977648257</property>
 | |
|     <property name="border_width">5</property>
 | |
|     <property name="window_position">center</property>
 | |
|     <property name="icon_name">clock</property>
 | |
|     <signal name="destroy" handler="Quit" swapped="no"/>
 | |
|     <child>
 | |
|       <object class="GtkBox" id="box1">
 | |
|         <property name="visible">True</property>
 | |
|         <property name="can_focus">False</property>
 | |
|         <property name="orientation">vertical</property>
 | |
|         <child>
 | |
|           <object class="GtkOverlay" id="overlay1">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">False</property>
 | |
|             <child>
 | |
|               <object class="GtkLabel" id="label1">
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="sensitive">False</property>
 | |
|                 <property name="can_focus">False</property>
 | |
|                 <property name="label" translatable="yes"><u><b>Timeout/Idle</b></u>
 | |
| 
 | |
| Two kinds of timers are provided: the timeout, which calls a routine 
 | |
| you supply once each x/thousands of a second, and the idle, which 
 | |
| calls your routine as often as possible whenever GTK isn't attending 
 | |
| to other things, like user clicks, window movements, etc.
 | |
| 
 | |
| This clock uses timeout, updating 4x per second to minimize 
 | |
| visible 'jitter' in the time, but using less than 10% cpu time.
 | |
| 
 | |
| Changing the source to use idle instead will use 80-95% cpu</property>
 | |
|                 <property name="use_markup">True</property>
 | |
|               </object>
 | |
|             </child>
 | |
|             <child type="overlay">
 | |
|               <object class="GtkLabel" id="display">
 | |
|                 <property name="name">clock</property>
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">False</property>
 | |
|                 <property name="opacity">0.75</property>
 | |
|                 <property name="valign">baseline</property>
 | |
|                 <property name="use_markup">True</property>
 | |
|                 <property name="track_visited_links">False</property>
 | |
|               </object>
 | |
|             </child>
 | |
|           </object>
 | |
|           <packing>
 | |
|             <property name="expand">False</property>
 | |
|             <property name="fill">True</property>
 | |
|             <property name="position">0</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|         <child>
 | |
|           <object class="GtkButtonBox" id="buttonbox1">
 | |
|             <property name="visible">True</property>
 | |
|             <property name="can_focus">False</property>
 | |
|             <property name="layout_style">spread</property>
 | |
|             <child>
 | |
|               <object class="GtkButton" id="Quit Button">
 | |
|                 <property name="label">gtk-quit</property>
 | |
|                 <property name="visible">True</property>
 | |
|                 <property name="can_focus">True</property>
 | |
|                 <property name="receives_default">True</property>
 | |
|                 <property name="use_stock">True</property>
 | |
|                 <property name="yalign">0.43000000715255737</property>
 | |
|                 <signal name="clicked" handler="Bail" swapped="no"/>
 | |
|               </object>
 | |
|               <packing>
 | |
|                 <property name="expand">False</property>
 | |
|                 <property name="fill">True</property>
 | |
|                 <property name="position">0</property>
 | |
|               </packing>
 | |
|             </child>
 | |
|           </object>
 | |
|           <packing>
 | |
|             <property name="expand">True</property>
 | |
|             <property name="fill">True</property>
 | |
|             <property name="pack_type">end</property>
 | |
|             <property name="position">2</property>
 | |
|           </packing>
 | |
|         </child>
 | |
|       </object>
 | |
|     </child>
 | |
|   </object>
 | |
| </interface>
 |