#include <MyGUI_ClipboardManager.h>
Definition at line 21 of file MyGUI_ClipboardManager.h.
◆ ClipboardManager() [1/2]
◆ ClipboardManager() [2/2]
MyGUI::ClipboardManager::ClipboardManager |
( |
| ) |
|
◆ clearClipboardData()
void MyGUI::ClipboardManager::clearClipboardData |
( |
std::string_view | _type | ) |
|
◆ getClassTypeName()
std::string_view MyGUI::ClipboardManager::getClassTypeName |
( |
| ) |
|
|
static |
◆ getClipboardData()
std::string MyGUI::ClipboardManager::getClipboardData |
( |
std::string_view | _type | ) |
const |
◆ getInstance()
◆ getInstancePtr()
◆ initialise()
void MyGUI::ClipboardManager::initialise |
( |
| ) |
|
◆ operator=()
◆ setClipboardData()
void MyGUI::ClipboardManager::setClipboardData |
( |
std::string_view | _type, |
|
|
std::string_view | _data ) |
Set current data in clipboard and trigger eventClipboardChanged. To be used by widgets.
- Parameters
-
_type | of data (for example "Text") |
_data | |
Definition at line 57 of file MyGUI_ClipboardManager.cpp.
◆ shutdown()
void MyGUI::ClipboardManager::shutdown |
( |
| ) |
|
◆ eventClipboardChanged
Event : Clipboard content was changed via setClipboardData.
signature : void method(std::string_view _type, std::string_view _data)
- Parameters
-
_type | of data (for example "Text") |
_data | |
Definition at line 56 of file MyGUI_ClipboardManager.h.
◆ eventClipboardRequested
Event : The content of the clipboard is being requested via getClipboardData.
Delegates of this event can modify the _data argument in-place to change the data returned by getClipboardData. signature : void method(std::string_view _type, std::string& _data)
- Parameters
-
_type | of data (for example "Text") |
_data | |
Definition at line 67 of file MyGUI_ClipboardManager.h.
The documentation for this class was generated from the following files: