Re: GdkPixmap



Nuno Afonso wrote:
> can someone tel me how can i put a pixmap in a menu item?

Hi Nuno, a menu item is just a container: you can put anything inside.

- make an hbox

- put your pixmap and your text into the hbox

- make a menu item (use gtk_menu_item_new())

- add the hbox to the menu item

- add the menu item to the menu pane

John




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