<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" > <glade-interface> <widget class="GtkWindow" id="MainWindow"> <property name="title" translatable="yes">LibGlade Test</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="allow_shrink">yes</property> <property name="allow_grow">yes</property> <property name="window-position">GTK_WIN_POS_NONE</property> <property name="visible">yes</property> <signal name="destroy" handler="gtk_main_quit" /> <child> <widget class="GtkVBox" id="vbox1"> <property name="homogeneous">no</property> <property name="spacing">0</property> <property name="visible">yes</property> <child> <widget class="GtkHandleBox" id="handlebox1"> <property name="visible">yes</property> <child> <widget class="GtkMenuBar" id="MenuBar"> <property name="visible">yes</property> <child> <widget class="GtkMenuItem" id="FileMenu"> <property name="label" translatable="yes">File</property> <property name="visible">yes</property> <child> <widget class="GtkMenu" id="menu7"> <property name="visible">yes</property> <child> <widget class="GtkMenuItem" id="Quit"> <property name="label" translatable="yes">Quit</property> <property name="visible">yes</property> <signal name="activate" handler="gtk_main_quit" /> <accelerator key="Q" modifiers="GDK_CONTROL_MASK" signal="activate" /> </widget> </child> </widget> </child> </widget> </child> <child> <widget class="GtkMenuItem" id="HelpMenu"> <property name="label" translatable="yes">Help</property> <property name="visible">yes</property> <child> <widget class="GtkMenu" id="menu8"> <property name="visible">yes</property> <child> <widget class="GtkMenuItem" id="About"> <property name="label" translatable="yes">About...</property> <property name="visible">yes</property> <signal name="activate" handler="gtk_widget_show" object="AboutDialog" /> <accelerator key="A" modifiers="GDK_CONTROL_MASK" signal="activate" /> </widget> </child> </widget> </child> </widget> </child> </widget> </child> </widget> <packing> <property name="padding">0</property> <property name="expand">no</property> <property name="fill">yes</property> </packing> </child> <child> <widget class="GtkNotebook" id="notebook1"> <property name="can_focus">yes</property> <property name="show_tabs">yes</property> <property name="show_border">yes</property> <property name="tab_pos">GTK_POS_TOP</property> <property name="scrollable">no</property> <property name="tab_border">3</property> <property name="enable-popup">no</property> <property name="visible">yes</property> <child> <widget class="GtkGammaCurve" id="gammacurve1"> <property name="visible">yes</property> </widget> </child> <child> <widget class="GtkTable" id="table1"> <property name="homogeneous">no</property> <property name="row_spacing">0</property> <property name="column_spacing">0</property> <property name="n-rows">2</property> <property name="n-columns">2</property> <property name="visible">yes</property> <child> <widget class="GtkArrow" id="arrow2"> <property name="arrow_type">GTK_ARROW_UP</property> <property name="shadow_type">GTK_SHADOW_OUT</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> <property name="visible">yes</property> </widget> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="x_padding">0</property> <property name="y_padding">0</property> <property name="x_options">expand|fill</property> <property name="y_options">expand|fill</property> </packing> </child> <child> <widget class="GtkLabel" id="label6"> <property name="label" translatable="yes">~</property> <property name="justify">GTK_JUSTIFY_CENTER</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> <property name="visible">yes</property> </widget> <packing> <property name="left_attach">0</property> <property name="right_attach">1</property> <property name="top_attach">0</property> <property name="bottom_attach">1</property> <property name="x_padding">0</property> <property name="y_padding">0</property> <property name="x_options">fill</property> <property name="y_options">fill</property> </packing> </child> <child> <widget class="GtkVRuler" id="vruler3"> <property name="lower">0</property> <property name="upper">10</property> <property name="position">0</property> <property name="max_size">10</property> <property name="visible">yes</property> </widget> <packing> <property name="left_attach">0</property> <property name="right_attach">1</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="x_padding">0</property> <property name="y_padding">0</property> <property name="x_options">fill</property> <property name="y_options">expand|fill</property> </packing> </child> <child> <widget class="GtkHRuler" id="hruler3"> <property name="lower">0</property> <property name="upper">10</property> <property name="position">0</property> <property name="max_size">10</property> <property name="visible">yes</property> </widget> <packing> <property name="left_attach">1</property> <property name="right_attach">2</property> <property name="top_attach">0</property> <property name="bottom_attach">1</property> <property name="x_padding">0</property> <property name="y_padding">0</property> <property name="x_options">expand|fill</property> <property name="y_options">fill</property> </packing> </child> </widget> </child> <child> <widget class="GtkFrame" id="frame2"> <property name="label_xalign">0</property> <property name="shadow">GTK_SHADOW_ETCHED_IN</property> <property name="visible">yes</property> <child> <widget class="GtkVPaned" id="vpaned1"> <property name="visible">yes</property> <child> <widget class="GtkHScale" id="hscale1"> <property name="can_focus">yes</property> <property name="draw_value">yes</property> <property name="value_pos">GTK_POS_TOP</property> <property name="digits">1</property> <property name="visible">yes</property> <property name="adjustment">0 0 100 1 10 10</property> </widget> </child> <child> <widget class="GtkVBox" id="vbox2"> <property name="homogeneous">no</property> <property name="spacing">0</property> <property name="visible">yes</property> <child> <widget class="GtkProgressBar" id="progressbar1"> <property name="visible">yes</property> </widget> <packing> <property name="padding">0</property> <property name="expand">yes</property> <property name="fill">yes</property> </packing> </child> <child> <widget class="GtkHScrollbar" id="hscrollbar1"> <property name="visible">yes</property> <property name="adjustment">20 0 40 1 10 10</property> </widget> <packing> <property name="padding">0</property> <property name="expand">yes</property> <property name="fill">yes</property> </packing> </child> </widget> </child> </widget> </child> </widget> </child> <child> <widget class="GtkLabel" id="label2"> <property name="label" translatable="yes">Gamma</property> <property name="justify">GTK_JUSTIFY_CENTER</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> <property name="visible">yes</property> </widget> <packing> <property name="type">tab</property> </packing> </child> <child> <widget class="GtkLabel" id="label3"> <property name="label" translatable="yes">Rulers</property> <property name="justify">GTK_JUSTIFY_CENTER</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> <property name="visible">yes</property> </widget> <packing> <property name="type">tab</property> </packing> </child> <child> <widget class="GtkLabel" id="label4"> <property name="label" translatable="yes">Ranges</property> <property name="justify">GTK_JUSTIFY_CENTER</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> <property name="visible">yes</property> </widget> <packing> <property name="type">tab</property> </packing> </child> </widget> <packing> <property name="padding">0</property> <property name="expand">yes</property> <property name="fill">yes</property> </packing> </child> <child> <widget class="GtkStatusbar" id="statusbar1"> <property name="border_width">5</property> <property name="visible">yes</property> </widget> <packing> <property name="padding">0</property> <property name="expand">no</property> <property name="fill">yes</property> </packing> </child> </widget> </child> </widget> <widget class="GtkDialog" id="AboutDialog"> <property name="visible">no</property> <property name="title" translatable="yes">About</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="allow_shrink">yes</property> <property name="allow_grow">yes</property> <property name="window-position">GTK_WIN_POS_NONE</property> <signal name="delete_event" handler="gtk_true" /> <signal name="delete_event" handler="gtk_widget_hide" /> <child internal-child="vbox"> <widget class="GtkVBox" id="dialog-vbox1"> <property name="homogeneous">no</property> <property name="spacing">0</property> <property name="visible">yes</property> <child> <widget class="GtkFrame" id="frame1"> <property name="border_width">5</property> <property name="label_xalign">0</property> <property name="shadow">GTK_SHADOW_ETCHED_IN</property> <property name="visible">yes</property> <child> <widget class="GtkLabel" id="label1"> <property name="label" translatable="yes">LibGlade Example. This interface (and the signals) are all specified in XML.</property> <property name="justify">GTK_JUSTIFY_CENTER</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> <property name="visible">yes</property> </widget> </child> </widget> <packing> <property name="padding">0</property> <property name="expand">yes</property> <property name="fill">yes</property> </packing> </child> <child internal-child="action_area"> <widget class="GtkHButtonBox" id="dialog-action_area1"> <property name="border_width">10</property> <property name="homogeneous">yes</property> <property name="spacing">5</property> <property name="visible">yes</property> <child> <widget class="GtkButton" id="button1"> <property name="has_default">yes</property> <property name="can_focus">yes</property> <property name="label" translatable="yes">OK</property> <property name="height-request">20</property> <property name="visible">yes</property> <signal name="clicked" handler="gtk_widget_hide" object="AboutDialog" /> </widget> <packing> <property name="padding">0</property> <property name="expand">yes</property> <property name="fill">yes</property> </packing> </child> </widget> <packing> <property name="padding">0</property> <property name="expand">no</property> <property name="fill">yes</property> <property name="pack_type">GTK_PACK_END</property> </packing> </child> </widget> </child> </widget> </glade-interface>