Re: Key bindings and clist?

From: Date: Tue, 03 Jun 2003 03:11:25 +0000
Subject: Re: Key bindings and clist?
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-3509@lists.php.net to get a copy of this message
Ben, take a look at gtkclist.c and the binding_set entries. I've found in the past that signals used in bindings occasionally work as expected, and occasionally crash my box. But hey, it's a place to start :) The 'mystery box' btw is the one with focus. ----- Original Message ----- From: "Benjamin Smith" <bens@effortlessis.com> To: <php-gtk-general@lists.php.net> Sent: Tuesday, June 03, 2003 1:50 AM Subject: [PHP-GTK] Key bindings and clist? > 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 > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.gtk.general (#3509) next »