Re: [gtk-list] CList scrolling



> From: Stephen Witkop <switk@worldnet.att.net>
> 
> 	I have a clist that I would like to have scroll to the bottom
> automatically when an item is appended to it like the text widget does.
> I realize that the default behavior is to not scroll on it's own, which
> is preferable most of the time, but I need it to work the other way in
> this situation. I've played with the vadj of the scrolled window and the
> clist, but I am not having much luck.
> 
> TIA
> -- 

Have you tried the following?  It works in gtk 1.0.x, but I haven't
tried it in 1.1.x.

void gtk_clist_moveto (GtkCList *clist,
		       gint      row,
		       gint      column,
		       gfloat    row_align,
		       gfloat    col_align);


Dave



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