Re: [gtk-list] [Q] gtk_clist_row_highlight ?

On Tue, 28 Mar 2000, Renaud wrote:

>    Hi,
> I'm trying to highlight a row in a clist just as if it was selected
> (useful in drag_motion callback)
> but without actually selecting it.
> gtk_clist_set_background() is OK, but I can't set  the row back to its
> initial background, even with
> get_style and set_style functions. Am I missing something ?

  Just call gtk_clist_set_background() with NULL for color to revert to
original background.
> Is there a simple way to imlement this effect (that is, without getting
> code directly from gtk sources) ?
> Thanks,
> Renaud
> -- 
> To unsubscribe: mail -s unsubscribe < /dev/null

 Best regards,

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