Nana C++ Library. Reference for users.
What we need to use nana
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
nana::system::dataexch Class Reference

a data exchange mechanism through Windows Clipboard, X11 Selection. More...

Public Types

enum  format { format::text, format::pixmap }
 

Public Member Functions

void set (const std::string &text_utf8, native_window_type owner=nullptr)
 
void set (const std::wstring &text, native_window_type owner=nullptr)
 
bool set (const nana::paint::graphics &g, native_window_type owner=nullptr)
 
void get (std::string &text_utf8)
 
void get (std::wstring &text)
 
std::wstring wget ()
 

Detailed Description

a data exchange mechanism through Windows Clipboard, X11 Selection.

Member Enumeration Documentation

Enumerator
text 
pixmap 

Member Function Documentation

void nana::system::dataexch::get ( std::string text_utf8)
void nana::system::dataexch::get ( std::wstring text)
void nana::system::dataexch::set ( const std::string text_utf8,
native_window_type  owner = nullptr 
)
void nana::system::dataexch::set ( const std::wstring text,
native_window_type  owner = nullptr 
)
bool nana::system::dataexch::set ( const nana::paint::graphics g,
native_window_type  owner = nullptr 
)
std::wstring nana::system::dataexch::wget ( )