Toplevel.modal

bool modal() @property nothrow;

Get modal property.

Returns

Whether the surface is modal.
void modal(bool propval) @property nothrow;

Set modal property.

Parameters

propvalWhether the surface is modal.