Difference between revisions of "TextInputDialog.new"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
 
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/TextInputDialog|TextInputDialog]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Creates a new [[Special:MyLanguage/TextInputDialog|TextInputDialog]] object.<br />
+
Creates a new `TextInputDialog` object.<br />
 
  <br /></translate>
 
  <br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 10:28, 24 August 2018

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.