This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgtkapplicationaccelsprivate.h
54 lines (42 loc) · 2.24 KB
/
gtkapplicationaccelsprivate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
* Copyright © 2013 Canonical Limited
* Copyright © 2016 Sébastien Wilmet
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the licence, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Authors: Ryan Lortie <[email protected]>
* Sébastien Wilmet <[email protected]>
*/
#ifndef __GTK_APPLICATION_ACCELS_H__
#define __GTK_APPLICATION_ACCELS_H__
#include <gio/gio.h>
#include "gtkwindowprivate.h"
G_BEGIN_DECLS
#define GTK_TYPE_APPLICATION_ACCELS (gtk_application_accels_get_type ())
G_DECLARE_FINAL_TYPE (GtkApplicationAccels, gtk_application_accels,
GTK, APPLICATION_ACCELS,
GObject)
GtkApplicationAccels *
gtk_application_accels_new (void);
void gtk_application_accels_set_accels_for_action (GtkApplicationAccels *accels,
const char *detailed_action_name,
const char * const *accelerators);
char ** gtk_application_accels_get_accels_for_action (GtkApplicationAccels *accels,
const char *detailed_action_name);
char ** gtk_application_accels_get_actions_for_accel (GtkApplicationAccels *accels,
const char *accel);
char ** gtk_application_accels_list_action_descriptions (GtkApplicationAccels *accels);
GListModel * gtk_application_accels_get_shortcuts (GtkApplicationAccels *accels);
G_END_DECLS
#endif /* __GTK_APPLICATION_ACCELS_H__ */