On Mon, Sep 24, 2007 at 05:06:53PM +0200, Elmar Haneke wrote:
> How can I read the data currently beeing edited within an CellRendererText?
The best way is to hook up to Gtk.CellRenderer.EditingStarted event, and
then do something like:
void OnEditingStarted (object o, EditingStartedArgs e)
{
Entry e = e.Editable as Entry;
if (e == null) {
return;
}
e.Changed += new EventHandler (OnEditableChanged);
}
>
> Is there an Way to finish the edit-Process?
You can do either Gtk.CellRenderer.CancelEditing or
Gtk.CellRenderer.StopEditing (bool canceled).
Check out the docs here:
http://go-mono.com/docs/index.aspx?link=T%3aGtk.CellRenderer
-pete
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list