Re: Setting focus on a row in GtkCList

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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]