Stetic.WidgetEditSession.ClipboardPaste C# (CSharp) Method

ClipboardPaste() public method

public ClipboardPaste ( ) : void
return void
        public void ClipboardPaste()
        {
            IEditableObject editable = widget.Selection as IEditableObject;
            if (editable == null)
                editable = ObjectWrapper.Lookup (widget.Selection) as IEditableObject;
            if (editable != null)
                editable.Paste ();
        }

Usage Example

Ejemplo n.º 1
0
 public void PasteToSelection()
 {
     if (session != null)
     {
         session.ClipboardPaste();
     }
 }