Key bindings and clist?
| From: | Benjamin Smith | Date: | Tue, 03 Jun 2003 01:50:26 +0000 |
| Subject: | Key bindings and clist? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3508@lists.php.net to get a copy of this message | ||
I'm looking to bind a key to a clist widget where pressing "enter" selects the
current row, then moves 1 (sometimes more, depending on context) row down, so
that pressing enter repeats the cycle.
In working with Clist, there's "selection" which is easily manipulated with
the documented signals and functions, and then there's another kind of
"selection" that works like a cursor, and is manipulated by pressing the
arrow keys.
For a small sample screenshot, see
http://www.effortlessis.com/screenshot.png
It shows up as a box surrounding the row.
How can I manipulate this cursor-box thing to tell it to move down one (or
more) rows?
I tried using $clist->Emit() but got absolutely nowhere in a few hours of
trying. =(
-Ben