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

Re: the correct way to do pop up menus?



Emile Snyder wrote:
> 
> Thanks to everyone who responded on this.  It all helped.  I've got the
> popup menu showing up now, and the items working, and several more
> questions have come up for me :)
> 
> * Toggle buttons in a menu item.  I tried gtk_menu_item_configure(1,0) to
> set the toggle visiblity on, but it didn't do anything.  How do I do this?
> 
> * How do you make a separator item?
> 
> thanks again,
> -emile
> 
> -------------------------------------------------------------------
> ESR: I want to live in a world where software doesn't suck.
> RMS: Any software that isn't free sucks.
> Linus: I'm interested in free beer.
>           - As reported by Elizabeth O. Coolbaugh of LWN
>             from LinuxWorld Conference and Expo
> -------------------------------------------------------------------
> 
> --
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com with
>                        "unsubscribe" as the Subject.
> 
>         Mailing list concerns should be mailed to <listmaster@redhat.com>

GtkWidget *sep;

// As Havoc said,
sep = gtk_menu_item_new();

// to make nicer :-)
GTK_WIDGET_UNSET_FLAGS(sep, GTK_SENSITIVE);

Regards
Oliver
-- 
Oliver Schulze L.
oliver@pla.net.py
Asuncion-Paraguay
http://www.pla.net.py/home/oliver/



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