Learn R Programming

gWidgets2 (version 1.0-9)

focus: Does widget have focus

Description

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)

Usage

focus(obj)

# S3 method for default focus(obj)

focus(obj) <- value

focus(obj) <- value

Arguments

obj

object

value

logical. Set focus state.