2009-01-29 14:53:03 +00: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-12 01:42:06 +00:00
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2009-01-29 14:53:03 +00:00
|
|
|
*/
|
|
|
|
|
2023-07-21 13:37:20 +00:00
|
|
|
#pragma once
|
2009-01-29 14:53:03 +00:00
|
|
|
|
2024-01-05 09:15:20 +00:00
|
|
|
#include "meta/display.h"
|
|
|
|
#include "meta/common.h"
|
2009-01-29 14:53:03 +00:00
|
|
|
|
2011-11-04 18:18:57 +00:00
|
|
|
#define META_TYPE_KEY_BINDING (meta_key_binding_get_type ())
|
|
|
|
|
2019-01-23 02:25:35 +00:00
|
|
|
META_EXPORT
|
2011-11-04 18:18:57 +00:00
|
|
|
const char *meta_key_binding_get_name (MetaKeyBinding *binding);
|
2019-01-23 02:25:35 +00:00
|
|
|
|
|
|
|
META_EXPORT
|
2022-05-27 14:03:43 +00:00
|
|
|
ClutterModifierType meta_key_binding_get_modifiers (MetaKeyBinding *binding);
|
2019-01-23 02:25:35 +00:00
|
|
|
|
|
|
|
META_EXPORT
|
2011-11-04 18:18:57 +00:00
|
|
|
guint meta_key_binding_get_mask (MetaKeyBinding *binding);
|
2019-01-23 02:25:35 +00:00
|
|
|
|
|
|
|
META_EXPORT
|
2012-11-16 23:32:04 +00:00
|
|
|
gboolean meta_key_binding_is_builtin (MetaKeyBinding *binding);
|
2019-01-23 02:25:35 +00:00
|
|
|
|
|
|
|
META_EXPORT
|
2014-05-29 18:38:13 +00:00
|
|
|
gboolean meta_key_binding_is_reversed (MetaKeyBinding *binding);
|
|
|
|
|
2019-01-23 02:25:35 +00:00
|
|
|
META_EXPORT
|
2009-01-29 15:07:57 +00:00
|
|
|
gboolean meta_keybindings_set_custom_handler (const gchar *name,
|
|
|
|
MetaKeyHandlerFunc handler,
|
|
|
|
gpointer user_data,
|
2009-03-25 14:50:40 +00:00
|
|
|
GDestroyNotify free_data);
|