* Exent handler using Gtk.Widget
@ 2009-06-21 3:15 Rick
0 siblings, 0 replies; only message in thread
From: Rick @ 2009-06-21 3:15 UTC (permalink / raw)
Hi folks
I am building a composite wiget as a learning exercise. I declared
callback handlers for each of the active widget types I am using :
package Window_Callback_Pkg is new
Gtk.Handlers.Callback (Gtk.Window.Gtk_Window_Record);
package Image_Menu_Item_Callback_Pkg is new
Gtk.Handlers.Callback
(Gtk.Image_Menu_Item.Gtk_Image_Menu_Item_Record);
package Button_Callback_Pkg is new
Gtk.Handlers.Callback (Gtk.Button.Gtk_Button_Record);
Following communication with folks on the list it has occurred to me
that I need not work so hard. I think I could simply write one
instantiation :
package Widget_Callback_Pkg is new
Gtk.Handlers.Callback (Gtk.Widget.Gtk_Widget_Record);
which would cover all eventualities. Am I right about this?
Has at least one penny dropped?
--------------------------------------------
Rick Duley
North Perth,
Western Australia
.-_|\
/ \
perth *_.-._/
v
--------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-21 3:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-21 3:15 Exent handler using Gtk.Widget Rick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox