GtkTreeView +ListStoreModel +Column Highlighting
- From: "HOCHSTETLER, BRUCE W. (JSC-DV3/T) (TSI)" <bruce w hochstetler1 jsc nasa gov>
- To: "'gtk-devel-list gnome org'" <gtk-devel-list gnome org>
- Subject: GtkTreeView +ListStoreModel +Column Highlighting
- Date: Mon, 22 Mar 2004 18:25:13 -0600
Hi,
I've got a treeview that uses a liststore model. The liststore is comprised
of {GDK_TYPE_PIXBUF and G_TYPE_STRING}. Each pair is placed in multiple
columns side-by-side:
[icon + name] [icon + name]
[icon + name] [icon + name]
...
I want to treat each pair as a single column, but more importantly I want
only those pairs to be selected, highlighted. I've attached the signal
'button-press' on the treeview, it returns TRUE to stop the handler from
propagating. I've tried various calls to get a highlighted column.
gtk_paint_focus, gtk_paint_flat_box, gdk_draw_rectangle... nothing appears.
Anybody have any ideas how to do this?
Thanks,
--Bruce
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]