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

the correct way to do pop up menus?



Hi all,

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?

Any help, and pointers to a piece of simple code, would be greatly
appreciated.

thanks,
-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
-------------------------------------------------------------------



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