name -> widget func?
- From: Nate Lawson <nate rootlabs com>
- To: gtk-app-devel-list gnome org
- Subject: name -> widget func?
- Date: Tue, 12 Dec 2000 17:24:04 -0800 (PST)
Given a text name and the TopLevel widget, I'd like to retrieve the proper
child GtkWidget*. What function does that?
Example: window1 has a child widget button1.
Given: toplevel = (GtkWidget*)window1; name = (char*)"button1";
myButton = (GtkWidget*) GetWidgetByName(name, toplevel);
Result:
myButton would point to button1
This should probably be added to the FAQ.
Thanks,
Nate
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]