[Gtk-sharp-list] Gnome# Hello World

Charles Iliya Krempeaux charles@reptile.ca
04 Feb 2003 23:52:19 -0800


Hello,

I don't know if anyone has done this yet (on the MonkeyGuide),
but they might find this useful.  Also, people just getting
into Gtk# might find this useful too.  It is a Hello World program
for Gnome#.  (Similar to the Gtk# one.)

    class Hello
    {
        static Main()
        {
            Gtk.Application.Init();

            Gnome.App app = new Gnome.App("Hello World", "Hello World");
            app.Show();

            Gtk.Application.Run();
        }
    }


Although I am not really sure if "Gtk.Application.Init()" and
"Gtk.Application.Run()" are suppose to be called.  (Or if a
GNOME equivalent is suppose to be called.)

(BTW, does anyone know when the GNOME 2 API docs are going to be
put on the developer.gnome.org website???)


See ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/