may be is an old question, but this simple piece of code doesn't work
 properly on gtk+ 1.2.7
 //
 gtk_clist_select_row(GTK_CLIST(clist),row,col);
 GtkVisibility visible = gtk_clist_row_is_visible(GTK_CLIST(clist),row);
 if( (visible  == GTK_VISIBILITY_NONE) || 
     (visible  == GTK_VISIBILITY_PARTIAL)
     )
     gtk_clist_moveto (GTK_CLIST(clist),row,col,0.0,0.0);
 //
 gtkclist scrolls to the right position but fails to be correctly  repainted, leaving 
column header and rows blanks.
However forcing an expose_event (ie: covering/uncovering or resizing the window) makes 
the gtkclist be correctly painted.  
 any hint ?
 tia
 /mario

-- 
Mario Motta
AI Research Group - Rimini - Italy
http://vdkbuilder.sourceforge.net

-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to