]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/dialogs/GTabularCreate.glade
gtkmm-2 upgrade. Still some small bugs to iron out, but mostly functional
[lyx.git] / src / frontends / gnome / dialogs / GTabularCreate.glade
index 387c00f87b5676165f40e2de34b5282272c0a032..96420f283cf39206a21e75410940e55fee137161 100644 (file)
-<?xml version="1.0"?>
-<GTK-Interface>
+<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd" >
 
-<project>
-  <name>DiaInsertTabular</name>
-  <program_name>diainserttabular</program_name>
-  <directory></directory>
-  <source_directory>src</source_directory>
-  <pixmaps_directory>pixmaps</pixmaps_directory>
-  <language>C</language>
-  <gnome_support>True</gnome_support>
-  <gettext_support>True</gettext_support>
-</project>
+<glade-interface>
+  <widget class="GtkDialog" id="GTabularCreate">
+    <property name="title" translatable="yes">Insert Tabular</property>
+    <property name="type">GTK_WINDOW_DIALOG</property>
+    <property name="modal">no</property>
+    <property name="allow_shrink">no</property>
+    <property name="allow_grow">no</property>
+    <property name="visible">no</property>
+    <property name="window-position">GTK_WIN_POS_NONE</property>
 
-<widget>
-  <class>GnomeDialog</class>
-  <name>GTabularCreate</name>
-  <title>Insert Tabular</title>
-  <type>GTK_WINDOW_DIALOG</type>
-  <position>GTK_WIN_POS_NONE</position>
-  <modal>False</modal>
-  <allow_shrink>False</allow_shrink>
-  <allow_grow>False</allow_grow>
-  <auto_shrink>False</auto_shrink>
-  <auto_close>False</auto_close>
-  <hide_on_close>True</hide_on_close>
+    <child internal-child="vbox">
+      <widget class="GtkVBox" id="dialog-vbox1">
+        <property name="homogeneous">no</property>
+        <property name="spacing">8</property>
+        <property name="visible">yes</property>
 
-  <widget>
-    <class>GtkVBox</class>
-    <child_name>GnomeDialog:vbox</child_name>
-    <name>dialog-vbox1</name>
-    <homogeneous>False</homogeneous>
-    <spacing>8</spacing>
-    <child>
-      <padding>4</padding>
-      <expand>True</expand>
-      <fill>True</fill>
-    </child>
+        <child internal-child="action_area">
+          <widget class="GtkHButtonBox" id="dialog-action_area1">
+            <property name="layout_style">GTK_BUTTONBOX_END</property>
+            <property name="spacing">8</property>
+            <property name="visible">yes</property>
 
-    <widget>
-      <class>GtkHButtonBox</class>
-      <child_name>GnomeDialog:action_area</child_name>
-      <name>dialog-action_area1</name>
-      <layout_style>GTK_BUTTONBOX_END</layout_style>
-      <spacing>8</spacing>
-      <child_min_width>85</child_min_width>
-      <child_min_height>27</child_min_height>
-      <child_ipad_x>7</child_ipad_x>
-      <child_ipad_y>0</child_ipad_y>
-      <child>
-       <padding>0</padding>
-       <expand>False</expand>
-       <fill>True</fill>
-       <pack>GTK_PACK_END</pack>
-      </child>
+            <child>
+              <widget class="GtkButton" id="r_ok_btn">
+                <property name="can_default">yes</property>
+                <property name="can_focus">yes</property>
+                <property name="visible">yes</property>
+                <property name="label">gtk-ok</property>
+                <property name="use_stock">yes</property>
+                <property name="use_underline">yes</property>
+              </widget>
+            </child>
 
