Re: Checking if cell is the currently selected in a treeview list
- From: Peter Lund <firefly vax64 dk>
- To: Dena Ezra <claritythroughconfusion hotmail co uk>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Checking if cell is the currently selected in a treeview list
- Date: Sun, 05 Nov 2006 05:33:49 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]