Re: GdkPixmap
- From: John Cupitt <john cupitt ng-london org uk>
- To: hunchback netcabo pt
- Cc: GTK <gtk-list gnome org>
- Subject: Re: GdkPixmap
- Date: Tue, 28 Aug 2001 12:41:47 +0100
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]