Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gdkx11surface.h
Go to the documentation of this file.
1/* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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/*
19 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23 */
24
25#pragma once
26
27#if !defined (__GDKX_H_INSIDE__) && !defined (GTK_COMPILATION)
28#error "Only <gdk/x11/gdkx.h> can be included directly."
29#endif
30
31#include <gdk/gdk.h>
32
33#include <X11/Xlib.h>
34#include <X11/Xutil.h>
35
37
38#define GDK_TYPE_X11_SURFACE (gdk_x11_surface_get_type ())
39#define GDK_X11_SURFACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_X11_SURFACE, GdkX11Surface))
40#define GDK_X11_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_X11_SURFACE, GdkX11SurfaceClass))
41#define GDK_IS_X11_SURFACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_X11_SURFACE))
42#define GDK_IS_X11_SURFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_X11_SURFACE))
43#define GDK_X11_SURFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_X11_SURFACE, GdkX11SurfaceClass))
44
45#ifdef GTK_COMPILATION
46typedef struct _GdkX11Surface GdkX11Surface;
47#else
49#endif
50typedef struct _GdkX11SurfaceClass GdkX11SurfaceClass;
51
54
59 guint32 timestamp);
62 const char *name,
63 const char *value);
66 const char *variant);
69
74 guint32 desktop);
75
78 gboolean frame_sync_enabled);
79
80/**
81 * GDK_SURFACE_XDISPLAY:
82 * @win: a `GdkSurface`
83 *
84 * Returns the display of a `GdkSurface`.
85 *
86 * Returns: an Xlib Display*.
87 */
88#define GDK_SURFACE_XDISPLAY(win) (GDK_DISPLAY_XDISPLAY (gdk_surface_get_display (win)))
89
90/**
91 * GDK_SURFACE_XID:
92 * @win: a `GdkSurface`
93 *
94 * Returns the X window belonging to a `GdkSurface`.
95 *
96 * Returns: the Xlib Window of @win.
97 */
98#define GDK_SURFACE_XID(win) (gdk_x11_surface_get_xid (win))
99
102
105 Window window);
106
109 gboolean skips_taskbar);
112 gboolean skips_pager);
115 gboolean urgent);
116
119 GdkSurface *leader);
122
123
125
#define GDK_AVAILABLE_IN_ALL
struct _GdkDisplay GdkDisplay
Definition gdktypes.h:90
struct _GdkSurface GdkSurface
Definition gdktypes.h:91
GDK_AVAILABLE_IN_ALL GdkSurface * gdk_x11_surface_lookup_for_display(GdkDisplay *display, Window window)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_skip_pager_hint(GdkSurface *surface, gboolean skips_pager)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_skip_taskbar_hint(GdkSurface *surface, gboolean skips_taskbar)
GdkSurface GdkX11Surface
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_frame_sync_enabled(GdkSurface *surface, gboolean frame_sync_enabled)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_urgency_hint(GdkSurface *surface, gboolean urgent)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_utf8_property(GdkSurface *surface, const char *name, const char *value)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_move_to_current_desktop(GdkSurface *surface)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_theme_variant(GdkSurface *surface, const char *variant)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_move_to_desktop(GdkSurface *surface, guint32 desktop)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_group(GdkSurface *surface, GdkSurface *leader)
GDK_AVAILABLE_IN_ALL void gdk_x11_surface_set_user_time(GdkSurface *surface, guint32 timestamp)
GDK_AVAILABLE_IN_ALL GType gdk_x11_surface_get_type(void)
GDK_AVAILABLE_IN_ALL Window gdk_x11_surface_get_xid(GdkSurface *surface)
struct _GdkX11SurfaceClass GdkX11SurfaceClass
GDK_AVAILABLE_IN_ALL guint32 gdk_x11_surface_get_desktop(GdkSurface *surface)
GDK_AVAILABLE_IN_ALL guint32 gdk_x11_get_server_time(GdkSurface *surface)
GDK_AVAILABLE_IN_ALL GdkSurface * gdk_x11_surface_get_group(GdkSurface *surface)
unsigned int guint32
Definition glibconfig.h:57
#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
const char * name
Definition lsqlite3.c:2154
int value
Definition lsqlite3.c:2155