Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkwaylandpopup.h
Go to the documentation of this file.
1/* GDK - The GIMP Drawing Kit
2 * Copyright (C) 2013 Jan Arne Petersen
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 License, 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
18#pragma once
19
20#if !defined (__GDKWAYLAND_H_INSIDE__) && !defined (GTK_COMPILATION)
21#error "Only <gdk/wayland/gdkwayland.h> can be included directly."
22#endif
23
24#include <gdk/gdk.h>
26
27#include <wayland-client.h>
28
30
31#ifdef GTK_COMPILATION
32typedef struct _GdkWaylandPopup GdkWaylandPopup;
33#else
34typedef GdkPopup GdkWaylandPopup;
35#endif
36
37#define GDK_TYPE_WAYLAND_POPUP (gdk_wayland_popup_get_type())
38#define GDK_WAYLAND_POPUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WAYLAND_POPUP, GdkWaylandPopup))
39#define GDK_IS_WAYLAND_POPUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_POPUP))
40
43
#define GDK_AVAILABLE_IN_ALL
G_BEGIN_DECLS typedef GdkPopup GdkWaylandPopup
GDK_AVAILABLE_IN_ALL GType gdk_wayland_popup_get_type(void)
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
gsize GType
Definition gtype.h:427