Nasal library/clipboard

From FlightGear wiki
Revision as of 08:17, 26 April 2018 by Red Leader (talk | contribs) (In the beginning...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This page contains documentation for the clipboard namespace in Nasal. This namespace provides functions for working with text stored in the clipboard This is a link to a Wikipedia article. The clipboard is implemented namespace is defined from flightgear/src/Scripting/NasalClipboard.cxx. There are also several files in the Scripting folder that implement the backend depending on the OS.

Tip  Copy & paste the examples into your Nasal Console and execute them to see what they do.

Functions

getText()

setText()

Constants

CLIPBAORD

SELECTION