csc.view.DialogButton

class csc.view.DialogButton

DialogButton class

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: csc.view.DialogButton) -> None

  2. __init__(self: csc.view.DialogButton, arg0: str) -> None

  3. __init__(self: csc.view.DialogButton, text: str, handler: Callable, force_active_focus: bool = False, accent: bool = False) -> None

  4. __init__(self: csc.view.DialogButton, arg0: csc.view.StandardButton) -> None

  5. __init__(self: csc.view.DialogButton, button: csc.view.StandardButton, handler: Callable, force_active_focus: bool = False, accent: bool = False) -> None

Methods

__init__(*args, **kwargs)

Overloaded function.

force_active_focus(self)

Returns whether the button should force active focus

text(self)

Returns the text of the button

__annotations__ = {}
__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: csc.view.DialogButton) -> None

  2. __init__(self: csc.view.DialogButton, arg0: str) -> None

  3. __init__(self: csc.view.DialogButton, text: str, handler: Callable, force_active_focus: bool = False, accent: bool = False) -> None

  4. __init__(self: csc.view.DialogButton, arg0: csc.view.StandardButton) -> None

  5. __init__(self: csc.view.DialogButton, button: csc.view.StandardButton, handler: Callable, force_active_focus: bool = False, accent: bool = False) -> None

__module__ = 'csc.view'
force_active_focus(self: csc.view.DialogButton) bool

Returns whether the button should force active focus

Returns:

True if the button should force active focus, False otherwise

Return type:

bool

text(self: csc.view.DialogButton) str

Returns the text of the button

Returns:

The text of the button

Return type:

str