Eyeon:Script/Reference/Applications/Fusion/Classes/Fusion/GetMainWindow
From VFXPedia
< Eyeon:Script | Reference | Applications | Fusion | Classes | Fusion
Contents |
Fusion : GetMainWindow
Usage
val1, val2 = Fusion:GetMainWindow()
Arguments
none
Returns
- val1, val2 (numeric)
Two numeric values representing the handle to the main windows for the Fusion application.
Remarks
The main use for this method is to return a window handle for the main fusion window, so that IUP [1] dialogs can use the Fusion window as a parent. . This prevents the IUP dialog from going behind the main fusion window, and causes the dialog to minimize when the main Fusion window is minimized.
Examples
See the Comp script Add Tool.eyeonscript that ships with Fusion for an example.
Tips for GetMainWindow (edit)
EyeonTips:Script/Reference/Applications/Fusion/Classes/Fusion/GetMainWindow