Edward Yang wrote:
How to turn the x, y members to screen coordinates so that I can show a
popup menu?
x_root, y_root fields of GdkEventButton structure ?
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Event-Structures.html#GdkEventButton
BTW, it there an easy way to show a popup menu? I looke an open source
editor, but the code seems very complex.
Try gtk_item_factory_popup() function.
http://developer.gnome.org/doc/API/2.0/gtk/GtkItemFactory.html#gtk-item-factory-popup
Olexiy
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list