Re: Clist selection
| From: | André Jansen | Date: | Wed, 02 Jun 2004 22:48:10 +0000 |
| Subject: | Re: Clist selection | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4601@lists.php.net to get a copy of this message | ||
Hi Madeleine,
On 2 Jun 2004 at 14:13, Madeleine D. wrote:
> Env: PHP-Gtk 1.0, Windows various.
>
> I have a set of users who are used to a DOS app, and want to know if they
> can have similar behavior in their search lists.
>
> In other words, they want to have the first item in any CList selected and
> then have that selection move down as they move their arrow, leaving the
> last item they land on be the selected one.
If you mean selecting the list item with the arrow keys (without having
to use the spacebar to select the focused item)...
> Does anybody know of a way to accomplish this?
try this:
$list->set_selection_mode(GTK_SELECTION_BROWSE);
http://gtk.php.net/manual/en/gtk.gtkclist.method.set_selection_mode.php
> thanks
> Madeleine D.
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
HTH,
--
André
============================================================
Of course there's no reason for it, it's just our policy.