Re: [gtk-list] Re: gtk_clist_moveto



On Fri, Apr 27, 2018 at 03:52:33PM -0400, Adrian E. Feiguin wrote:
> > I'm having some trouble using the gtk_clist_moveto. I'm using something like
> > 
> > gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5, -1);
> > 
> > to scroll to a certan row. The first time I do this nothing happens. After
> > that some wierd things might occur, but that could be a bug in my app. Maybe I
> > should add that in my tests the row to move to is the last row.
> > 
> > Is gtk_clist_moveto not intended to work the way I want it to or is this a
> > bug?
> 
> You can't use a negativa alignment. if you put 0., your row will be at the
> top. If you put 1., it will be at the bottom.

The header file says, that -1 means `no change'. But I tried giving 0.0 also.

-- 
Eckehard Berns



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