Re: The menu popup direction

2008-09-25 Thread XiuHua Wu
It works. Thanks very much! Mike Massonnet wrote: Le Thu, 25 Sep 2008 09:00:21 +0800, XiuHua Wu [EMAIL PROTECTED] a 茅crit : Yes, I know it can use this function to determine the position of the menu. But if the menu is dynamic, I mean the length is not fixed and can be changed during the

How do I intercept keys in a Gtk::Entry widget?

2008-09-25 Thread Garth's KidStuff
Hey All, I'd like to process the right arrow key in a Gtk::Entry widget (so, for instance, if the cursor is at the rightmost insert position, I'd like to do something special) but if I connect to the signal keypress event as so: // LXWidgetEntry inherits from Gtk::Entry

Re: How do I intercept keys in a Gtk::Entry widget?

2008-09-25 Thread Murray Cumming
On Thu, 2008-09-25 at 08:58 -0700, Garth's KidStuff wrote: Hey All, I'd like to process the right arrow key in a Gtk::Entry widget (so, for instance, if the cursor is at the rightmost insert position, I'd like to do something special) but if I connect to the signal keypress event as so: