[Glade-users] UI question



This is a multi-part message in MIME format.
--------------229FC646F15DB1BB1693D649
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

mmm now that was stupid... forgot the attachments.
--------------229FC646F15DB1BB1693D649
Content-Type: text/html; charset=us-ascii;
 name="demo.glade"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="demo.glade"

<?xml version="1.0"?>
<GTK-Interface>

<project>
  <name>Demo</name>
  <program_name>demo</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>

<widget>
  <class>GtkWindow</class>
  <name>window1</name>
  <title>window1</title>
  <type>GTK_WINDOW_TOPLEVEL</type>
  <position>GTK_WIN_POS_NONE</position>
  <modal>False</modal>
  <allow_shrink>False</allow_shrink>
  <allow_grow>True</allow_grow>
  <auto_shrink>False</auto_shrink>

  <widget>
    <class>GtkVBox</class>
    <name>vbox1</name>
    <homogeneous>False</homogeneous>
    <spacing>0</spacing>

    <widget>
      <class>GtkHBox</class>
      <name>hbox1</name>
      <homogeneous>False</homogeneous>
      <spacing>0</spacing>
      <child>
        <padding>0</padding>
        <expand>True</expand>
        <fill>True</fill>
      </child>

      <widget>
        <class>GtkScrolledWindow</class>
        <name>scrolledwindow1</name>
        <hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
        <vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
        <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
        <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
        <child>
          <padding>0</padding>
          <expand>True</expand>
          <fill>True</fill>
        </child>

        <widget>
          <class>GtkCTree</class>
          <name>ctree2</name>
          <can_focus>True</can_focus>
          <columns>2</columns>
          <column_widths>80,80</column_widths>
          <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
          <show_titles>True</show_titles>
          <shadow_type>GTK_SHADOW_IN</shadow_type>

          <widget>
            <class>GtkLabel</class>
            <child_name>CTree:title</child_name>
            <name>label1</name>
            <label>label1</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>

          <widget>
            <class>GtkLabel</class>
            <child_name>CTree:title</child_name>
            <name>label2</name>
            <label>label2</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>
      </widget>

      <widget>
        <class>GtkVBox</class>
        <name>vbox2</name>
        <homogeneous>False</homogeneous>
        <spacing>0</spacing>
        <child>
          <padding>0</padding>
          <expand>False</expand>
          <fill>False</fill>
        </child>

        <widget>
          <class>GtkButton</class>
          <name>button4</name>
          <can_focus>True</can_focus>
          <relief>GTK_RELIEF_NORMAL</relief>
          <child>
            <padding>0</padding>
            <expand>True</expand>
            <fill>True</fill>
          </child>

          <widget>
            <class>GtkArrow</class>
            <name>arrow1</name>
            <arrow_type>GTK_ARROW_RIGHT</arrow_type>
            <shadow_type>GTK_SHADOW_OUT</shadow_type>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>

        <widget>
          <class>GtkButton</class>
          <name>button5</name>
          <can_focus>True</can_focus>
          <relief>GTK_RELIEF_NORMAL</relief>
          <child>
            <padding>0</padding>
            <expand>True</expand>
            <fill>True</fill>
          </child>

          <widget>
            <class>GtkArrow</class>
            <name>arrow2</name>
            <arrow_type>GTK_ARROW_LEFT</arrow_type>
            <shadow_type>GTK_SHADOW_OUT</shadow_type>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>
      </widget>

      <widget>
        <class>GtkScrolledWindow</class>
        <name>scrolledwindow2</name>
        <hscrollbar_policy>GTK_POLICY_AUTOMATIC</hscrollbar_policy>
        <vscrollbar_policy>GTK_POLICY_AUTOMATIC</vscrollbar_policy>
        <hupdate_policy>GTK_UPDATE_CONTINUOUS</hupdate_policy>
        <vupdate_policy>GTK_UPDATE_CONTINUOUS</vupdate_policy>
        <child>
          <padding>0</padding>
          <expand>True</expand>
          <fill>True</fill>
        </child>

        <widget>
          <class>GtkCTree</class>
          <name>ctree3</name>
          <can_focus>True</can_focus>
          <columns>2</columns>
          <column_widths>80,80</column_widths>
          <selection_mode>GTK_SELECTION_SINGLE</selection_mode>
          <show_titles>True</show_titles>
          <shadow_type>GTK_SHADOW_IN</shadow_type>

          <widget>
            <class>GtkLabel</class>
            <child_name>CTree:title</child_name>
            <name>label3</name>
            <label>label3</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>

          <widget>
            <class>GtkLabel</class>
            <child_name>CTree:title</child_name>
            <name>label4</name>
            <label>label4</label>
            <justify>GTK_JUSTIFY_CENTER</justify>
            <wrap>False</wrap>
            <xalign>0.5</xalign>
            <yalign>0.5</yalign>
            <xpad>0</xpad>
            <ypad>0</ypad>
          </widget>
        </widget>
      </widget>
    </widget>

    <widget>
      <class>GtkHButtonBox</class>
      <name>hbuttonbox1</name>
      <layout_style>GTK_BUTTONBOX_SPREAD</layout_style>
      <spacing>30</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>False</fill>
      </child>

      <widget>
        <class>GtkButton</class>
        <name>button1</name>
        <can_default>True</can_default>
        <can_focus>True</can_focus>
        <stock_button>GNOME_STOCK_BUTTON_APPLY</stock_button>
        <relief>GTK_RELIEF_NORMAL</relief>
      </widget>

      <widget>
        <class>GtkButton</class>
        <name>button2</name>
        <can_default>True</can_default>
        <can_focus>True</can_focus>
        <stock_button>GNOME_STOCK_BUTTON_CLOSE</stock_button>
        <relief>GTK_RELIEF_NORMAL</relief>
      </widget>

      <widget>
        <class>GtkButton</class>
        <name>button3</name>
        <can_default>True</can_default>
        <can_focus>True</can_focus>
        <stock_button>GNOME_STOCK_BUTTON_HELP</stock_button>
        <relief>GTK_RELIEF_NORMAL</relief>
      </widget>
    </widget>
  </widget>
</widget>

</GTK-Interface>

--------------229FC646F15DB1BB1693D649--






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]