Re: TreeView cell editing

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

 



James Pelletier wrote:

Is there a way to programatically determine if a cell in a tree view is currently being edited or to get the text from the entry field used for editing? More importantly, is there a way to force a cell that is currently being edited to end editing?
[...]

Well, may it won't help (because I've done this on C++ in gtkmm), but I've used the
focus_out event for gtk_entry in a cell renderer to end the editing when user changes
focus while editing:


bool Combo_CellRenderer::on_focus_out(GdkEventFocus* event, Gtk::Entry* entry,
Glib::ustring path)
{
if (!entry->is_focus())
on_edited(entry, path);
return false;
}


   Igor Gorbounov
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux