1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
Known problems fixed in GtkAda 1.2.12/1.3.12
- Selecting a non-existent file in Gtkada.File_Selection generates a CE
Problem: When entering a non-existent file in Gtkada.File_Selection
with the option Must_Exist set to True, File_Selection_Dialog
raises a Constraint_Error.
Workaround: Add a handler for Constraint_Error around the call to
File_Selection_Dialog.
- Gtk.Label.Parse_Uline Does not return a Gdk_Key_Type
Problem: Parse_Uline does not return a Gdk_Key_Type as the underlying C
function, so installing accelerators by hand is not possible.
Workaround: Import gtk_label_parse_uline directly.
- Gtk.Ctree.Free_Data does not free memory
Problem: Free_Data is a no-op.
Workaround: Unse Unchecked_Deallocation on the Data directly.
- Gnome.*.Initialize do not properly initialize the widget
Problem: Most Gnome.*.Initialize procedures fail to initialize the
internal user data associated with each widget.
Workaround: Call Initialize_User_Data (Widget) manually after each call to
Gtk_New/Initialize.
Known problems fixed in GtkAda 1.2.11/1.3.11
- Declaring new signals for widgets with a common parent
Problem: When declaring new signals (with Initialize_Class_Record) for
two widget types that extend the same Gtk parent, the first one
is not taken into account and the signal is not accessible.
Workaround: Declare a first child of the Gtk parent, and make the two other
widgets inherit from it. Declare the signals for this first
child.
- Option menus not shown properly when using the GUI builder
Problem: When creating option menus using the GUI builder, gate would
not generate a code that would display the option menu items
by default.
Workaround: Modify the generated code by hand, adding explicitely calls
to Show (The_Menu_Item).
- Callbacks with same name not handled correctly by Gate
Problem: Callbacks with the same name in different top level widgets
in the XML file were not duplicated in each callbacks package.
Workaround: Use unique name among the project, or modify the generated code
by hand.
- Connecting signals with Object_Connect might raise CE later on
Problem: When you connect a signal to object A with object_connect,
passign object B as the slot object, it might happen than B
is destroyed but not A. The next time the signal is emitted, you
will get a Constraint_Error, since B no longer exists
Workaround: Connect the "destroy" event to object B, so as to automatically
disconnect the first signal when B is destroyed. This is now
done automatically by GtkAda
|