2009-01-29 09:53:03 -05:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2009 Intel Corporation.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but
|
|
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2014-01-11 20:42:06 -05:00
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2009-01-29 09:53:03 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef META_KEYBINDINGS_H
|
|
|
|
#define META_KEYBINDINGS_H
|
|
|
|
|
2011-03-05 19:29:12 -05:00
|
|
|
#include <meta/display.h>
|
|
|
|
#include <meta/common.h>
|
2009-01-29 09:53:03 -05:00
|
|
|
|
2011-11-04 14:18:57 -04:00
|
|
|
#define META_TYPE_KEY_BINDING (meta_key_binding_get_type ())
|
|
|
|
|
2019-01-22 21:25:35 -05:00
|
|
|
META_EXPORT
|
2011-11-04 14:18:57 -04:00
|
|
|
const char *meta_key_binding_get_name (MetaKeyBinding *binding);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-05-27 10:03:43 -04:00
|
|
|
ClutterModifierType meta_key_binding_get_modifiers (MetaKeyBinding *binding);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2011-11-04 14:18:57 -04:00
|
|
|
guint meta_key_binding_get_mask (MetaKeyBinding *binding);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2012-11-16 18:32:04 -05:00
|
|
|
gboolean meta_key_binding_is_builtin (MetaKeyBinding *binding);
|
2019-01-22 21:25:35 -05:00
|
|
|
|
|
|
|
META_EXPORT
|
2014-05-29 14:38:13 -04:00
|
|
|
gboolean meta_key_binding_is_reversed (MetaKeyBinding *binding);
|
|
|
|
|
2019-01-22 21:25:35 -05:00
|
|
|
META_EXPORT
|
2009-01-29 10:07:57 -05:00
|
|
|
gboolean meta_keybindings_set_custom_handler (const gchar *name,
|
|
|
|
MetaKeyHandlerFunc handler,
|
|
|
|
gpointer user_data,
|
2009-03-25 10:50:40 -04:00
|
|
|
GDestroyNotify free_data);
|
2009-01-29 09:53:03 -05:00
|
|
|
#endif
|