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

gtkWindowSetFocus

gtkWindowSetFocus


Description

If focus is not the current focus widget, and is focusable, sets it as the focus widget for the window. If focus is NULL, unsets the focus widget for this window. To set the focus to a particular widget in the toplevel, it is usually more convenient to use gtkWidgetGrabFocus instead of this function.

Usage

gtkWindowSetFocus(object, focus = NULL)

Arguments

object

a GtkWindow

focus

widget to be the new focus widget, or NULL to unset any focus widget for the toplevel window. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

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