$widget->clipboardAppend("String"); $fromclip = $widget->SelectionGet(-selection => 'CLIPBOARD');