[Gtk-sharp-list] [NEWBIE] Menu image, submenu items and more

Dominik Zabłotny dominz at wp.pl
Sun Sep 4 14:13:02 EDT 2005

Dnia 04-09-2005, nie o godzinie 19:41 +0200, Luca Gervasi napisał(a):
> Hello everybody.

Hello, Luca

> 1) I need the code to load an image other than the stock ones...if
> anyone know...I'm trying to load them from .jpg files.

mnuRelogin.Image = new Image("abc.jpg");

> 2) I need the code to create child menus... Like Elements(SubElement1,
> SubElement2, SubElement3)

You need to create new menu and attach it to some MenuItem:

Menu m  = new Menu();
item.Submenu = m;

Dominik Zablotny
xmpp:doza at chrome.pl

More information about the Gtk-sharp-list mailing list