-      <widget>
-       <class>GtkButton</class>
-       <name>r_ok_btn</name>
-       <can_default>True</can_default>
-       <can_focus>True</can_focus>
-       <stock_button>GNOME_STOCK_BUTTON_OK</stock_button>
-      </widget>
+            <child>
+              <widget class="GtkButton" id="r_apply_btn">
+                <property name="can_default">yes</property>
+                <property name="can_focus">yes</property>
+                <property name="visible">yes</property>
+                <property name="label">gtk-apply</property>
+                <property name="use_stock">yes</property>
+                <property name="use_underline">yes</property>
+              </widget>
+            </child>
 
-      <widget>
-       <class>GtkButton</class>
-       <name>r_apply_btn</name>
-       <can_default>True</can_default>
-       <can_focus>True</can_focus>
-       <stock_button>GNOME_STOCK_BUTTON_APPLY</stock_button>
-      </widget>
-
-      <widget>
-       <class>GtkButton</class>
-       <name>r_cancel_btn</name>
-       <can_default>True</can_default>
-       <can_focus>True</can_focus>
-       <stock_button>GNOME_STOCK_BUTTON_CANCEL</stock_button>
-      </widget>
-    </widget>
+            <child>
+              <widget class="GtkButton" id="r_cancel_btn">
+                <property name="can_default">yes</property>
+                <property name="can_focus">yes</property>
+                <property name="visible">yes</property>
+                <property name="label">gtk-cancel</property>
+                <property name="use_stock">yes</property>
+                <property name="use_underline">yes</property>
+              </widget>
+            </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>
-      <class>GtkTable</class>
-      <name>table1</name>
-      <rows>2</rows>
-      <columns>2</columns>
-      <homogeneous>True</homogeneous>
-      <row_spacing>0</row_spacing>
-      <column_spacing>0</column_spacing>
-      <child>
-       <padding>0</padding>
-       <expand>True</expand>
-       <fill>True</fill>
-      </child>
+        <child>
+          <widget class="GtkTable" id="table1">
+            <property name="homogeneous">yes</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>
 
-      <widget>
-       <class>GtkLabel</class>
-       <name>label2</name>
-       <label>Rows</label>
-       <justify>GTK_JUSTIFY_RIGHT</justify>
-       <wrap>False</wrap>
-       <xalign>0</xalign>
-       <yalign>0.5</yalign>
-       <xpad>0</xpad>
-       <ypad>0</ypad>
-       <child>
-         <left_attach>0</left_attach>
-         <right_attach>1</right_attach>
-         <top_attach>0</top_attach>
-         <bottom_attach>1</bottom_attach>
-         <xpad>0</xpad>
-         <ypad>0</ypad>
-         <xexpand>False</xexpand>
-         <yexpand>False</yexpand>
-         <xshrink>False</xshrink>
-         <yshrink>False</yshrink>
-         <xfill>True</xfill>
-         <yfill>False</yfill>
-       </child>
-      </widget>
+            <child>
+              <widget class="GtkLabel" id="label2">
+                <property name="label" translatable="yes">Rows</property>
+                <property name="justify">GTK_JUSTIFY_RIGHT</property>
+                <property name="wrap">no</property>
+                <property name="xalign">0</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"></property>
+              </packing>
+            </child>
 
-      <widget>
-       <class>GtkLabel</class>
-       <name>label3</name>
-       <label>Columns</label>
-       <justify>GTK_JUSTIFY_RIGHT</justify>
-       <wrap>False</wrap>
-       <xalign>0</xalign>
-       <yalign>0.5</yalign>
-       <xpad>0</xpad>
-       <ypad>0</ypad>
-       <child>
-         <left_attach>0</left_attach>
-         <right_attach>1</right_attach>
-         <top_attach>1</top_attach>
-         <bottom_attach>2</bottom_attach>
-         <xpad>0</xpad>
-         <ypad>0</ypad>
-         <xexpand>False</xexpand>
-         <yexpand>False</yexpand>
-         <xshrink>False</xshrink>
-         <yshrink>False</yshrink>
-         <xfill>True</xfill>
-         <yfill>False</yfill>
-       </child>
-      </widget>
+            <child>
+              <widget class="GtkLabel" id="label3">
+                <property name="label" translatable="yes">Columns</property>
+                <property name="justify">GTK_JUSTIFY_RIGHT</property>
+                <property name="wrap">no</property>
+                <property name="xalign">0</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">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"></property>
+              </packing>
+            </child>
 
