behavior of gtk_tree_view_set_cursor()



I've implemented a little spreadsheet for my app using a treeview.  It
works fine with recent gtk versions but I'm having a hard time getting
the behavior right with gtk 2.0.X (which I would like to be able to
support).

Can anyone tell me if there was a possibly relevant change in
gtk_tree_view_set_cursor() between versions?

Here's the specific issue:

* click on a cell: I have arranged for this to start editing the
  cell content.

* click on a different cell: with current gtk this transfers focus to
  the new cell and starts editing it.  With gtk 2.0.X, the new cell is
  apparently focused, but the text in the old cell remains
  left-justified, as if editing is still going on there, and I get
  the error:

  Gtk-CRITICAL **: file gtktreeviewcolumn.c: line 2681
    (_gtk_tree_view_column_start_editing): assertion
    `tree_column->editable_widget == NULL' failed

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC



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