|
TachyonUI 1.1.0
High-performance UI for building tools.
|
A clipboard inside the process, not shared with other applications. More...
#include <gui_core/text/gui_clipboard.h>
Public Member Functions | |
| std::string | Get () const override |
| The clipboard's text, UTF-8; empty when it holds none. | |
| void | Set (std::string_view text) override |
| Puts UTF-8 text on the clipboard. | |
| bool | HasImage () const override |
| Whether the clipboard holds an image. A clipboard without images says no. | |
| ClipboardImage | GetImage () const override |
| The clipboard's image; an empty one when it holds none, or it can't be read. | |
| bool | SetImage (const ClipboardImage &image) override |
| Puts an image on the clipboard. | |
| Public Member Functions inherited from tachyon::IClipboard | |
| virtual | ~IClipboard ()=default |
A clipboard inside the process, not shared with other applications.
|
inlineoverridevirtual |
The clipboard's text, UTF-8; empty when it holds none.
Implements tachyon::IClipboard.
|
inlineoverridevirtual |
Puts UTF-8 text on the clipboard.
Implements tachyon::IClipboard.
|
inlineoverridevirtual |
Whether the clipboard holds an image. A clipboard without images says no.
Reimplemented from tachyon::IClipboard.
|
inlineoverridevirtual |
The clipboard's image; an empty one when it holds none, or it can't be read.
Reimplemented from tachyon::IClipboard.
|
inlineoverridevirtual |
Puts an image on the clipboard.
False when it's empty, or this clipboard can't hold images; the clipboard then stays as it was.
Reimplemented from tachyon::IClipboard.