Interface implemented by a panel item that can receive focus. More...
Inherits ABC.
Public Member Functions | |
| None | set_focused (self, bool focused) |
| Update the item's focused state and visual presentation. | |
| None | activate (self) |
| Perform the item's primary action. | |
| bool | is_enabled (self) |
| Return whether the item can currently receive focus. | |
Interface implemented by a panel item that can receive focus.
| bool ui.focusable_item_if.FocusableItemIf.is_enabled | ( | self | ) |
Return whether the item can currently receive focus.
| None ui.focusable_item_if.FocusableItemIf.set_focused | ( | self, | |
| bool | focused | ||
| ) |
Update the item's focused state and visual presentation.
| focused | True when the item should present keyboard focus. |