TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::LocalClipboard Class Referencefinal

A clipboard inside the process, not shared with other applications. More...

#include <gui_core/text/gui_clipboard.h>

Inheritance diagram for tachyon::LocalClipboard:

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.
Public Member Functions inherited from tachyon::IClipboard
virtual ~IClipboard ()=default

Detailed Description

A clipboard inside the process, not shared with other applications.

Member Function Documentation

◆ Get()

std::string tachyon::LocalClipboard::Get ( ) const
inlineoverridevirtual

The clipboard's text, UTF-8; empty when it holds none.

Implements tachyon::IClipboard.

◆ Set()

void tachyon::LocalClipboard::Set ( std::string_view text)
inlineoverridevirtual

Puts UTF-8 text on the clipboard.

Implements tachyon::IClipboard.


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