AlertDialog.new: Difference between revisions

From GiderosMobile
prefixindex
----
Line 1: Line 1:
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
'''Class:''' [[AlertDialog]]<br/>


<languages />
=== Description ===
 
Creates a new [[AlertDialog]] object.
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/AlertDialog|AlertDialog]]<br/>
 
=== <translate>Description</translate> ===
<translate>Creates a new [[Special:MyLanguage/AlertDialog|AlertDialog]] object.</translate>
<br/>
<br/>


Line 14: Line 10:
</source>
</source>


=== <translate>Parameters</translate> ===
=== Parameters ===
'''title''': (string) <translate>The string that appears in the receiver&#039;s title bar. Can be empty string.</translate> <br/>
'''title''': (string) The string that appears in the receiver's title bar. Can be empty string. <br/>
'''message''': (string) <translate>Descriptive text that provides more details than the title. Can be empty string.</translate> <br/>
'''message''': (string) Descriptive text that provides more details than the title. Can be empty string. <br/>
'''cancelButton''': (string) <translate>The text of the cancel button.</translate> <br/>
'''cancelButton''': (string) The text of the cancel button. <br/>
'''button1''': (string) <translate>The text of the 1st optional button.</translate> '''optional'''<br/>
'''button1''': (string) The text of the 1st optional button. '''optional'''<br/>
'''button2''': (string) <translate>The text of the 2st optional button.</translate> '''optional'''<br/>
'''button2''': (string) The text of the 2st optional button. '''optional'''<br/>
<br/>
 
----


{{Special:PrefixIndex/AlertDialog}}
{{Special:PrefixIndex/AlertDialog}}

Revision as of 13:40, 2 December 2019

Available since: Gideros 2012.8
Class: AlertDialog

Description

Creates a new AlertDialog object.

AlertDialog.new(title,message,cancelButton,button1,button2)

Parameters

title: (string) The string that appears in the receiver's title bar. Can be empty string.
message: (string) Descriptive text that provides more details than the title. Can be empty string.
cancelButton: (string) The text of the cancel button.
button1: (string) The text of the 1st optional button. optional
button2: (string) The text of the 2st optional button. optional