JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::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.

@tags{GUI}

Member Function Documentation

◆ copyTextToClipboard()

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

Copies a string of text onto the clipboard.

◆ getTextFromClipboard()

static String juce::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: