From 9209c9b4079c890cd5e04219ee4d55d275867cad Mon Sep 17 00:00:00 2001 From: Gord Allott Date: Mon, 26 Jul 2010 16:59:00 +0100 Subject: added gtkhotkey bindings (bzr r403.8.1) --- vapi/gtkhotkey-1.0.vapi | 78 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 vapi/gtkhotkey-1.0.vapi (limited to 'vapi') diff --git a/vapi/gtkhotkey-1.0.vapi b/vapi/gtkhotkey-1.0.vapi new file mode 100644 index 000000000..b70cfa350 --- /dev/null +++ b/vapi/gtkhotkey-1.0.vapi @@ -0,0 +1,78 @@ +/* gtkhotkey-1.0.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "GtkHotkey", lower_case_cprefix = "gtk_hotkey_")] +namespace GtkHotkey { + [CCode (cheader_filename = "gtkhotkey-1.0.h")] + public class Info : GLib.Object { + [CCode (has_construct_function = false)] + public Info (string app_id, string key_id, string signature, GLib.AppInfo app_info); + public bool bind () throws GLib.Error; + [CCode (cname = "gtk_hotkey_info_activated")] + public void do_activated (uint event_time); + public bool equals (GtkHotkey.Info hotkey2, bool sloppy_equals); + public unowned GLib.AppInfo get_app_info (); + public unowned string get_application_id (); + public unowned string get_description (); + public unowned string get_key_id (); + public unowned string get_signature (); + public bool is_bound (); + public void set_description (string description); + public bool unbind () throws GLib.Error; + public GLib.AppInfo app_info { get; construct; } + public string application_id { get; construct; } + [NoAccessorMethod] + public bool bound { get; } + public string description { get; set; } + public string key_id { get; construct; } + public string signature { get; construct; } + public virtual signal void activated (uint p0); + } + [CCode (cheader_filename = "gtkhotkey-1.0.h")] + public class KeyFileRegistry : GtkHotkey.Registry { + } + [CCode (cheader_filename = "gtkhotkey-1.0.h")] + public class Listener : GLib.Object { + public virtual bool bind_hotkey (GtkHotkey.Info hotkey) throws GLib.Error; + [CCode (cname = "gtk_hotkey_listener_activated")] + public void do_activated (GtkHotkey.Info hotkey, uint event_time); + public static GLib.Quark error_quark (); + public static unowned GtkHotkey.Listener get_default (); + public virtual bool unbind_hotkey (GtkHotkey.Info hotkey) throws GLib.Error; + public virtual signal void activated (GtkHotkey.Info p0, uint p1); + } + [CCode (cheader_filename = "gtkhotkey-1.0.h")] + public class Registry : GLib.Object { + public virtual bool delete_hotkey (string app_id, string key_id) throws GLib.Error; + [CCode (cname = "gtk_hotkey_registry_hotkey_deleted")] + public void do_hotkey_deleted (GtkHotkey.Info hotkey); + [CCode (cname = "gtk_hotkey_registry_hotkey_stored")] + public void do_hotkey_stored (GtkHotkey.Info hotkey); + public static GLib.Quark error_quark (); + public virtual unowned GLib.List get_all_hotkeys (); + public virtual unowned GLib.List get_application_hotkeys (string app_id) throws GLib.Error; + public static unowned GtkHotkey.Registry get_default (); + public virtual unowned GtkHotkey.Info get_hotkey (string app_id, string key_id) throws GLib.Error; + public virtual bool has_hotkey (string app_id, string key_id); + public virtual bool store_hotkey (GtkHotkey.Info info) throws GLib.Error; + public virtual signal void hotkey_deleted (GLib.Object info); + public virtual signal void hotkey_stored (GLib.Object info); + } + [CCode (cheader_filename = "gtkhotkey-1.0.h")] + public class X11Listener : GtkHotkey.Listener { + } + [CCode (cprefix = "GTK_HOTKEY_LISTENER_ERROR_", has_type_id = false, cheader_filename = "gtkhotkey-1.0.h")] + public enum ListenerError { + BIND, + UNBIND + } + [CCode (cprefix = "GTK_HOTKEY_REGISTRY_ERROR_", has_type_id = false, cheader_filename = "gtkhotkey-1.0.h")] + public enum RegistryError { + UNKNOWN_APP, + UNKNOWN_KEY, + MALFORMED_MEDIUM, + IO, + UNKNOWN, + BAD_SIGNATURE, + MISSING_APP + } +} -- cgit v1.2.3 From 3d6e06ffd295458f4d6f4a1bc63992603f0ee800 Mon Sep 17 00:00:00 2001 From: Gord Allott Date: Fri, 30 Jul 2010 15:02:17 +0100 Subject: keyboard navigation support (bzr r403.8.2) --- vapi/gtkhotkey-1.0.vapi | 12 ++++++------ vapi/mutter-2.28.vapi | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'vapi') diff --git a/vapi/gtkhotkey-1.0.vapi b/vapi/gtkhotkey-1.0.vapi index b70cfa350..170750d35 100644 --- a/vapi/gtkhotkey-1.0.vapi +++ b/vapi/gtkhotkey-1.0.vapi @@ -2,10 +2,10 @@ [CCode (cprefix = "GtkHotkey", lower_case_cprefix = "gtk_hotkey_")] namespace GtkHotkey { - [CCode (cheader_filename = "gtkhotkey-1.0.h")] + [CCode (cheader_filename = "gtkhotkey.h")] public class Info : GLib.Object { [CCode (has_construct_function = false)] - public Info (string app_id, string key_id, string signature, GLib.AppInfo app_info); + public Info (string app_id, string key_id, string signature, GLib.AppInfo? app_info); public bool bind () throws GLib.Error; [CCode (cname = "gtk_hotkey_info_activated")] public void do_activated (uint event_time); @@ -27,10 +27,10 @@ namespace GtkHotkey { public string signature { get; construct; } public virtual signal void activated (uint p0); } - [CCode (cheader_filename = "gtkhotkey-1.0.h")] + [CCode (cheader_filename = "gtkhotkey.h")] public class KeyFileRegistry : GtkHotkey.Registry { } - [CCode (cheader_filename = "gtkhotkey-1.0.h")] + [CCode (cheader_filename = "gtkhotkey.h")] public class Listener : GLib.Object { public virtual bool bind_hotkey (GtkHotkey.Info hotkey) throws GLib.Error; [CCode (cname = "gtk_hotkey_listener_activated")] @@ -40,7 +40,7 @@ namespace GtkHotkey { public virtual bool unbind_hotkey (GtkHotkey.Info hotkey) throws GLib.Error; public virtual signal void activated (GtkHotkey.Info p0, uint p1); } - [CCode (cheader_filename = "gtkhotkey-1.0.h")] + [CCode (cheader_filename = "gtkhotkey.h")] public class Registry : GLib.Object { public virtual bool delete_hotkey (string app_id, string key_id) throws GLib.Error; [CCode (cname = "gtk_hotkey_registry_hotkey_deleted")] @@ -57,7 +57,7 @@ namespace GtkHotkey { public virtual signal void hotkey_deleted (GLib.Object info); public virtual signal void hotkey_stored (GLib.Object info); } - [CCode (cheader_filename = "gtkhotkey-1.0.h")] + [CCode (cheader_filename = "gtkhotkey.h")] public class X11Listener : GtkHotkey.Listener { } [CCode (cprefix = "GTK_HOTKEY_LISTENER_ERROR_", has_type_id = false, cheader_filename = "gtkhotkey-1.0.h")] diff --git a/vapi/mutter-2.28.vapi b/vapi/mutter-2.28.vapi index 502e87381..af85d4ea4 100644 --- a/vapi/mutter-2.28.vapi +++ b/vapi/mutter-2.28.vapi @@ -130,6 +130,9 @@ namespace Mutter { public static void set_input_focus_window (Mutter.MetaDisplay display, Mutter.MetaWindow window, bool focus_frame, uint32 timestamp); [CCode (cname = "meta_display_xwindow_is_a_no_focus_window")] public static bool xwindow_is_a_no_focus_window (Mutter.MetaDisplay display, X.Window xwindow); + + public signal void overlay_key (); + public signal void overlay_key_down (); } [Compact] [CCode (cheader_filename = "mutter-plugins.h")] -- cgit v1.2.3 From bfbdb930b119430b8bbea3708a1c258674a7f101 Mon Sep 17 00:00:00 2001 From: Gord Allott Date: Thu, 12 Aug 2010 12:41:51 +0100 Subject: full keyboard navigation support, requires patched mutter (bzr r403.8.6) --- vapi/mutter-2.28.vapi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vapi') diff --git a/vapi/mutter-2.28.vapi b/vapi/mutter-2.28.vapi index f6ee4f4c4..79b8b7ea7 100644 --- a/vapi/mutter-2.28.vapi +++ b/vapi/mutter-2.28.vapi @@ -130,9 +130,11 @@ namespace Mutter { public static void set_input_focus_window (Mutter.MetaDisplay display, Mutter.MetaWindow window, bool focus_frame, uint32 timestamp); [CCode (cname = "meta_display_xwindow_is_a_no_focus_window")] public static bool xwindow_is_a_no_focus_window (Mutter.MetaDisplay display, X.Window xwindow); - + public signal void overlay_key (); public signal void overlay_key_down (); + public signal void overlay_key_with_modifier (uint keysym); + public signal void overlay_key_with_modifier_down (uint keysym); } [Compact] [CCode (cheader_filename = "mutter-plugins.h")] -- cgit v1.2.3 From 901b12566adade7d0418a3c15ed8d5c1e13db050 Mon Sep 17 00:00:00 2001 From: Gord Allott Date: Thu, 12 Aug 2010 13:29:12 +0100 Subject: removed gtk hotkey (bzr r403.8.7) --- vapi/gtkhotkey-1.0.vapi | 78 ------------------------------------------------- 1 file changed, 78 deletions(-) delete mode 100644 vapi/gtkhotkey-1.0.vapi (limited to 'vapi') diff --git a/vapi/gtkhotkey-1.0.vapi b/vapi/gtkhotkey-1.0.vapi deleted file mode 100644 index 170750d35..000000000 --- a/vapi/gtkhotkey-1.0.vapi +++ /dev/null @@ -1,78 +0,0 @@ -/* gtkhotkey-1.0.vapi generated by vapigen, do not modify. */ - -[CCode (cprefix = "GtkHotkey", lower_case_cprefix = "gtk_hotkey_")] -namespace GtkHotkey { - [CCode (cheader_filename = "gtkhotkey.h")] - public class Info : GLib.Object { - [CCode (has_construct_function = false)] - public Info (string app_id, string key_id, string signature, GLib.AppInfo? app_info); - public bool bind () throws GLib.Error; - [CCode (cname = "gtk_hotkey_info_activated")] - public void do_activated (uint event_time); - public bool equals (GtkHotkey.Info hotkey2, bool sloppy_equals); - public unowned GLib.AppInfo get_app_info (); - public unowned string get_application_id (); - public unowned string get_description (); - public unowned string get_key_id (); - public unowned string get_signature (); - public bool is_bound (); - public void set_description (string description); - public bool unbind () throws GLib.Error; - public GLib.AppInfo app_info { get; construct; } - public string application_id { get; construct; } - [NoAccessorMethod] - public bool bound { get; } - public string description { get; set; } - public string key_id { get; construct; } - public string signature { get; construct; } - public virtual signal void activated (uint p0); - } - [CCode (cheader_filename = "gtkhotkey.h")] - public class KeyFileRegistry : GtkHotkey.Registry { - } - [CCode (cheader_filename = "gtkhotkey.h")] - public class Listener : GLib.Object { - public virtual bool bind_hotkey (GtkHotkey.Info hotkey) throws GLib.Error; - [CCode (cname = "gtk_hotkey_listener_activated")] - public void do_activated (GtkHotkey.Info hotkey, uint event_time); - public static GLib.Quark error_quark (); - public static unowned GtkHotkey.Listener get_default (); - public virtual bool unbind_hotkey (GtkHotkey.Info hotkey) throws GLib.Error; - public virtual signal void activated (GtkHotkey.Info p0, uint p1); - } - [CCode (cheader_filename = "gtkhotkey.h")] - public class Registry : GLib.Object { - public virtual bool delete_hotkey (string app_id, string key_id) throws GLib.Error; - [CCode (cname = "gtk_hotkey_registry_hotkey_deleted")] - public void do_hotkey_deleted (GtkHotkey.Info hotkey); - [CCode (cname = "gtk_hotkey_registry_hotkey_stored")] - public void do_hotkey_stored (GtkHotkey.Info hotkey); - public static GLib.Quark error_quark (); - public virtual unowned GLib.List get_all_hotkeys (); - public virtual unowned GLib.List get_application_hotkeys (string app_id) throws GLib.Error; - public static unowned GtkHotkey.Registry get_default (); - public virtual unowned GtkHotkey.Info get_hotkey (string app_id, string key_id) throws GLib.Error; - public virtual bool has_hotkey (string app_id, string key_id); - public virtual bool store_hotkey (GtkHotkey.Info info) throws GLib.Error; - public virtual signal void hotkey_deleted (GLib.Object info); - public virtual signal void hotkey_stored (GLib.Object info); - } - [CCode (cheader_filename = "gtkhotkey.h")] - public class X11Listener : GtkHotkey.Listener { - } - [CCode (cprefix = "GTK_HOTKEY_LISTENER_ERROR_", has_type_id = false, cheader_filename = "gtkhotkey-1.0.h")] - public enum ListenerError { - BIND, - UNBIND - } - [CCode (cprefix = "GTK_HOTKEY_REGISTRY_ERROR_", has_type_id = false, cheader_filename = "gtkhotkey-1.0.h")] - public enum RegistryError { - UNKNOWN_APP, - UNKNOWN_KEY, - MALFORMED_MEDIUM, - IO, - UNKNOWN, - BAD_SIGNATURE, - MISSING_APP - } -} -- cgit v1.2.3 From b26819874d220bdbe7a42647b9340a1243e0afc6 Mon Sep 17 00:00:00 2001 From: "jassmith@gmail.com" <> Date: Wed, 18 Aug 2010 17:43:21 -0400 Subject: enable non gl picking in unity (bzr r440) --- vapi/clutter-1.0.vapi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vapi') diff --git a/vapi/clutter-1.0.vapi b/vapi/clutter-1.0.vapi index bac197fd5..6c3a49fd8 100644 --- a/vapi/clutter-1.0.vapi +++ b/vapi/clutter-1.0.vapi @@ -5654,6 +5654,8 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static bool get_motion_events_enabled (); [CCode (cheader_filename = "clutter/clutter.h")] + public static bool get_gl_picking_enabled (); + [CCode (cheader_filename = "clutter/clutter.h")] public static GLib.OptionGroup get_option_group (); [CCode (cheader_filename = "clutter/clutter.h")] public static GLib.OptionGroup get_option_group_without_init (); @@ -5698,6 +5700,8 @@ namespace Clutter { [CCode (cheader_filename = "clutter/clutter.h")] public static void set_motion_events_enabled (bool enable); [CCode (cheader_filename = "clutter/clutter.h")] + public static void set_gl_picking_enabled (bool enable); + [CCode (cheader_filename = "clutter/clutter.h")] public static uint threads_add_frame_source (uint fps, GLib.SourceFunc func, void* data); [CCode (cheader_filename = "clutter/clutter.h")] public static uint threads_add_frame_source_full (int priority, uint fps, GLib.SourceFunc func, void* data, GLib.DestroyNotify notify); -- cgit v1.2.3