Difference between revisions of "TextField:setText"
From GiderosMobile
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2011.6<br/> | |
| − | ''' | + | '''Class:''' [[TextField]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | Sets the text to be displayed. | |
| − | Sets the text to be displayed. | ||
| − | |||
<source lang="lua"> | <source lang="lua"> | ||
| − | + | TextField:setText(text) | |
</source> | </source> | ||
| − | === | + | |
| − | '''text''': (string) | + | === Parameters === |
| + | '''text''': (string) the text to be displayed<br/> | ||
{{TextField}} | {{TextField}} | ||
Revision as of 05:12, 16 March 2021
Available since: Gideros 2011.6
Class: TextField
Description
Sets the text to be displayed.
TextField:setText(text)
Parameters
text: (string) the text to be displayed
- TextField
- TextField.new
- TextField:getLayout
- TextField:getLetterSpacing
- TextField:getLineHeight
- TextField:getPointFromTextPosition
- TextField:getSample
- TextField:getText
- TextField:getTextColor
- TextField:getTextPositionFromPoint
- TextField:setFont
- TextField:setLayout
- TextField:setLetterSpacing
- TextField:setSample
- TextField:setText
- TextField:setTextColor