Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkapplicationwindow.h
Go to the documentation of this file.
1/*
2 * Copyright © 2011 Canonical Limited
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the licence, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 *
17 * Author: Ryan Lortie <desrt@desrt.ca>
18 */
19
20#pragma once
21
22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
24#endif
25
26#include <gtk/gtkwindow.h>
28
30
31#define GTK_TYPE_APPLICATION_WINDOW (gtk_application_window_get_type ())
32#define GTK_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
33 GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindow))
34#define GTK_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
35 GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass))
36#define GTK_IS_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
37 GTK_TYPE_APPLICATION_WINDOW))
38#define GTK_IS_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
39 GTK_TYPE_APPLICATION_WINDOW))
40#define GTK_APPLICATION_WINDOW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
41 GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass))
42
45
50
51/**
52 * GtkApplicationWindowClass:
53 * @parent_class: The parent class.
54 */
62
67
70 gboolean show_menubar);
73
76
79 GtkShortcutsWindow *help_overlay);
83
85
87
#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
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL void gtk_application_window_set_show_menubar(GtkApplicationWindow *window, gboolean show_menubar)
GDK_AVAILABLE_IN_ALL guint gtk_application_window_get_id(GtkApplicationWindow *window)
GDK_AVAILABLE_IN_ALL GtkShortcutsWindow * gtk_application_window_get_help_overlay(GtkApplicationWindow *window)
GDK_AVAILABLE_IN_ALL GType gtk_application_window_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL void gtk_application_window_set_help_overlay(GtkApplicationWindow *window, GtkShortcutsWindow *help_overlay)
GDK_AVAILABLE_IN_ALL GtkWidget * gtk_application_window_new(GtkApplication *application)
GDK_AVAILABLE_IN_ALL gboolean gtk_application_window_get_show_menubar(GtkApplicationWindow *window)
struct _GtkShortcutsWindow GtkShortcutsWindow
gsize GType
Definition gtype.h:427
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
unsigned int guint
Definition gtypes.h:61