UiElement.setBusy

Provides a simple means to block keyboard, button, and pointer events from elements, while overriding the cursor with a configurable busy cursor.

class UiElement
setBusy
(
this T
)
(
bool busy
,
string cursor = Cursor.watch
)

Parameters

busy bool

Specifies whether this element is busy or not.

cursor string

The cursor to use if the element is busy.

Return Value

Type: auto

This element to aid method chaining.

Caveats: Note that this method does not currently have any effect on MacOSX when Tk is built using Aqua support.

See Also

Meta