Difference between revisions of "cursor.show"

From Inspired-Lua Wiki
Jump to navigation Jump to search
(Created page with " Category:cursor")
 
m (added "operator" after handheld)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
cursor.'''show'''() is a function that is part of the [[:Category:cursor|cursor functions]].
  
 +
It shows the cursor (mouse pointer) on the screen.<br />
 +
It is mostly used after a [[cursor.hide]].<br />
  
 +
This function will be ignored if not executed on a handheld operator.<br />
 +
 +
{{Since|3.0}}
 +
 +
== Syntax  ==
 +
cursor.'''show'''()<br />
 +
No arguments.
 +
 +
== Example  ==
 +
<syntaxhighlight>if (isPlaying) then
 +
  cursor.hide()
 +
else
 +
  cursor.show()
 +
end</syntaxhighlight>
 +
 +
== See also  ==
 +
*[[cursor.hide]]
 +
 +
<br /><br />
  
 
[[Category:cursor]]
 
[[Category:cursor]]

Latest revision as of 15:19, 26 November 2018

cursor.show() is a function that is part of the cursor functions.

It shows the cursor (mouse pointer) on the screen.
It is mostly used after a cursor.hide.

This function will be ignored if not executed on a handheld operator.

This has been introduced in TI-Nspire OS 3.0 (Changes).


Syntax

cursor.show()
No arguments.

Example

if (isPlaying) then 
   cursor.hide()
else
   cursor.show()
end

See also