Stetic.Editor.EditableLabel.StartEditing C# (CSharp) Method

StartEditing() public method

public StartEditing ( ) : void
return void
        public void StartEditing()
        {
            if (Child is Gtk.Label) {
                IDesignArea d = WidgetUtils.GetDesignArea (this);
                IObjectSelection sel = d.GetSelection (this);
                if (sel == null)
                    sel = d.SetSelection (this, null);

                sel.Disposed += SelectionDisposed;

                Remove (Child);
                Add (CreateEntry ());
                ShowAll ();
                Child.GrabFocus ();
            }
        }