[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: popup menu
- From: Sean Nichols <SeanNi Attachmate com>
- To: "'gtk-app-devel-list redhat com'" <gtk-app-devel-list redhat com>
- Subject: RE: popup menu
- Date: Thu, 24 Jun 1999 15:02:46 -0700
Ken,
I'm not sure I entirely understand what you're trying to do.
Are you trying to get a popup /menu/ to appear under the cursor (ie: when
the user right-clicks on a widget), or are you just trying to popup a
tooltip (basically a temporary, floating label that explains what the widget
does) when you hover the mouse over the widget for a few seconds?
Either way, while I'm sure that what you want can be done using a popup
menu, there are already built-in functions to do both of those.
Also, both are explained (fairly well) in the Gtk+ tutorial. The first
(popup menu) is explained (albeit with a bit of overhead) in chapter 13,
http://www.gtk.org/tutorial/gtk_tut-13.html.
The second (tooltip) has its own special GtkObject*, which is explained
very succinctly (no example, but it's really easy; you don't need one) in
Chapter 9.3, http://www.gtk.org/tutorial/gtk_tut-9.html#ss9.3.
Hope one of those is what you want.
- Sean
-----Original Message-----
From: Ken Steen [mailto:ksteen@earthlink.net]
Sent: Thursday, June 24, 1999 13:37
To: gtk-app-devel-list
Subject: popup menu
Where can I find source code using a popup menu? I'm fairly new
to c and I can't figure out the proper way to get a menu to popup next
to the mouse pointer by reading gtk header files.
Thanks,
Ken
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]