When creating a Glade app all the tutorials say to do something like this:
public App() {
Application.Init();
Glade.XML gxml = new Glade.XML(null, "xxxxx.glade", "xxxxxx",
null);
gxml.Autoconnect(this);
Application.Run();
}
but I have a mixed Gtk#/Glade app. The Glade code is mixed into
separate .dll plugins that are loaded into the main Gtk# app.
When I try the code like this nothing happens
public class fDialog : Gtk.Dialog
{
public fDialog()
{
Glade.XML gxml = new Glade.XML(null, "xxxxx.glade", "fDialog",
null);
gxml.Autoconnect(this);
// If this line is here an empty Dialog shows
// Without this line, nothing happens
this.ShowAll();
}
}
There are no errors. Everything compiles and runs just fine. Can
anybody tell me what I'm doing wrong here? Thanks!
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list