Re: Pixmaps in menu items?




"Curtiss Howard" <po_boxx_823@hotmail.com> writes:

> I know I'm asking a lot of questions here but please bear with me... I'm 
> relatively new to GTK+ (but falling into it very quickly) :).
> 
> How can I add pixmaps to menu items WITHOUT using that menufactory crap?  
> I feel like doing everything the hard way :).  I didn't really see this 
> covered in the tutorial, save a passing reference to it when going over 
> a menufactory example.  I'd just like to know how to do it without using 
> menufactory.

gtk_menu_item_new_with_label() creates a MenuItem containing a 
Label.

gtk_menu_item_new() creates an empty menu item, to which you
can add anything you like with gtk_container_add()

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]