[Gtk-sharp-list] Glade problem

Peter Williams peter@newton.cx
Tue, 20 Jul 2004 18:08:41 -0400

Hi Rob,

On Tue, 2004-07-20 at 05:04, Rob Brown-Bayliss wrote:
> Hi, I am struggling with C# and glade.
> In Python I could just pass gxml to the constuctor, then do:
> Gtk.TreeView main_list = gxml.GetWidget("main_list") as Gtk.TreeView;

This line seems like it should be ok to me (assuming you have the right
widget name). What's the fuller context of the code, and what failure do
you get?


> But I dont yet know enough about c# to understand how this should be
> done, as 
> MyTree mytree = new MyTree(gxml);
> does not work.
> Any simple examples floating about?

Peter Williams                          peter@newton.cx

"[Ninjas] are cool; and by cool, I mean totally sweet."
                              -- REAL Ultimate Power