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

Re: Re:the correct way to do pop up menus?



>Emile wrote,
>
>>> Is there a short answer to this question?  I've been digging through the
>>> online docs for gdk/gtk and haven't found anything that looks like the
>>> right way to do it.  I'm extending a clock widget that someone else
wrote
>>> (the mygtkclock from the XFce/libs project) and want to pop up a menu
when
>>> you right click the widget.  Should I be looking at the menu factory
>>> stuff, or just gtk_menu_new() and adding items, or what?
>
>If you have gnome you can do it like I did it in my program.
>Here's how I did it in my program( well plugin actually ):
>
> [code snipped]


    As an addition, you can have a look to the examples/menu examples
    that implements a popup menu.

    Yours,

    pixel@epita.fr

>--
>Halfline
>




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