[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Re:the correct way to do pop up menus?
- From: "Emmanuel DELOGET" <pixel epita fr>
- To: <gtk-app-devel-list redhat com>
- Subject: Re: Re:the correct way to do pop up menus?
- Date: Thu, 29 Jul 1999 18:41:50 +0200
>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]