Hasty Badger
Small UI library (a branch of Turbo Badger)
 All Classes Namespaces Functions Variables Enumerations Enumerator Friends Groups Pages
tb::TBClipboard Class Reference

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...
 

Detailed Description

TBClipboard is a portable interface for the clipboard.

Member Function Documentation

static void tb::TBClipboard::Empty ( )
static

Empty the contents of the clipboard.

static bool tb::TBClipboard::GetText ( TBStr text)
static

Get the text from the clipboard in UTF-8 format.

Returns true on success.

static bool tb::TBClipboard::HasText ( )
static

Return true if the clipboard currently contains text.

static bool tb::TBClipboard::SetText ( const TBStr text)
static

Set the text of the clipboard in UTF-8 format.


The documentation for this class was generated from the following file: