gtkWindowSetFocus: gtkWindowSetFocus

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

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

1
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 documentation built on Oct. 14, 2021, 5:08 p.m.