[Mono-list] Basic Glade# question
Iván Mosquera
ivanmosp@gmail.com
Tue, 25 Jan 2005 11:54:07 +0100
Such a tutorial would be great but I don't know if it exists. If your
problem is using several windows defined in a gui.glade, here you have
an example:
http://ktulur.ath.cx/aplicaciones/ventanas01.tar.gz
If the spanish commentaries are a problem for you, ask me and I'll do my
best to translate it.
-- Ivan Mosquera
El mar, 25-01-2005 a las 22:57 -0600, SigmaX escribió:
> Hey;
> I just recently started tinkering with Glade/Glade#/C# on mono, all of
> which I'm fairly new to. Finding documentation for Glade# has proved to
> be near impossible, so I'm asking here.
>
> My setup for running the glade app is like so:
>
> <sample>
> public static void Main (string[] args)
> {
> new GladeApp (args);
> }
>
> public GladeApp (string[] args)
> {
> Application.Init();
>
> Glade.XML gxml = new Glade.XML (null, "gui.glade",
> "mainWindow", null);
> gxml.Autoconnect (this);
> btnList.Clicked+=new EventHandler(btnList_Clicked);
> btnAdd.Clicked+=new EventHandler(btnAdd_Clicked);
> btnSetServer.Clicked+=new
> EventHandler(btnSetServer_Clicked);
> Application.Run();
> }
> </sample>
>
> If gui.glade contains another window, how do I go about opening it?
>
> Again I'm sorry for such a newbie question, but I couldn't find it
> anywhere w/ google. If anybody knows of a nice, extensive Glade# or
> GTK# tutorial, let me know!
> Cheerio,
> SigmaX
>