[Gtk-sharp-list] How to create a MenuItem with an Icon/Image in it?

Rafael Teixeira monoman at gmail.com
Fri Feb 16 11:14:18 EST 2007


You can go the way Stetic generates code for you using the uimanager, AFAIR.

Looking at the code Stetic(MD GTK#  Designer) writes for you, is a
good way of learning some things.

Fun,

On 2/14/07, paulomorfeo at portugalmail.pt <paulomorfeo at portugalmail.pt> wrote:
>
>   I think "ImageMenuItem", which is derived from "MenuItem".
> http://www.go-mono.com/docs/monodoc.ashx?tlink=5@ecma%3a982%23ImageMenuItem%2f
>   Boa sorte.
>
>     Quote:
> I have been using monodevelop until now but as it is being developed I
> decided to learn gtk# using only a text editor, so I'd like to create
> a MenuItem with a image in it like copy, paste icon/image etc, can
> someone point me to the right direction? I tried mono documentation
> but I could not manage myself to find.
>
> Thanks in advance.
> __________________________________________________________
> Email gratuito com 2 000 MB
> Espaço para guardar 1 milhão de mensagens
> http://www.portugalmail.pt/2000mb
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw


More information about the Gtk-sharp-list mailing list