getting a GtkWidget*
- From: "bowman" <bowman montana com>
- To: <gtk-list gnome org>
- Subject: getting a GtkWidget*
- Date: Sun, 3 Jun 2001 22:46:15 -0600
I haven't been able to hit on quite the right thing in the FAQ or docs. I've
been working with glade, which doesn't expose the widgets used in the
generated interface.c file. If I have connected a callback to a button
click, for instance, and I would like to get the text from an GetEntry
widget, is there a graceful way to get a pointer to the entry?
It looks like my options are passing a GList of the widget pointers I'll be
interested in during the callback, or getting the ancestor container of the
button and iterating through the children.
Is there anything analogous to XtNameToWidget?
thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]