[gtkada] Some bugs in 2.2.0 (win32)?

Alejandro. R. Mosteo Chagoyen alejandro at mosteo.com
Tue Jul 8 18:41:41 CEST 2003


Dicho por Nicolas Setton:

>  These are just guesses from your report, could you send along the
> generated glade file for more information ?

See it at message bottom.

Curiously, I see in glade-2 the button class reported as "GtkButton"
but in the generated .glade below you'll see it's stored as "button".

I've just checked that an horizontal button box uses GtkButtons.

Glade file: (I copy the offending parts. If you want more I can post
it).

<?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="mdi_frame">
  <property name="width_request">800</property>
  <property name="height_request">600</property>
  <property name="visible">True</property>
  <property name="title" translatable="yes">Adagio Monitor</property>
  <property name="type">GTK_WINDOW_TOPLEVEL</property>
  <property name="window_position">GTK_WIN_POS_NONE</property>
  <property name="modal">False</property>
  <property name="default_width">800</property>
  <property name="default_height">600</property>
  <property name="resizable">True</property>
  <property name="destroy_with_parent">True</property>
  <signal name="destroy" handler="on_mdi_frame_destroy" last_modification_time="Fri, 04 Jul 2003 10:52:12 GMT"/>

  <child>
    <widget class="GtkVBox" id="vbox1">
      <property name="visible">True</property>
      <property name="homogeneous">False</property>
      <property name="spacing">0</property>

      <child>
        <widget class="GtkToolbar" id="toolbar1">
          <property name="visible">True</property>
          <property name="orientation">GTK_ORIENTATION_HORIZONTAL</property>
          <property name="toolbar_style">GTK_TOOLBAR_BOTH_HORIZ</property>
          <property name="tooltips">True</property>

          <child>
            <widget class="button" id="Clear_Events">
              <property name="visible">True</property>
              <property name="tooltip" translatable="yes">Clear event history</property>
              <property name="label" translatable="yes">Clear events</property>
              <property name="use_underline">True</property>
              <property name="stock_pixmap">gtk-clear</property>
            </widget>
          </child>

          <child>
            <widget class="button" id="button2">
              <property name="visible">True</property>
              <property name="label">gtk-quit</property>
              <property name="use_stock">True</property>
            </widget>
          </child>
        </widget>
        <packing>
          <property name="padding">0</property>
          <property name="expand">False</property>
          <property name="fill">False</property>
        </packing>
      </child>




More information about the gtkada mailing list