Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

focus

Does widget have focus


Description

a widget has focus if it will receive input events

Basic S3 method

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)

Basic S3 method for focus

Usage

focus(obj)

## Default S3 method:
focus(obj)

focus(obj) <- value

focus(obj) <- value

Arguments

obj

object

value

logical. Set focus state.


gWidgets2

Rewrite of gWidgets API for Simplified GUI Construction

v1.0-8
GPL (>= 3)
Authors
John Verzani
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.