The GdkEvent Framework


A GdkEvent represents a hardware-level event in GDK.


In RGtk2, R objects corresponding to GdkEvents inherit from the GdkEvent class. A GdkEvent is not a GObject, but there are many specific event types that extend from the GdkEvent base S3 class. Specific event fields may be accessed in the same way as the fields of any external object in RGtk2 (via the [[ operator).


While functions exist to create GdkEvents, there is currently no way in RGtk2 to set the event fields, so the functions are useless. If the user has some strange motivation to create hardware events in R, please contact the author.


Michael Lawrence

See Also

gdk-Event-Structures gdk-Events

Want to suggest features or report bugs for Use the GitHub issue tracker. Vote for new features on Trello.

comments powered by Disqus