TGUI  0.7.4
tgui::Clipboard Class Reference

Static Public Member Functions

static sf::String get ()
 Returns the contents of the clipboard. More...
 
static void set (const sf::String &contents)
 Changes the contents of the clipboard. More...
 
static void setWindowHandle (const sf::WindowHandle &windowHandle)
 Sets the window handle which is needed to access the system clipboard on windows. More...
 

Member Function Documentation

◆ get()

static sf::String tgui::Clipboard::get ( )
static

Returns the contents of the clipboard.

Returns
Contents of the clipboard

◆ set()

static void tgui::Clipboard::set ( const sf::String &  contents)
static

Changes the contents of the clipboard.

Parameters
contentsNew contents of the clipboard

◆ setWindowHandle()

static void tgui::Clipboard::setWindowHandle ( const sf::WindowHandle &  windowHandle)
static

Sets the window handle which is needed to access the system clipboard on windows.

Parameters
windowHandleHandle to the window

The documentation for this class was generated from the following file: