![]()  | 
  
    Gamedev Framework (gf)
    0.7.0
    
   A C++14 framework for 2D games 
   | 
 
gf::Clipboard provides an interface for getting and setting the contents of the system clipboard. More...
#include <gf/Clipboard.h>
Static Public Member Functions | |
| static std::string | getString () | 
| Get the content of the clipboard as string data.  More... | |
| static void | setString (const std::string &text) | 
| Set the content of the clipboard as string data.  More... | |
gf::Clipboard provides an interface for getting and setting the contents of the system clipboard.
Usage example:
      
  | 
  static | 
Get the content of the clipboard as string data.
This function returns the content of the clipboard as a string. If the clipboard does not contain string it returns an empty string.
      
  | 
  static | 
Set the content of the clipboard as string data.
This function sets the content of the clipboard as a string.
| text | A string containing the data to be sent to the clipboard | 
 1.8.13