[Glade-users] glade2 and gtkada

I am simply trying to modify some label texts from with a callback.

Basically I want (in pseudo code):

on button1 click
set_text(label1, "text");

The problem is that label1 is not in scope when I'm in the handler (it's
in a seperate package). I believe I need the call lookup_widget() but I
cannot find this anywhere within GtkAda, upon searching the net I can only
find this as a C call not Ada.

Is there an equivalent in Ada or do I have a fundamental misunderstanding
of my problem.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20111025/4dd3f89d/attachment.html 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]