[Gtk-sharp-list] equivalent of lookup_widget

David Joyner djoyner@starband.net
Thu, 5 Jun 2003 14:17:15 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0034_01C32B6D.2A460F50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm sorry to ask such a basic question.  Given a top level window how do =
I get a reference to a child similar to lookup_widget provided by glade. =
=20

I've tried enumerating Gtk.Window.GdkWindow.Children list using =
GetData("widget_name") .

I also tried just plain window.GetData("widget_name").

Can't seem to figure it out, and the samples all seem to show static =
variables for the widgets.

I'm new, thanks for your help

Dave Joyner
------=_NextPart_000_0034_01C32B6D.2A460F50
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm sorry to ask such a basic =
question.&nbsp; Given=20
a top level window how do I get a reference to a child similar to =
lookup_widget=20
provided by glade.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've tried enumerating=20
Gtk.Window.GdkWindow.Children list using GetData("widget_name") =
.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I also tried just plain=20
window.GetData("widget_name").</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Can't seem to figure it out, and the =
samples all=20
seem to show static variables for the widgets.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm new, thanks for your =
help</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dave Joyner</FONT></DIV></BODY></HTML>

------=_NextPart_000_0034_01C32B6D.2A460F50--