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

gtkTestWidgetSendKey

gtkTestWidgetSendKey


Description

This function will generate keyboard press and release events in the middle of the first GdkWindow found that belongs to widget. For GTK_NO_WINDOW widgets like GtkButton, this will often be an input-only event window. For other widgets, this is usually widget->window. Certain caveats should be considered when using this function, in particular because the mouse pointer is warped to the key press location, see gdkTestSimulateKey for details.

Usage

gtkTestWidgetSendKey(widget, keyval, modifiers)

Arguments

widget

Widget to generate a key press and release on.

keyval

A Gdk keyboard value.

modifiers

Keyboard modifiers the event is setup with.

Details

Since 2.14

Value

[logical] wether all actions neccessary for the key event simulation were carried out successfully.

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.