IC Python API:Dialog Callbacks

From Reallusion Wiki!
Revision as of 22:01, 24 September 2019 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} This article will help you deeply understand the '''RDialogCallback''' class. Even though this class onl...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Main article: RL Python Samples.

This article will help you deeply understand the RDialogCallback class. Even though this class only supports three event types, their interactions and initiation can be complex. The following chart goes into more detail.

Action Calls Notes
Docking Hide -> Show
Undocking (Drag) Hide -> Show
Undocking (Release) Hide -> Show
Closing Close -> Hide
Hide() command Hide Hide() command is ignored if the window is not shown.
Show() command Show
Close() command Close -> Hide Close() command can be executed even when the window is not show.

Testing Dialog Callbacks

You can use the following script to test and trigger the Dialog Callback events.