Re: select a not visible row
- From: Guy Harris <gharris flashcom net>
- To: Fabiano Fantini Vitale <ffv conectiva com br>
- Cc: gtk-list gnome org
- Subject: Re: select a not visible row
- Date: Mon, 23 Oct 2000 21:18:22 -0700
On Mon, Oct 23, 2000 at 09:41:06AM -0200, Fabiano Fantini Vitale wrote:
> I have a problem when I want to select a not visible row
> in a GtkClist. I use the gtk_clist_select_row function to
> select a row but if the row is not visible, after call the function,
> the row stay not visible. I need to do the row to stay visible.
The way we do it in Ethereal is to do
if (gtk_clist_row_is_visible(clist, row) != GTK_VISIBILITY_FULL)
gtk_clist_moveto(clist, row, -1, 0.0, 0.0);
(you may want to use a different value for the next-to-last argument to
"gtk_clist_moveto()" - it controls where the selected row is placed in
the viewable area of the CList).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]