UIDispatcher

Yanru MuDecember 8, 2022Less than 1 minute

UIDispatcher

AddWindow(props, children)

Accepts a dictionary of properties and a list of children, returns a Window object

AddDialog(props, children)

Accepts a dictionary of properties and a list of children, returns a Dialog object

int RunLoop()

Call when your window is ready to receive user clicks and other events

ExitLoop(int)

Terminates the event processing, and returns any supplied exit code from RunLoop()