class EE::Window::Clipboard

Overview

#include <clipboard.hpp>

class Clipboard {
public:
    // construction

    virtual ~Clipboard();

    // methods

    virtual std::string getText() = 0;
    virtual String getWideText() = 0;
    virtual void setText(const std::string& Text) = 0;
    EE::Window::Window* getWindow() const;
};

Detailed Documentation

Methods

virtual std::string getText() = 0

Returns:

The Clipboard Text if available

virtual String getWideText() = 0

Returns:

The Clipboard Text if available ( as String)

virtual void setText(const std::string& Text) = 0

Set the current clipboard text

EE::Window::Window* getWindow() const

Returns:

The parent window of the clipboard