After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164464 - GTK_SELECTION_BROWSE_CELL mode
GTK_SELECTION_BROWSE_CELL mode
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.6.x
Other All
: Normal enhancement
: Medium API
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2005-01-18 12:47 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2005-06-21 00:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2005-01-18 12:47:36 UTC
scenario:

The tree_selection mode of my tree is GTK_SELECTION_NONE all my cell-renderers
are not editable. This way I get a gray rectangle denoting the current row.
I still can use cursor left, right to move between columns, but there is no gray
rectangle around the columns. Is there anything I can do to highlight the column
that has the foucs too. What I am looking for is something like

Pos  Col1 Col2 Col3
     +---+
 0   | a |  x    y
+----+---+---------+
|1   | b |  c    f |
+----+---+---------+
 2   | d |  z    u
     |   |
 3   | e |  v    w
     +---+

Basically I want the user to browse around, where one cell is always selected
(GTK_SELECTION_BROWSE unfortunately selects whole rows) and via
key-release-event I change the data in the cell.
The active cell should not be moveable to the "Pos." column (see previous mail
about "not focuasable treeview columns).
Comment 1 Matthias Clasen 2005-06-18 15:07:15 UTC
Sounds like you want a table widget, really
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2005-06-20 07:09:33 UTC
I am now trying to use GtkSheet from gtkextra2. So I don't mind this issue
beeing closed. On the other hand I belive both kind of widgets (table & list)
have a lot in common and this could serve as a reminder to think about merging
stuff.
Comment 3 Matthias Clasen 2005-06-21 00:14:23 UTC
Ok, not keeping this one open then. We do have a bug for a model-view table
widget somewhere...