gtk2.glade
上传用户:riyaled888
上传日期:2009-03-27
资源大小:7338k
文件大小:9k
源码类别:

多媒体

开发平台:

MultiPlatform

  1. <?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
  2. <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
  3. <glade-interface>
  4. <widget class="GtkWindow" id="window1">
  5.   <property name="visible">True</property>
  6.   <property name="title" translatable="yes">window1</property>
  7.   <property name="type">GTK_WINDOW_TOPLEVEL</property>
  8.   <property name="window_position">GTK_WIN_POS_NONE</property>
  9.   <property name="modal">False</property>
  10.   <property name="resizable">True</property>
  11.   <property name="destroy_with_parent">False</property>
  12.   <child>
  13.     <widget class="GtkVBox" id="vbox1">
  14.       <property name="visible">True</property>
  15.       <property name="homogeneous">False</property>
  16.       <property name="spacing">0</property>
  17.       <child>
  18. <widget class="GtkMenuBar" id="menubar1">
  19.   <property name="visible">True</property>
  20.   <child>
  21.     <widget class="GtkMenuItem" id="menuitem1">
  22.       <property name="visible">True</property>
  23.       <property name="label" translatable="yes">_File</property>
  24.       <property name="use_underline">True</property>
  25.       <child>
  26. <widget class="GtkMenu" id="menu1">
  27.   <child>
  28.     <widget class="GtkImageMenuItem" id="new1">
  29.       <property name="visible">True</property>
  30.       <property name="label">gtk-new</property>
  31.       <property name="use_stock">True</property>
  32.       <signal name="activate" handler="on_new1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  33.     </widget>
  34.   </child>
  35.   <child>
  36.     <widget class="GtkImageMenuItem" id="open1">
  37.       <property name="visible">True</property>
  38.       <property name="label">gtk-open</property>
  39.       <property name="use_stock">True</property>
  40.       <signal name="activate" handler="on_open1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  41.     </widget>
  42.   </child>
  43.   <child>
  44.     <widget class="GtkImageMenuItem" id="save1">
  45.       <property name="visible">True</property>
  46.       <property name="label">gtk-save</property>
  47.       <property name="use_stock">True</property>
  48.       <signal name="activate" handler="on_save1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  49.     </widget>
  50.   </child>
  51.   <child>
  52.     <widget class="GtkImageMenuItem" id="save_as1">
  53.       <property name="visible">True</property>
  54.       <property name="label">gtk-save-as</property>
  55.       <property name="use_stock">True</property>
  56.       <signal name="activate" handler="on_save_as1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  57.     </widget>
  58.   </child>
  59.   <child>
  60.     <widget class="GtkSeparatorMenuItem" id="separatormenuitem1">
  61.       <property name="visible">True</property>
  62.     </widget>
  63.   </child>
  64.   <child>
  65.     <widget class="GtkImageMenuItem" id="quit1">
  66.       <property name="visible">True</property>
  67.       <property name="label">gtk-quit</property>
  68.       <property name="use_stock">True</property>
  69.       <signal name="activate" handler="on_quit1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  70.     </widget>
  71.   </child>
  72. </widget>
  73.       </child>
  74.     </widget>
  75.   </child>
  76.   <child>
  77.     <widget class="GtkMenuItem" id="menuitem2">
  78.       <property name="visible">True</property>
  79.       <property name="label" translatable="yes">_Edit</property>
  80.       <property name="use_underline">True</property>
  81.       <child>
  82. <widget class="GtkMenu" id="menu2">
  83.   <child>
  84.     <widget class="GtkImageMenuItem" id="cut1">
  85.       <property name="visible">True</property>
  86.       <property name="label">gtk-cut</property>
  87.       <property name="use_stock">True</property>
  88.       <signal name="activate" handler="on_cut1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  89.     </widget>
  90.   </child>
  91.   <child>
  92.     <widget class="GtkImageMenuItem" id="copy1">
  93.       <property name="visible">True</property>
  94.       <property name="label">gtk-copy</property>
  95.       <property name="use_stock">True</property>
  96.       <signal name="activate" handler="on_copy1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  97.     </widget>
  98.   </child>
  99.   <child>
  100.     <widget class="GtkImageMenuItem" id="paste1">
  101.       <property name="visible">True</property>
  102.       <property name="label">gtk-paste</property>
  103.       <property name="use_stock">True</property>
  104.       <signal name="activate" handler="on_paste1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  105.     </widget>
  106.   </child>
  107.   <child>
  108.     <widget class="GtkImageMenuItem" id="delete1">
  109.       <property name="visible">True</property>
  110.       <property name="label">gtk-delete</property>
  111.       <property name="use_stock">True</property>
  112.       <signal name="activate" handler="on_delete1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  113.     </widget>
  114.   </child>
  115. </widget>
  116.       </child>
  117.     </widget>
  118.   </child>
  119.   <child>
  120.     <widget class="GtkMenuItem" id="menuitem3">
  121.       <property name="visible">True</property>
  122.       <property name="label" translatable="yes">_View</property>
  123.       <property name="use_underline">True</property>
  124.       <child>
  125. <widget class="GtkMenu" id="menu3">
  126. </widget>
  127.       </child>
  128.     </widget>
  129.   </child>
  130.   <child>
  131.     <widget class="GtkMenuItem" id="menuitem4">
  132.       <property name="visible">True</property>
  133.       <property name="label" translatable="yes">_Help</property>
  134.       <property name="use_underline">True</property>
  135.       <child>
  136. <widget class="GtkMenu" id="menu4">
  137.   <child>
  138.     <widget class="GtkMenuItem" id="about1">
  139.       <property name="visible">True</property>
  140.       <property name="label" translatable="yes">_About</property>
  141.       <property name="use_underline">True</property>
  142.       <signal name="activate" handler="on_about1_activate" last_modification_time="Thu, 13 Mar 2003 19:52:16 GMT"/>
  143.     </widget>
  144.   </child>
  145. </widget>
  146.       </child>
  147.     </widget>
  148.   </child>
  149. </widget>
  150. <packing>
  151.   <property name="padding">0</property>
  152.   <property name="expand">False</property>
  153.   <property name="fill">False</property>
  154. </packing>
  155.       </child>
  156.       <child>
  157. <widget class="GtkHandleBox" id="handlebox1">
  158.   <property name="visible">True</property>
  159.   <property name="shadow_type">GTK_SHADOW_OUT</property>
  160.   <property name="handle_position">GTK_POS_LEFT</property>
  161.   <property name="snap_edge">GTK_POS_TOP</property>
  162.   <child>
  163.     <widget class="GtkToolbar" id="toolbar1">
  164.       <property name="visible">True</property>
  165.       <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
  166.       <property name="toolbar_style">GTK_TOOLBAR_BOTH</property>
  167.       <property name="tooltips">True</property>
  168.       <child>
  169. <widget class="button" id="button1">
  170.   <property name="visible">True</property>
  171.   <property name="label">button1</property>
  172.   <property name="use_underline">True</property>
  173.   <property name="stock_pixmap">gtk-open</property>
  174. </widget>
  175.       </child>
  176.       <child>
  177. <widget class="button" id="button2">
  178.   <property name="visible">True</property>
  179.   <property name="label">button2</property>
  180.   <property name="use_underline">True</property>
  181.   <property name="stock_pixmap">gtk-cdrom</property>
  182. </widget>
  183.       </child>
  184.       <child>
  185. <widget class="button" id="button3">
  186.   <property name="visible">True</property>
  187.   <property name="label">button3</property>
  188.   <property name="use_underline">True</property>
  189.   <property name="stock_pixmap">gtk-refresh</property>
  190. </widget>
  191.       </child>
  192.     </widget>
  193.   </child>
  194. </widget>
  195. <packing>
  196.   <property name="padding">0</property>
  197.   <property name="expand">False</property>
  198.   <property name="fill">True</property>
  199. </packing>
  200.       </child>
  201.       <child>
  202. <widget class="GtkHScale" id="hscale1">
  203.   <property name="visible">True</property>
  204.   <property name="can_focus">True</property>
  205.   <property name="draw_value">True</property>
  206.   <property name="value_pos">GTK_POS_TOP</property>
  207.   <property name="digits">1</property>
  208.   <property name="update_policy">GTK_UPDATE_CONTINUOUS</property>
  209.   <property name="inverted">False</property>
  210.   <property name="adjustment">0 0 0 0 0 0</property>
  211. </widget>
  212. <packing>
  213.   <property name="padding">0</property>
  214.   <property name="expand">True</property>
  215.   <property name="fill">True</property>
  216. </packing>
  217.       </child>
  218.       <child>
  219. <widget class="GtkStatusbar" id="statusbar1">
  220.   <property name="visible">True</property>
  221.   <property name="has_resize_grip">True</property>
  222. </widget>
  223. <packing>
  224.   <property name="padding">0</property>
  225.   <property name="expand">False</property>
  226.   <property name="fill">False</property>
  227. </packing>
  228.       </child>
  229.     </widget>
  230.   </child>
  231. </widget>
  232. </glade-interface>