[Gtk-sharp-list] Gnome# Hello World

Martin Willemoes Hansen mwh@sysrq.dk
05 Feb 2003 09:27:36 +0100


On Wed, 2003-02-05 at 08:52, Charles Iliya Krempeaux wrote:
> 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();
>         }
>     }
> 

Check www.go-mono.com/tutorial ;)

Nothing has yet been written in the Gnome# part, a Hello, World! Feel
free to write somthing up and send it to mono-docs-list.

> 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.)

there is the Program prog = new Program ("title", "version", Modules.UI,
args);

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

I would also very much like to see that :o)

well id better upgrade to gnome 2.2 soon and try out the doc browser,
hope it will solve some of my troubles finding good info hehe.
-- 
Martin Willemoes Hansen

--------------------------------------------------------
E-Mail	mwh@sysrq.dk	Website	mwh.sysrq.dk
IRC     MWH, freenode.net	
--------------------------------------------------------