Difference between revisions of "TextInputDialog.new"

From GiderosMobile
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
<br />
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextInputDialog|TextInputDialog]]<br/>
Creates a new `TextInputDialog` object.<br />
+
 
<br />
+
=== <translate>Description</translate> ===
 +
<translate>Creates a new [[Special:MyLanguage/TextInputDialog|TextInputDialog]] object.</translate>
 +
 
 
<source lang="lua">
 
<source lang="lua">
TextInputDialog.new(title,message,text,cancelButton,button1,button2)
+
TextInputDialog.new(title,message,text,cancelButton,button1,button2)
 
</source>
 
</source>
'''title''': (string) ''''''<br/>
+
 
'''message''': (string) Descriptive text that provides more details than the title. ''''''<br/>
+
=== <translate>Parameters</translate> ===
'''text''': (string) The text on the text field. ''''''<br/>
+
'''title''': (string) <translate></translate> <br/>
'''cancelButton''': (string) The text of the cancel button. ''''''<br/>
+
'''message''': (string) <translate>Descriptive text that provides more details than the title.</translate> <br/>
'''button1''': (string, optional) The text of the 1st optional button. ''''''<br/>
+
'''text''': (string) <translate>The text on the text field.</translate> <br/>
'''button2''': (string, optional) The text of the 2st optional button. ''''''<br/>
+
'''cancelButton''': (string) <translate>The text of the cancel button.</translate> <br/>
 +
'''button1''': (string, optional) <translate>The text of the 1st optional button.</translate> <br/>
 +
'''button2''': (string, optional) <translate>The text of the 2st optional button.</translate> <br/>
 +
 
 +
{{TextInputDialog}}

Revision as of 02:59, 4 December 2019


Available since: Gideros 2012.8
Class: TextInputDialog

Description

Creates a new TextInputDialog object.

TextInputDialog.new(title,message,text,cancelButton,button1,button2)

Parameters

title: (string)
message: (string) Descriptive text that provides more details than the title.
text: (string) The text on the text field.
cancelButton: (string) The text of the cancel button.
button1: (string, optional) The text of the 1st optional button.
button2: (string, optional) The text of the 2st optional button.