Click or drag to resize

ControlShowModal Method

Displays a control as modal. Control must be a subwindow. Modal controls capture the input signals until closed or the area outside them is accessed. When a modal control loses focus, or the ESC key is pressed, they automatically hide. Modal controls are used extensively for popup dialogs and menus.

If exclusive is true, other controls will not receive input and clicking outside this control will not close it.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void ShowModal(
	bool exclusive = false
)

Parameters

exclusive (Optional)
Type: SystemBoolean

[Missing <param name="exclusive"/> documentation for "M:Godot.Control.ShowModal(System.Boolean)"]

See Also