[gtkada] Gtk.Widget.Get_Toplevel does not return the result I expected.
Per Sandberg
per.sandberg at bredband.net
Wed Apr 24 00:29:19 CEST 2002
Gtk.Widget.Get_Toplevel(Widget)
Does not return what i expect.
The structure on my test application is as follows
Window
Menubar
Item
Item1_Menu
Item2 Gtk.Widget.Get_Toplevel Returns a GTK.WIDGET.GTK_WIDGET_RECORD
not as expected.
Table
Button1 Gtk.Widget.Get_Toplevel Returns a WINDOW1_PKG.WINDOW1_RECORD as
expected.
Button1
Button1
Button1
Button1
Button1
Statusbar
My expectation was that Gtk.Widget.Get_Toplevel always shall return the top
window, if one exists.
Running
GtkAda 1.3.12
Under
Win2K
/Playing
/Per Sandberg
More information about the gtkada
mailing list