Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkshortcutlabel.h
Go to the documentation of this file.
1/* gtkshortcutlabelprivate.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#include <gtk/gtkwidget.h>
22
24
25#define GTK_TYPE_SHORTCUT_LABEL (gtk_shortcut_label_get_type())
26#define GTK_SHORTCUT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUT_LABEL, GtkShortcutLabel))
27#define GTK_IS_SHORTCUT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUT_LABEL))
28
29
30typedef struct _GtkShortcutLabel GtkShortcutLabel;
31typedef struct _GtkShortcutLabelClass GtkShortcutLabelClass;
32
35
37GtkWidget *gtk_shortcut_label_new (const char *accelerator);
38
41
44 const char *accelerator);
45
48
51 const char *disabled_text);
52
54
#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_shortcut_label_get_type(void) G_GNUC_CONST
struct _GtkShortcutLabel GtkShortcutLabel
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_shortcut_label_new(const char *accelerator)
GDK_AVAILABLE_IN_ALL void gtk_shortcut_label_set_disabled_text(GtkShortcutLabel *self, const char *disabled_text)
struct _GtkShortcutLabelClass GtkShortcutLabelClass
GDK_AVAILABLE_IN_ALL void gtk_shortcut_label_set_accelerator(GtkShortcutLabel *self, const char *accelerator)
GDK_AVAILABLE_IN_ALL const char * gtk_shortcut_label_get_disabled_text(GtkShortcutLabel *self)
GDK_AVAILABLE_IN_ALL const char * gtk_shortcut_label_get_accelerator(GtkShortcutLabel *self)
gsize GType
Definition gtype.h:427