TextItemSetPriority: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[ | {{Needs_Checking|Is the 2nd argument a string or an int? Should be a string for consistency --[[User:Talidan2|Talidan2]] 09:03, 29 August 2007 (CDT)}} | ||
__NOTOC__ | __NOTOC__ | ||
This | This function sets the priority for a text item. Priority is the rate at which a text item is updated. | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
void textItemSetPriority ( textitem | void textItemSetPriority ( textitem theTextItem, string priority ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Required Arguments=== | ===Required Arguments=== | ||
*''' | *'''theTextItem:''' The text item you wish to set priority to. | ||
*'''priority:''' The priority you wish to set to the item, which can be ''"high"'', ''"medium"'', or ''"low"'' respective of their priority. | |||
*''' | |||
==Example== | ==Example== | ||
This example | This page does not have an example | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
-- | --add an example here | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{ | {{Text_functions}} | ||
[[Category:Needs_Example]] |
Revision as of 14:03, 29 August 2007
This article needs checking. | |
Reason(s): Is the 2nd argument a string or an int? Should be a string for consistency --Talidan2 09:03, 29 August 2007 (CDT) |
This function sets the priority for a text item. Priority is the rate at which a text item is updated.
Syntax
void textItemSetPriority ( textitem theTextItem, string priority )
Required Arguments
- theTextItem: The text item you wish to set priority to.
- priority: The priority you wish to set to the item, which can be "high", "medium", or "low" respective of their priority.
Example
This page does not have an example
--add an example here
See Also
- textCreateDisplay
- textCreateTextItem
- textDestroyDisplay
- textDestroyTextItem
- textDisplayAddObserver
- textDisplayAddText
- textDisplayGetObservers
- textDisplayIsObserver
- textDisplayRemoveObserver
- textDisplayRemoveText
- textItemGetColor
- textItemGetPosition
- textItemGetPriority
- textItemGetScale
- textItemGetText
- textItemSetColor
- textItemSetPosition
- textItemSetPriority
- textItemSetScale
- textItemSetText