Updated docs
There is still stuff to do
This commit is contained in:
15
docs/objects/Frame/setFocusedObject.md
Normal file
15
docs/objects/Frame/setFocusedObject.md
Normal file
@@ -0,0 +1,15 @@
|
||||
## setFocusedObject
|
||||
Sets the currently focused object
|
||||
|
||||
#### Parameters:
|
||||
1. `object` The child object to focus on
|
||||
|
||||
#### Returns:
|
||||
1. `frame` The frame being used
|
||||
|
||||
#### Usage:
|
||||
* Creates a new button, sets the focused object to the previously mentioned button
|
||||
```lua
|
||||
local aButton = myFrame:addButton()
|
||||
myFrame:setFocusedObject(aButton)
|
||||
```
|
||||
Reference in New Issue
Block a user