Line |
Branch |
Exec |
Source |
1 |
|
|
/* |
2 |
|
|
* gsd-wacom-key-shortcut-button.h |
3 |
|
|
* |
4 |
|
|
* Copyright © 2013 Red Hat, Inc. |
5 |
|
|
* |
6 |
|
|
* Author: Joaquim Rocha <jrocha@redhat.com> |
7 |
|
|
* |
8 |
|
|
* This program is free software; you can redistribute it and/or modify |
9 |
|
|
* it under the terms of the GNU General Public License as published by |
10 |
|
|
* the Free Software Foundation; either version 2 of the License, or |
11 |
|
|
* (at your option) any later version. |
12 |
|
|
* |
13 |
|
|
* This program is distributed in the hope that it will be useful, |
14 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
|
|
* GNU General Public License for more details. |
17 |
|
|
* |
18 |
|
|
* You should have received a copy of the GNU General Public License |
19 |
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>. |
20 |
|
|
*/ |
21 |
|
|
|
22 |
|
|
#pragma once |
23 |
|
|
|
24 |
|
|
#include <gtk/gtk.h> |
25 |
|
|
|
26 |
|
|
G_BEGIN_DECLS |
27 |
|
|
|
28 |
|
|
#define GSD_WACOM_TYPE_KEY_SHORTCUT_BUTTON (gsd_wacom_key_shortcut_button_get_type ()) |
29 |
|
✗ |
G_DECLARE_FINAL_TYPE (GsdWacomKeyShortcutButton, gsd_wacom_key_shortcut_button, GSD, WACOM_KEY_SHORTCUT_BUTTON, GtkButton) |
30 |
|
|
|
31 |
|
|
GType gsd_wacom_key_shortcut_button_mode_type (void) G_GNUC_CONST; |
32 |
|
|
#define GSD_WACOM_TYPE_KEY_SHORTCUT_BUTTON_MODE (gsd_wacom_key_shortcut_button_mode_type ()) |
33 |
|
|
|
34 |
|
|
typedef enum |
35 |
|
|
{ |
36 |
|
|
GSD_WACOM_KEY_SHORTCUT_BUTTON_MODE_OTHER, |
37 |
|
|
GSD_WACOM_KEY_SHORTCUT_BUTTON_MODE_ALL |
38 |
|
|
} GsdWacomKeyShortcutButtonMode; |
39 |
|
|
|
40 |
|
|
GtkWidget * gsd_wacom_key_shortcut_button_new (void); |
41 |
|
|
|