Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "Nasal library/clipboard"

From FlightGear wiki
Jump to: navigation, search
m (CLIPBAORD: Spelling)
m (Grammar)
Line 1: Line 1:
 
{{Nasal Navigation|nocat=1}}
 
{{Nasal Navigation|nocat=1}}
This page contains documentation for the '''<code>clipboard</code> namespace''' in [[Nasal]]. This namespace provides functions for working with text stored in the {{wikipedia|Clipboard (computing)|clipboard}}. The <code>clipboard</code> is implemented namespace is defined from {{flightgear file|src/Scripting/NasalClipboard.cxx}}. There are also several files in the <tt>''Scripting''</tt> folder that implement the backend depending on the OS.
+
This page contains documentation for the '''<code>clipboard</code> namespace''' in [[Nasal]]. This namespace provides functions for working with text stored in the {{wikipedia|Clipboard (computing)|clipboard}}. The <code>clipboard</code> namespace is implemented in {{flightgear file|src/Scripting/NasalClipboard.cxx}}. There are also several files in the <tt>''Scripting''</tt> 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.|width=70%}}
 
{{tip|Copy & paste the examples into your [[Nasal Console]] and execute them to see what they do.|width=70%}}

Revision as of 14:38, 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 namespace is implemented in 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