Re: TreeView cell editing
- From: Igor Gorbounov <igorbounov topazelectro ru>
- To: James Pelletier <jamesp trdlnk com>
- Cc: gtk-list gnome org
- Subject: Re: TreeView cell editing
- Date: Thu, 08 Jul 2004 08:22:53 +0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]