Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkwaylanddisplay.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>
25
26#include <wayland-client.h>
27
29
30#ifdef GTK_COMPILATION
31typedef struct _GdkWaylandDisplay GdkWaylandDisplay;
32#else
34#endif
35typedef struct _GdkWaylandDisplayClass GdkWaylandDisplayClass;
36
37#define GDK_TYPE_WAYLAND_DISPLAY (gdk_wayland_display_get_type())
38#define GDK_WAYLAND_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_WAYLAND_DISPLAY, GdkWaylandDisplay))
39#define GDK_WAYLAND_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_WAYLAND_DISPLAY, GdkWaylandDisplayClass))
40#define GDK_IS_WAYLAND_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_WAYLAND_DISPLAY))
41#define GDK_IS_WAYLAND_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_WAYLAND_DISPLAY))
42#define GDK_WAYLAND_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_WAYLAND_DISPLAY, GdkWaylandDisplayClass))
43
46
48struct wl_display *gdk_wayland_display_get_wl_display (GdkDisplay *display);
50struct wl_compositor *gdk_wayland_display_get_wl_compositor (GdkDisplay *display);
53 const char *name,
54 int size);
59 const char *startup_id);
60
63 const char *global);
64
67
69
#define GDK_AVAILABLE_IN_4_4
#define GDK_DEPRECATED_IN_4_10
#define GDK_DEPRECATED_IN_4_16
#define GDK_DEPRECATED_IN_4_10_FOR(f)
#define GDK_AVAILABLE_IN_ALL
GDK_AVAILABLE_IN_ALL void gdk_toplevel_set_startup_id(GdkToplevel *toplevel, const char *startup_id)
struct _GdkDisplay GdkDisplay
Definition gdktypes.h:90
void gdk_wayland_display_set_startup_notification_id(GdkDisplay *display, const char *startup_id)
GDK_DEPRECATED_IN_4_10 const char * gdk_wayland_display_get_startup_notification_id(GdkDisplay *display)
struct _GdkWaylandDisplayClass GdkWaylandDisplayClass
GDK_AVAILABLE_IN_ALL struct wl_compositor * gdk_wayland_display_get_wl_compositor(GdkDisplay *display)
GDK_AVAILABLE_IN_ALL gboolean gdk_wayland_display_query_registry(GdkDisplay *display, const char *global)
G_BEGIN_DECLS typedef GdkDisplay GdkWaylandDisplay
GDK_AVAILABLE_IN_ALL struct wl_display * gdk_wayland_display_get_wl_display(GdkDisplay *display)
GDK_AVAILABLE_IN_4_4 gpointer gdk_wayland_display_get_egl_display(GdkDisplay *display)
GDK_DEPRECATED_IN_4_16 void gdk_wayland_display_set_cursor_theme(GdkDisplay *display, const char *name, int size)
GDK_AVAILABLE_IN_ALL GType gdk_wayland_display_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
gint gboolean
Definition gtypes.h:56
void * gpointer
Definition gtypes.h:109
const char * name
Definition lsqlite3.c:2154