Re: single column cursor in GtkTreeView
- From: "Freddie Unpenstein" <fredderic excite com>
- To: kost imn htwk-leipzig de, fredderic excite com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: single column cursor in GtkTreeView
- Date: Wed, 1 Sep 2004 12:50:16 -0400 (EDT)
Hi Freddie,
Freddie Unpenstein wrote:
In the meantime, would it be possible to either switch off
highlighting entirely, or "hide" the highlight (set the highlight
style equal to the normal style); and then fake the highlight
using a background colour property? I'm not sure how you'd go
about picking which specific cell was clicked on, but it
aught to be possible. The hard part, I presume, though, would be
making it look consistant with regular selection highlighting.
I browsed over the API docs but found nowhere a 'highlight'
property in the widget hierarchy.
I doubt there would be one. There is, however, a highlight style, which I presume is what the Cell
Renderer's are using. If you could make that style identical to the "normal" style (how does one do that?),
it should effectively hide the highlight. Then it's a matter of faking the highlight by fiddling foreground
and background colours, or perhaps even the style of the cell prior to rendering (a row render function,
perhaps?). Do cell renderers have a "pressed in" style? Maybe use that as the secondary selection?
If anyone actually manages to do something like this, I'd very much appreciate hearing about it.
Fredderic
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]