Hasty Badger
Small UI library (a branch of Turbo Badger)
|
TBClipboard is a portable interface for the clipboard. More...
#include <tb_system.h>
Static Public Member Functions | |
static void | Empty () |
Empty the contents of the clipboard. More... | |
static bool | HasText () |
Return true if the clipboard currently contains text. More... | |
static bool | SetText (const TBStr &text) |
Set the text of the clipboard in UTF-8 format. More... | |
static bool | GetText (TBStr &text) |
Get the text from the clipboard in UTF-8 format. More... | |
TBClipboard is a portable interface for the clipboard.
|
static |
Empty the contents of the clipboard.
|
static |
Get the text from the clipboard in UTF-8 format.
Returns true on success.
|
static |
Return true if the clipboard currently contains text.
|
static |
Set the text of the clipboard in UTF-8 format.