Re: Setting focus on a row in GtkCList
- From: "Norman Black" <stonybrk ix netcom com>
- To: "gtk-list" <gtk-list gnome org>
- Subject: Re: Setting focus on a row in GtkCList
- Date: Thu, 16 Aug 2001 13:07:19 -0700
You have to also set the focus row in addition to setting the selection. The
only way to do this is to assign the data field, as no API exists. This
kinda sucks but that is the way it was designed (or not designed).
Best Regards,
Norman Black
Stony Brook Software
----- Original Message -----
From: "Jean-Christophe Berthon" <jean-christophe berthon cgey com>
To: "Andy Filbert" <a_filbert2001 yahoo co uk>; <gtk-list gnome org>
Sent: Thursday, August 16, 2001 08:52 AM
Subject: Re: Setting focus on a row in GtkCList
>
> > How dow I set focus to a particular row in a GtkCList
> > ?
> >
> > I can moveto the row OK, but then if the user types an
> > up or down arrow, they are at the start of the list.
> >
> > What is the secret ?
> >
>
> Did you try gtk_clist_select_row() ? Maybe it will help (I'm using it but
> for a different purpose so I'm not sure if it is working or not)
>
> Jean-Christophe
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]