From bb3af7c0553eefbf443ddf956b4a52a0ee1fd40f Mon Sep 17 00:00:00 2001 Message-Id: From: Cole Robinson Date: Tue, 15 Jan 2013 18:57:13 -0500 Subject: [PATCH] Fix introspection for send_keys Without this I can't find a usable way to call this API with the introspected python bindings. https://bugs.freedesktop.org/show_bug.cgi?id=59444 --- gtk/spice-widget.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index e33a440..9cfb683 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -1330,6 +1330,17 @@ static guint get_scancode_from_keyval(SpiceDisplay *display, guint keyval) return vnc_display_keymap_gdk2xtkbd(d->keycode_map, d->keycode_maplen, keycode); } + +/** + * spice_display_send_keys: + * @display: The #SpiceDisplay + * @keyvals: (array length=nkeyvals): Keyval array + * @nkeyvals: Length of keyvals + * @kind: #SpiceDisplayKeyEvent action + * + * Send keyval press/release events to the display. + * + **/ void spice_display_send_keys(SpiceDisplay *display, const guint *keyvals, int nkeyvals, SpiceDisplayKeyEvent kind) { -- 1.8.1