JUCE  v5.1.1-3-g1a0b28c73
JUCE API
SystemClipboard Class Reference

Handles reading/writing to the system's clipboard. More...

#include <juce_SystemClipboard.h>

Static Public Member Functions

static void copyTextToClipboard (const String &text)
 Copies a string of text onto the clipboard. More...
 
static String getTextFromClipboard ()
 Gets the current clipboard's contents. More...
 

Detailed Description

Handles reading/writing to the system's clipboard.

Member Function Documentation

◆ copyTextToClipboard()

static void SystemClipboard::copyTextToClipboard ( const String text)
static

Copies a string of text onto the clipboard.

◆ getTextFromClipboard()

static String SystemClipboard::getTextFromClipboard ( )
static

Gets the current clipboard's contents.

Obviously this might have come from another app, so could contain anything..


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