Checking if cell is the currently selected in a treeview list



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.

I have tried checking using ' if (GTK_WIDGET_HAS_FOCUS (widget))', but I have found this does not make any difference and that the text is drawn for all items.

Can any one help?

Thankyou in advance.

Clarity

_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free! http://imagine-msn.com/messenger/launch80/?locale=en-gb




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