Difference between revisions of "TextInputDialog.new"

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

Revision as of 12:38, 8 September 2021

Available since: Gideros 2012.8
Class: TextInputDialog

Description

Creates a new TextInputDialog object.

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

Parameters

title: (string) the title
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 2nd optional button