Re: Not show selection of a tree view column



Hi,
instead of depending on treeview default key handling.
you can capture key press event on treeview and try to use
gtk_tree_view_set_cursor (). with treeviewcolumn set to text column.
hope this solves ur problem.

regards,
Amol.

On Thu, 2007-07-26 at 09:35 -0400, Dave Foster wrote:

Hi folks,

Was wondering if it was possible to have a column omitted from the selection
bar in a gtk treeview.  I've made a custom renderer which displays a strip
of an image, so you can split that image over a number of rows.  It looks
terrible with selection rectangles behind it, even worse with the dotted
highlight rectangle that occurs when using the keyboard to focus a row.  I'd
like to be able to tell gtk to not select that row at all.  Any ideas?

Another possible idea would be that I have my custom renderer wrong, drawing
on the wrong thing or wrong layer, not too sure about that.  Maybe it is
possible to use the custom renderer to draw the selection rectangle too?

More description and (pretty?) screenshots can be found on my blag:
http://d.minuslab.net/?p=43

thanks in advance.
dave
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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