[gtk-list] Re: gtk_clist_moveto
- From: Pascal Rigaux <rigaux irisa fr>
- To: gtk-list redhat com
- Subject: [gtk-list] Re: gtk_clist_moveto
- Date: Wed, 29 Apr 1998 16:55:30 +0200
Sorry if I'm saying easy things, but shouldn't it be
gtk_clist_moveto(GTK_CLIST(lines),GTK_CLIST(lines)->rows - 1,0,1.,0.);
instead of
gtk_clist_moveto(GTK_CLIST(lines),GTK_CLIST(lines)->rows,0,1.,0.);
I've tested and it's working...
Regards, Pixel.
Sergei Naumov writes:
>
> Eckehard Berns <eb@berns.prima.de>:
> > > > gtk_clist_moveto(GTK_CLIST(clist), row, 0, 0.5, -1);
> > > 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.
>
> This is actually strange. I tried it as well with the LAST inserted row:
>
> gtk_clist_moveto(GTK_CLIST(lines),GTK_CLIST(lines)->rows,0,1.,0.);
>
> It did not work, although it was supposed to show the last inserted line
> at the VERY bottom. Any ideas?
>
> Sergei
>
>
> --
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]