Hello
I should like use a dialog box defined with Glade in a mono application.
For the moment I'm trying to do it on this way but I didn't succeed : 
First I've defined this class:

public class mydialog : Gtk.Dialog
{
  public mydialog() : base()
  {
    Glade.XML gxml = new Glade.XMl(null,"gui.glade",mydialog,null);
    gxml.autoconnect(this);
  }
}

In order to use this dialogbox I'm using this code : 

mydialog  dgl = new mydialog();
int result = mydialog.Run()
if (result==(int)ResponseType.Ok)
{//traitement if OK}
dlg.destroy();

When I'm using this I have a dialog box but it is empty 

Someone has an idea about my mistake or about another way to obtain
same result?

PS : Sorry for my bad English I'm french and don't speak English very
often :-)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to