module lib.sdl2.clipboard

Code Map

module lib.sdl2.clipboard;


//! \brief Put UTF-8 text into the clipboard
fn SDL_SetClipboardText(text: const(const(char)*)) i32;
//! \brief Get UTF-8 text from the clipboard, which must be freed with
//! SDL_free()
fn SDL_GetClipboardText() char*;
//! \brief Returns a flag indicating whether the clipboard exists and
//! contains a text string that is non-empty
fn SDL_HasClipboardText() SDL_bool;
fn SDL_SetClipboardText(text: const(const(char)*)) i32

\brief Put UTF-8 text into the clipboard

\sa SDL_GetClipboardText()

fn SDL_GetClipboardText() char*

\brief Get UTF-8 text from the clipboard, which must be freed with SDL_free()

\sa SDL_SetClipboardText()

fn SDL_HasClipboardText() SDL_bool

\brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty

\sa SDL_GetClipboardText()