Enumeration: GlobalEvents
Events enumeration.
Enumeration Members
ModalOpen
ModalOpen:
0
Fires when the editor is opened in a modal window.
ModalClose
ModalClose:
1
Fires when the editor is closed in a modal window.
FullScreen
FullScreen:
2
Fires when the editor is switched to the full screen mode.
FullWindow
FullWindow:
3
Fires when the editor is switched to the full window mode.
OriginalSize
OriginalSize:
4
Fires when the editor is switched to the original size mode.
AssetManagerOpened
AssetManagerOpened:
5
Fires when the Image Manager opens.
AssetManagerClosed
AssetManagerClosed:
6
Fires when the Image Manager closes.
RevertProduct
RevertProduct:
7
Fires when a user reverts a product in the editor.
ObjectInspectorVisibilityChange
ObjectInspectorVisibilityChange:
8
Fires when a user changes visibility of the Object Inspector.
OnSurfaceChanged
OnSurfaceChanged:
9
Fires when a user switches surfaces.
CanRedoChanged
CanRedoChanged:
10
Fires when the Redo button gets enabled in the editor.
CanUndoChanged
CanUndoChanged:
11
Fires when the Undo button gets enabled in the editor.
OnImageDpiChanged
OnImageDpiChanged:
12
Fires when a user resizes images.
PopupOpen
PopupOpen:
13
Fires when a dialog box opens.
Deprecated. Instead, you can subscribe to GlobalEvents.UIElementStateChange with the TextPopup argument.
Deprecated
Instead, subscribe to UIElementStateChange with the TextPopup argument.
PrintAreaBoundsChanged
PrintAreaBoundsChanged:
14
Fires when the size of a print area changes, for example, after using Surface.setPrintAreas|`setPrintAreas()`.
UndoProduct
UndoProduct:
15
Fires when a user clicks the Undo button.
RedoProduct
RedoProduct:
16
Fires when a user clicks the Redo button.
UIElementStateChange
UIElementStateChange:
17
Fires when a UI element is opened or closed in the editor. The current implementation only supports the TextPopup, BottomToolbar.Zoom, and BottomToolbar.Settings controls.
CustomButtonClicked
CustomButtonClicked:
18
Fires when custom button is clicked.