Re: pop-up menus



Ed,

Download the example code that comes with the gtk tutorial. Them example for the menus has the pop up procedure in it. I did something like what you need, if you can't figure it out with the example let me know.

Havoc Pennington wrote:
<Ed Davison bus utexas edu> writes:
Seems like this has come up on the list before but I have not been
following the list very well lately and have not found a good tutorial
or source of info that is tutorial-like.

There is a tutorial on gtk.org, though it's a bit outdated and doesn't
IIRC cover popup menus.

Am looking for this type of document on pop-up menus.  I have a clist
that I want to right-click on a row and get a list of menu options
(actions) for that row.

Any resources on this?

The description section of GtkMenu has a brief example:
http://developer.gnome.org/doc/API/2.0/gtk/gtkmenu.html

If you want to file a bug report on bugzilla.gnome.org suggesting a
more involved example, specifically an example involving GtkTreeView
and a question added to
http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
pointing to the example, that would be great. I'll try to write
something up, I don't have time for the next few days though.

Another resource is to go to cvs.gnome.org/lxr and search for an
identifier like gtk_menu_popup.

Havoc
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


-- 
Marco Quezada
Aerospaceo Engineero
NLX Corporation
22626 Sally Ride Dr.
Sterling, VA, 20164
mquezada nlxcorp com
703-234-2100 x1028
http://www.nlxcorp.com



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