On Sun, 2006-11-05 at 03:36 +0000, Dena Ezra wrote: > Hi, > > I have written a custom cell renderer for a list and would like to only draw > text in the cell (inside the 'render' function) when it is the focused cell > in the list.
Ok, so you have a render() function in your GtkCellRenderer-derived class? Check if the flags parameter has the GTK_CELL_RENDERER_SELECTED and GTK_CELL_RENDERER_FOCUSED bits set. -Peter _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list