mirror of
https://github.com/sinbad/StevesUEHelpers.git
synced 2025-02-23 17:45:23 +00:00
Mention FocusableUserWidget in FocusablePanel docs
This commit is contained in:
parent
9545382d1b
commit
b1b790d38e
@ -3,6 +3,12 @@
|
|||||||
You can use this as a base class for your widgets instead of User Widget,
|
You can use this as a base class for your widgets instead of User Widget,
|
||||||
and get the following behaviour:
|
and get the following behaviour:
|
||||||
|
|
||||||
|
## Automatic focus
|
||||||
|
|
||||||
|
Like [Focusable User Widget](FocusableUserWidget.md) (it's a subclass) this
|
||||||
|
panel can opt in to automatically getting focus when it's opened, and getting it
|
||||||
|
back when others lose focus.
|
||||||
|
|
||||||
## Initial focus
|
## Initial focus
|
||||||
|
|
||||||
Set the Initial Focus Widget Name to the name of a focusable widget in this panel.
|
Set the Initial Focus Widget Name to the name of a focusable widget in this panel.
|
||||||
@ -11,5 +17,5 @@ When the panel os attached to the viewport, this widget will be given the focus.
|
|||||||
## Remembering focus
|
## Remembering focus
|
||||||
|
|
||||||
This widget provides `SavePreviousFocus` and `RestorePreviousFocus` methods
|
This widget provides `SavePreviousFocus` and `RestorePreviousFocus` methods
|
||||||
which can save / restore focus as needed. They are not called by default but
|
which can save / restore focus from one of its children as needed. They are
|
||||||
are used in [Menus](Menus.md).
|
not called by default but are used in [Menus](Menus.md).
|
Loading…
x
Reference in New Issue
Block a user