diff options
author | Bernie Innocenti <bernie@codewiz.org> | 2010-05-03 21:53:47 (GMT) |
---|---|---|
committer | Bernie Innocenti <bernie@codewiz.org> | 2010-05-03 21:53:47 (GMT) |
commit | 1030dc837b10a03a02a85d5504cbeec168ce49e2 (patch) | |
tree | 698eefa87ac437deaf36a4141b326f8ce7986692 /help/rest/text.txt |
Import XaoS r489 (trunk after version 3.5)
Diffstat (limited to 'help/rest/text.txt')
-rw-r--r-- | help/rest/text.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/help/rest/text.txt b/help/rest/text.txt new file mode 100644 index 0000000..edabde4 --- /dev/null +++ b/help/rest/text.txt @@ -0,0 +1,28 @@ +.. _text: + +.. index:: + pair: menu item; Display text + pair: command line option; text + pair: command; text + +Display text +============ + +**Syntax**:(text string) + +Display the given text on the screen. This function is mainly useful in tutorials. +Text should be cleared by printing lots of spaces, or using the +:ref:`clearscreen` or :ref:`display` functions. You might also want to use the +:ref:`textposition` function to select the part of the screen to display the text on. + +To wait for the user to read the text, you can use the :ref:`textsleep` function. + +Example:: + + (clearscreen) + (textposition 'center 'middle) + (text "Welcome into my animation") + (textsleep) + (display) + +**Available as**: menu item, command line option, command
\ No newline at end of file |