Re: TreeView cell editing
- From: "Dmitry M. Shatrov" <zzidre mail ru>
- To: James Pelletier <jamesp trdlnk com>
- Cc: gtk-list gnome org
- Subject: Re: TreeView cell editing
- Date: Wed, 07 Jul 2004 14:05:44 +0400
James Pelletier wrote:
More importantly, is there a way to force a cell that is currently
being edited to end editing?
You can do it by moving cursor to another cell without editing it (and,
maybe, moving the cursor back to the origin figured out with
gtk_tree_view_get_cursor). It works for me.
if ( gtk_tree_view_get_model (GTK_TREE_VIEW (tree)) != NULL)
{
GtkTreePath *path = gtk_tree_path_new_first ();
gtk_tree_view_set_cursor (GTK_TREE_VIEW (tree), path,
NULL, FALSE);
gtk_tree_path_free (path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]