GraffitiSuite Docs
Docs
Graffitialertdialog
Loading document parsing libraries...
# GraffitiAlertDialog Class Inherits WebContainer ## Enumerations | Name | Value | Description | | --- | :---: | --- | | ButtonPositions | Left <br > Center <br > Right | Support button locations within the message. | | DisplayStates | Default <br > Minimized <br > Maximized | Possible window size and position states. | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | ButtonPressed | button as GraffitiAlertButton | (None) | Raised when one of the dialog's buttons is pressed. | | Closed | (None) | (None) | Raised when the dialog is closed. | | Hidden | (None) | (None) | Raised when the dialog is hidden. | | Maximized | (None) | (None) | Raised when the dialog is maximized. | | Minimized | (None) | (None) | Raised when the dialog is minimized. | | Resized | (None) | (None) | Raised when the dialog is resized. | | Restored | (None) | (None) | Raised when the dialog is restored. | | Shown | (None) | (None) | Raised when the dialog is shown on-screen. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Close | (None) | (None) | (None) | | Constructor | parent as GraffitiAlert | (None) | (None) | | Show | (None) | (None) | (None) | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | mDisplayState | GraffitiAlertDialog.DisplayStates | (None) | | Attributes | mID | String | (None) | | Attributes | parentRef | WeakRef | (None) | | ButtonAlignment | ButtonPositions | (None) | Position within the alert's footer where buttons will be displayed. | | ButtonAreaStyle | GraffitiStyle | (None) | GraffitiStyle applied to the area of the alert which contains any buttons. | | Buttons() | GraffitiAlertButton | (None) | Buttons to be displayed on the Alert. | | CanOverflow | Boolean | (None) | (None) | | CloseButton | Boolean | (None) | (None) | | ContentStyle | GraffitiStyle | (None) | GraffitiStyle to apply to the alert's content area. | | DisplayState | GraffitiAlertDialog.DisplayStates | (None) | Current window size and position state. | | Draggable | Boolean | True | When True and the message has a title, it can be dragged around the page. | | Icon | String | (None) | (None) | | IconStyle | GraffitiStyle | (None) | (None) | | MaximizeButton | Boolean | (None) | (None) | | MaximumHeight | Integer | (None) | (None) | | MaximumWidth | Integer | (None) | (None) | | MinimizeButton | Boolean | (None) | (None) | | MinimumHeight | Integer | (None) | (None) | | MinimumWidth | Integer | (None) | (None) | | Modal | Boolean | False | If True clicks outside the alert will be ignored. | | Resizable | Boolean | False | When True, the alert can be resized from the East and South edges, as well as the SouthEast corner. | | Tag | Variant | (None) | Developer storage. | | Title | String | (None) | (None) | | TitleStyle | GraffitiStyle | (None) | (None) | | WindowStyle | GraffitiStyle | (None) | (None) | | ZIndex | Integer | (None) | (None) |