-      <widget>
-       <class>GtkSpinButton</class>
-       <name>r_rows</name>
-       <can_focus>True</can_focus>
-       <climb_rate>1</climb_rate>
-       <digits>0</digits>
-       <numeric>False</numeric>
-       <update_policy>GTK_UPDATE_ALWAYS</update_policy>
-       <snap>False</snap>
-       <wrap>False</wrap>
-       <value>1</value>
-       <lower>1</lower>
-       <upper>50</upper>
-       <step>1</step>
-       <page>10</page>
-       <page_size>10</page_size>
-       <child>
-         <left_attach>1</left_attach>
-         <right_attach>2</right_attach>
-         <top_attach>0</top_attach>
-         <bottom_attach>1</bottom_attach>
-         <xpad>0</xpad>
-         <ypad>0</ypad>
-         <xexpand>True</xexpand>
-         <yexpand>False</yexpand>
-         <xshrink>False</xshrink>
-         <yshrink>False</yshrink>
-         <xfill>True</xfill>
-         <yfill>False</yfill>
-       </child>
-      </widget>
+            <child>
+              <widget class="GtkSpinButton" id="r_rows">
+                <property name="can_focus">yes</property>
+                <property name="climb_rate">1</property>
+                <property name="digits">0</property>
+                <property name="numeric">no</property>
+                <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+                <property name="wrap">no</property>
+                <property name="snap_to_ticks">no</property>
+                <property name="visible">yes</property>
+                <property name="adjustment">1 1 50 1 10 10</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"></property>
+              </packing>
+            </child>
 
-      <widget>
-       <class>GtkSpinButton</class>
-       <name>r_cols</name>
-       <can_focus>True</can_focus>
-       <climb_rate>1</climb_rate>
-       <digits>0</digits>
-       <numeric>False</numeric>
-       <update_policy>GTK_UPDATE_ALWAYS</update_policy>
-       <snap>False</snap>
-       <wrap>False</wrap>
-       <value>1</value>
-       <lower>1</lower>
-       <upper>50</upper>
-       <step>1</step>
-       <page>10</page>
-       <page_size>10</page_size>
-       <child>
-         <left_attach>1</left_attach>
-         <right_attach>2</right_attach>
-         <top_attach>1</top_attach>
-         <bottom_attach>2</bottom_attach>
-         <xpad>0</xpad>
-         <ypad>0</ypad>
-         <xexpand>True</xexpand>
-         <yexpand>False</yexpand>
-         <xshrink>False</xshrink>
-         <yshrink>False</yshrink>
-         <xfill>True</xfill>
-         <yfill>False</yfill>
-       </child>
+            <child>
+              <widget class="GtkSpinButton" id="r_cols">
+                <property name="can_focus">yes</property>
+                <property name="climb_rate">1</property>
+                <property name="digits">0</property>
+                <property name="numeric">no</property>
+                <property name="update_policy">GTK_UPDATE_ALWAYS</property>
+                <property name="wrap">no</property>
+                <property name="snap_to_ticks">no</property>
+                <property name="visible">yes</property>
+                <property name="adjustment">1 1 50 1 10 10</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"></property>
+              </packing>
+            </child>
+          </widget>
+          <packing>
+            <property name="padding">0</property>
+            <property name="expand">yes</property>
+            <property name="fill">yes</property>
+          </packing>
+        </child>
       </widget>
-    </widget>
+      <packing>
+        <property name="padding">4</property>
+        <property name="expand">yes</property>
+        <property name="fill">yes</property>
+      </packing>
+    </child>
   </widget>
-</widget>
-
-</GTK-Interface>
+</glade-interface>