Nasal library/clipboard: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(In the beginning...)
 
m (→‎CLIPBAORD: Spelling)
Line 9: Line 9:


== Constants ==
== Constants ==
=== CLIPBAORD ===
=== CLIPBOARD ===
 
=== SELECTION ===
=== SELECTION ===


{{Nasal namespaces}}
{{Nasal namespaces}}

Revision as of 08:19, 26 April 2018

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

CLIPBOARD

SELECTION