[Glade-users] lookup_widget in 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.



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