[gtkada] Using Item Factory with callback data

Preben Randhol randhol at pvv.org
Fri Dec 6 12:34:00 CET 2002


William C Brennan <compraxis at comcast.net> wrote on 05/12/2002 (08:38) :
> Folks,
> 
> Does anyone have a working example of creating a menu using an 
> item_factory that includes callback_data?  I'm using GtkAda 1.2 under 
> Linux.
> 
> I can create a menu just fine, and connect it to my callback routines.
> 
> I can even get my callback routine invoked when a menu item is 
> selected, but I can't seem to get the callback_data parameter 
> successfully passed to it.  Is there something obvious I'm missing?

Can you show us the code so we can see what you are doing? It is easier
to help then.

-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»




More information about the gtkada mailing list