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

CreateEntry() private method

private CreateEntry ( ) : Gtk.Entry
return Gtk.Entry
        Gtk.Entry CreateEntry()
        {
            Gtk.Entry e = new Gtk.Entry (text);
            e.Changed += delegate (object s, EventArgs a) {
                text = e.Text;
                if (Changed != null)
                    Changed (this, a);
            };
            e.Activated += delegate (object s, EventArgs a) {
                EndEditing ();
            };
            return e;
        }