#
Class: DialogButton#
HierarchyHandle<button>
↳ DialogButton
#
Constructors#
constructornew DialogButton(whichDialog: Dialog, text: string, hotkey?: number, quit?: boolean, score?: boolean): DialogButton
#
Parameters:Name | Type | Default value |
---|---|---|
whichDialog | Dialog | - |
text | string | - |
hotkey | number | 0 |
quit | boolean | false |
score | boolean | false |
Returns: DialogButton
Defined in: handles/dialog.ts:6
#
Properties#
handle• Readonly
handle: button
Defined in: handles/handle.ts:6
#
Accessors#
idid(): number
Get the unique ID of the handle. The ID is recycled once you destroy the object.
Returns: number
The unique ID of a handle object.
Defined in: handles/handle.ts:18
#
Methods#
fromHandlestatic fromHandle(handle: button): DialogButton
#
Parameters:Name | Type |
---|---|
handle | button |
Returns: DialogButton
Defined in: handles/dialog.ts:17