[Glade-devel] callbacks
Damon Chaplin
damon@karuna.uklinux.net
Tue, 31 Aug 2004 10:52:04 +0100
On Sun, 2004-08-29 at 11:10, Al wrote:
> in this case i cannot obtain a pointer to the progressbar placed into the main
> window, because the menuitem is a little window that contains: "File, Edit"
> and so on... (therefore an approach like:
> lookup_widget(menuitem,"progressbar"), or
> lookup_widget(gtk_widget_get_toplevel(menuitem),"progressbar") does not
> work).
> My problem will be addressed if i could pass data into
> user_data variable, but i don't know how to do that without changing the
> interface.c
You could use g_object_set_data() to store a pointer to the progressbar
somewhere in the other window.
Damon