Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**** Test Instrument Meter using GTK-C ***/
- //MD Harrington
- //Glade File Part 1 Comprise 3 file C file , Glade File and makefile
- // Links at these addresses respectively
- // Part 2 https://pastebin.com/hJfvbg0f
- // Part 3 https://pastebin.com/h0hTsFR5
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Generated with glade 3.36.0 -->
- <interface>
- <requires lib="gtk+" version="3.10"/>
- <object class="GtkAdjustment" id="adjustment1">
- <property name="upper">100</property>
- <property name="step_increment">1</property>
- <property name="page_increment">10</property>
- </object>
- <object class="GtkWindow" id="window1">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="resizable">False</property>
- <property name="deletable">False</property>
- <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="GtkDrawingArea" id="drawingarea1">
- <property name="width_request">400</property>
- <property name="height_request">200</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <signal name="draw" handler="on_drawingarea1_draw" object="scale1" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkScale" id="scale1">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="adjustment">adjustment1</property>
- <property name="fill_level">100</property>
- <property name="round_digits">1</property>
- <signal name="value-changed" handler="on_scale1_value_changed" object="drawingarea1" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkButton" id="quitButton">
- <property name="label" translatable="yes">QUIT</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="quitButtonClicked" swapped="no"/>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">2</property>
- </packing>
- </child>
- </object>
- </child>
- <child type="titlebar">
- <placeholder/>
- </child>
- </object>
- </interface>
Add Comment
Please, Sign In to add comment