Mark2020H

XML Glade File for instrumentation GTK C Part1

Oct 31st, 2020 (edited)
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Genie 3.09 KB | None | 0 0
  1. /****   Test Instrument  Meter  using GTK-C ***/
  2. //MD Harrington
  3.  
  4. //Glade File Part 1 Comprise 3 file  C file , Glade File and makefile
  5. // Links at  these addresses respectively
  6.  
  7. // Part 2 https://pastebin.com/hJfvbg0f
  8.  
  9. // Part 3 https://pastebin.com/h0hTsFR5
  10.  
  11.  
  12. <?xml version="1.0" encoding="UTF-8"?>
  13. <!-- Generated with glade 3.36.0 -->
  14. <interface>
  15.   <requires lib="gtk+" version="3.10"/>
  16.   <object class="GtkAdjustment" id="adjustment1">
  17.     <property name="upper">100</property>
  18.     <property name="step_increment">1</property>
  19.     <property name="page_increment">10</property>
  20.   </object>
  21.   <object class="GtkWindow" id="window1">
  22.     <property name="visible">True</property>
  23.     <property name="can_focus">False</property>
  24.     <property name="resizable">False</property>
  25.     <property name="deletable">False</property>
  26.     <child>
  27.       <object class="GtkBox" id="box1">
  28.         <property name="visible">True</property>
  29.         <property name="can_focus">False</property>
  30.         <property name="orientation">vertical</property>
  31.         <child>
  32.           <object class="GtkDrawingArea" id="drawingarea1">
  33.             <property name="width_request">400</property>
  34.             <property name="height_request">200</property>
  35.             <property name="visible">True</property>
  36.             <property name="can_focus">False</property>
  37.             <signal name="draw" handler="on_drawingarea1_draw" object="scale1" swapped="no"/>
  38.           </object>
  39.           <packing>
  40.             <property name="expand">False</property>
  41.             <property name="fill">True</property>
  42.             <property name="position">0</property>
  43.           </packing>
  44.         </child>
  45.         <child>
  46.           <object class="GtkScale" id="scale1">
  47.             <property name="visible">True</property>
  48.             <property name="can_focus">True</property>
  49.             <property name="adjustment">adjustment1</property>
  50.             <property name="fill_level">100</property>
  51.             <property name="round_digits">1</property>
  52.             <signal name="value-changed" handler="on_scale1_value_changed" object="drawingarea1" swapped="no"/>
  53.           </object>
  54.           <packing>
  55.             <property name="expand">False</property>
  56.             <property name="fill">True</property>
  57.             <property name="position">1</property>
  58.           </packing>
  59.         </child>
  60.         <child>
  61.           <object class="GtkButton" id="quitButton">
  62.             <property name="label" translatable="yes">QUIT</property>
  63.             <property name="visible">True</property>
  64.             <property name="can_focus">True</property>
  65.             <property name="receives_default">True</property>
  66.             <signal name="clicked" handler="quitButtonClicked" swapped="no"/>
  67.           </object>
  68.           <packing>
  69.             <property name="expand">False</property>
  70.             <property name="fill">True</property>
  71.             <property name="position">2</property>
  72.           </packing>
  73.         </child>
  74.       </object>
  75.     </child>
  76.     <child type="titlebar">
  77.       <placeholder/>
  78.     </child>
  79.   </object>
  80. </interface>
  81.  
  82.  
Add Comment
Please, Sign In to add comment