Editing Node


I m displaying some Text in Node. I want this text to be edit on double click only not on single as it is by default.


You should look at the 3.0 GoText.EditableWhenSelected property... it may give you the behavior you want...
if not:
public override bool OnSingleClick(GoInputEventArgs evt, GoView view) {
return false;
public override bool OnDoubleClick(GoInputEventArgs evt, GoView view) {
if (!CanEdit()) return false;
if (!view.CanEditObjects()) return false;
if (evt.Shift || evt.Control) return false;
return true;

Thanks very much sir… for giving us the hint