[Gtk-sharp-list] Using a Dialog box defined with glade with an Gtk.Dialog herited class

Gilles Fabio gilles.fabio at gmail.com
Wed Nov 15 15:21:28 EST 2006


> > Yep, I also try and I think mlgs is right. So, specify the name as in
> > your gui.glade file. Probably, it's not "mydialog".
> > 
> > public class MyDialog : Gtk.Dialog {
> >  
> >     public MyDialog() : base()
> >     {
> >         Glade.XML gxml = new Glade.XML(null, "gui.glade",
> > "dialog_something", null); gxml.Autoconnect(this);
> >     }
> > }
> > 
> > dialog_something must be the name of the root widget.
> > 
> That's what I do! There is confusion because class name and widget name
> are the same and I've forgotten quotes in my message (sorry for the
> mistake). I've tried to change widget name and I've the same problem my
> dialog box is always empty.

Mmm... Sounds weird :/ Could you please upload somewhere your glade file
and sample code? Or could you please copy-past your original source
code? Because I have no idea. Everything works fine on my platform.

> >  Nice to see french people on this mailing list :)
> Nice to read you here Play. Internet is not so big in fact :)

:) hehe indeed :) Nice to read you here too! Hope you're doing good.

Cheers,
Gilles

-- 
Gilles Fabio aka "Play"

Weblog    : http://gilles.fabio.free.fr/blog
OpenPGP   : 320F31F8 (pgp.mit.edu)
Sent from : SUSE Linux Enterprise Desktop 10



More information about the Gtk-sharp-list mailing list