TGUI  v0.6.10
Public Member Functions | List of all members
tgui::Clipboard Class Reference
Inheritance diagram for tgui::Clipboard:

Public Member Functions

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

Constructor & Destructor Documentation

tgui::Clipboard::Clipboard ( )

Default constructor.

tgui::Clipboard::~Clipboard ( )

Destructor.

Member Function Documentation

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

Returns the contents of the clipboard.

Returns
Contents of the clipboard
void tgui::Clipboard::set ( const sf::String &  contents)

Changes the contents of the clipboard.

Parameters
contentsNew contents of the clipboard
void tgui::Clipboard::setWindowHandle ( const sf::WindowHandle &  windowHandle)

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: