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

lordphoenix lordphoenix at free.fr
Wed Nov 15 12:13:50 EST 2006


Le Wed, 15 Nov 2006 17:29:28 +0100,
Gilles Fabio <gilles.fabio at gmail.com> a écrit :

> Hello there,
> 
> 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.

Any other Idea??

>  Nice to see french people on this mailing list :)
Nice to read you here Play. Internet is not so big in fact :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20061115/ff007e03/attachment.bin 


More information about the Gtk-sharp-list mailing list