powered by
a widget has focus if it will receive input events
For some widgets, this sets user focus (e.g. gedit gets focus for typing). For others, settig the focus calls the raise methods. (for gwindow, it will raise the window)
focus(obj)# S3 method for default focus(obj)focus(obj) <- valuefocus(obj) <- value
# S3 method for default focus(obj)
focus(obj) <- value
object
logical. Set focus state.