Re: [gtk-list] Icon-titled Menus with GTK+?
- From: Havoc Pennington <hp redhat com>
- To: "billh mmrd com" <billh mmrd com>
- Cc: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: Re: [gtk-list] Icon-titled Menus with GTK+?
- Date: 19 Apr 2000 16:04:18 -0400
Bill Hayden <billh@mmrd.com> writes:
> Is it trivial to make an icon-titled menu in GTK+? By icon-titled menu, I
> am referring to something akin to the Apple menu in the MacOS. References
> to sample code would be much appreciated.
>
I can't think of any sample code, but it should be trivial; look at
some code (such as testgtk.c) that calls
gtk_menu_item_new_with_label(), and instead of calling that call:
mi = gtk_menu_item_new ();
pixmap = gtk_pixmap_new (... whatever image ...);
gtk_container_add (GTK_CONTAINER(mi), pixmap);
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]