[Mono-list] Basic Glade# question

SigmaX scottclansman@cwazy.co.uk
Tue, 25 Jan 2005 22:57:12 -0600


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

-- 
Registered Linux Freak #: 366,862

"My ISP won't talk to me after lodging a support call for helping gettting ADSL hooked up to a WinXP install running under VMWare under Linux on my XBox."
	'Anonymous Coward,' in a post on slashdot.org

"For the eyes of the Lord range throughout the earth to strengthen those whose hearts are fully commited to him."
	2 Chronicles 16:9a