Method Begin
Begin(Toplevel)
Building block API: Prepares the provided Toplevel for execution.
public static RunState Begin(Toplevel toplevel)
Parameters
Returns
- RunState
The RunState handle that needs to be passed to the End(RunState) method upon completion.
Remarks
This method prepares the provided Toplevel for running with the focus, it adds this to the list of Toplevels, lays out the Subviews, focuses the first element, and draws the Toplevel in the screen. This is usually followed by executing the RunLoop(RunState) method, and then the End(RunState) method upon termination which will undo these changes.