TextDestroyDisplay: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
This function destroys a text display and will unlink all the | {{Server function}} | ||
This function destroys a text display and will unlink all the [[textitem]]s on it. This does not stop the textitems existing, but anyone who was observing the textitems through this display will stop seeing them. | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool textDestroyDisplay ( textdisplay display ) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 16: | Line 17: | ||
textDestroyDisplay ( myDisplay ) | textDestroyDisplay ( myDisplay ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | |||
{{Text functions}} |
Latest revision as of 17:36, 30 November 2007
This function destroys a text display and will unlink all the textitems on it. This does not stop the textitems existing, but anyone who was observing the textitems through this display will stop seeing them.
Syntax
bool textDestroyDisplay ( textdisplay display )
Required Arguments
- display: This is the textdisplay that you wish to have destroyed.
Example
This example creates a display then destroys it again straight away.
myDisplay = textCreateDisplay () textDestroyDisplay ( myDisplay )
See Also
- textCreateDisplay
- textCreateTextItem
- textDestroyDisplay
- textDestroyTextItem
- textDisplayAddObserver
- textDisplayAddText
- textDisplayGetObservers
- textDisplayIsObserver
- textDisplayRemoveObserver
- textDisplayRemoveText
- textItemGetColor
- textItemGetPosition
- textItemGetPriority
- textItemGetScale
- textItemGetText
- textItemSetColor
- textItemSetPosition
- textItemSetPriority
- textItemSetScale
- textItemSetText