IC Python API:RLPy RDialogCallback

From Reallusion Wiki!
Revision as of 20:37, 28 March 2019 by Chuck (RL) (Talk | contribs) (Created page with "{{TOC}} {{Parent|IC_Python_API:RL_Python_Modules|Modules}} ==Inheritance== This class inherits public member functions from: *RLPy.RCallback =...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Main article: Modules.


This class inherits public member functions from:

Detailed Description

This class is used to register callbacks for dialog events.

class MyDialogCallback(RLPy.RDialogCallback):
 def __init__(self):
 def OnDialogHide(self):
   print("Dialog is be Hide")
 def OnDialogShow(self):
   print("Dialog is be Show")
 def OnDialogClose(self):
   print("Dialog is be Close")

mydialog = RUi.CreateRDialog()
mycallback = MyDialogCallback()

Member Functions


RLPy.RDialogCallback.OnDialogClose ( self )

Callback for dialog close.


Dialog closed - bool

Inherited By

This class is inherited by the following classes:

Class Description
Callback Base class of all callback class, such as REventCallback, RDialogCallback...