[gtkada] FW: example
Wayne Bullaughey
wayne at wmi.com
Mon Dec 9 22:49:05 CET 2002
Attacked is my code. I have a fairly clean workaround. I schedule a timeout
with a callback that creates the windows. The callback for the timeout runs
in the thread with the main message loop so it works. I tried it under Linux
but I haven't gotten something right in the installation. I'm getting an
error back from X11 library.
-----Original Message-----
From: Wayne Bullaughey
Sent: Friday, December 06, 2002 9:29 PM
To: Work
Subject: example
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.»
_______________________________________________
gtkada mailing list
gtkada at lists.act-europe.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.adb
Type: application/octet-stream
Size: 1350 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20021209/2219903f/attachment.obj
More information about the gtkada
mailing list