Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkshortcutsshortcut.h
Go to the documentation of this file.
1/* gtkshortcutsshortcutprivate.h
2 *
3 * Copyright (C) 2015 Christian Hergert <christian@hergert.me>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
22#error "Only <gtk/gtk.h> can be included directly."
23#endif
24
25#include <gdk/gdk.h>
26
28
29#define GTK_TYPE_SHORTCUTS_SHORTCUT (gtk_shortcuts_shortcut_get_type())
30#define GTK_SHORTCUTS_SHORTCUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_SHORTCUT, GtkShortcutsShortcut))
31#define GTK_IS_SHORTCUTS_SHORTCUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_SHORTCUT))
32
33
34typedef struct _GtkShortcutsShortcut GtkShortcutsShortcut;
35typedef struct _GtkShortcutsShortcutClass GtkShortcutsShortcutClass;
36
37/**
38 * GtkShortcutType:
39 * @GTK_SHORTCUT_ACCELERATOR:
40 * The shortcut is a keyboard accelerator. The GtkShortcutsShortcut:accelerator
41 * property will be used.
42 * @GTK_SHORTCUT_GESTURE_PINCH:
43 * The shortcut is a pinch gesture. GTK provides an icon and subtitle.
44 * @GTK_SHORTCUT_GESTURE_STRETCH:
45 * The shortcut is a stretch gesture. GTK provides an icon and subtitle.
46 * @GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE:
47 * The shortcut is a clockwise rotation gesture. GTK provides an icon and subtitle.
48 * @GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE:
49 * The shortcut is a counterclockwise rotation gesture. GTK provides an icon and subtitle.
50 * @GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT:
51 * The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
52 * @GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT:
53 * The shortcut is a two-finger swipe gesture. GTK provides an icon and subtitle.
54 * @GTK_SHORTCUT_GESTURE:
55 * The shortcut is a gesture. The GtkShortcutsShortcut:icon property will be
56 * used.
57 * @GTK_SHORTCUT_GESTURE_SWIPE_LEFT:
58 * The shortcut is a swipe gesture. GTK provides an icon and subtitle.
59 * @GTK_SHORTCUT_GESTURE_SWIPE_RIGHT:
60 * The shortcut is a swipe gesture. GTK provides an icon and subtitle.
61 *
62 * GtkShortcutType specifies the kind of shortcut that is being described.
63 *
64 * More values may be added to this enumeration over time.
65 */
78
81
83
#define GDK_AVAILABLE_IN_ALL
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
GDK_AVAILABLE_IN_ALL GType gtk_shortcuts_shortcut_get_type(void) G_GNUC_CONST
struct _GtkShortcutsShortcut GtkShortcutsShortcut
struct _GtkShortcutsShortcutClass GtkShortcutsShortcutClass
@ GTK_SHORTCUT_GESTURE_PINCH
@ GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE
@ GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT
@ GTK_SHORTCUT_GESTURE_SWIPE_LEFT
@ GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE
@ GTK_SHORTCUT_GESTURE
@ GTK_SHORTCUT_ACCELERATOR
@ GTK_SHORTCUT_GESTURE_STRETCH
@ GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT
@ GTK_SHORTCUT_GESTURE_SWIPE_RIGHT
gsize GType
Definition gtype.h:427