| 1 | /* GTK - The GIMP Toolkit |
| 2 | * gdkasync.h: Utility functions using the Xlib asynchronous interfaces |
| 3 | * Copyright (C) 2003, Red Hat, Inc. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2 of the 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 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #pragma once |
| 20 | |
| 21 | #include "gdkdisplay.h"cxx . . $ `<file>/gdk/gdkdisplay.h`/ |
| 22 | #include <X11/Xlib.h> |
| 23 | |
| 24 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 25 | |
| 26 | typedef struct _GdkChildInfoX11cxx . . $ _GdkChildInfoX11# GdkChildInfoX11cxx . . $ GdkChildInfoX11#; |
| 27 | |
| 28 | typedef void (*GdkSendXEventCallbackcxx . . $ GdkSendXEventCallback#) (Windowcxx . . $ Window# window, |
| 29 | gbooleancxx . . $ gboolean# success, |
| 30 | gpointercxx . . $ gpointer# data); |
| 31 | typedef void (*GdkRoundTripCallbackcxx . . $ GdkRoundTripCallback#) (GdkDisplaycxx . . $ GdkDisplay# *display, |
| 32 | gpointercxx . . $ gpointer# data, |
| 33 | gulongcxx . . $ gulong# serial); |
| 34 | |
| 35 | struct _GdkChildInfoX11cxx . . $ _GdkChildInfoX11# |
| 36 | { |
| 37 | Windowcxx . . $ Window# windowcxx . . $ _GdkChildInfoX11#window.; |
| 38 | int xcxx . . $ _GdkChildInfoX11#x.; |
| 39 | int ycxx . . $ _GdkChildInfoX11#y.; |
| 40 | int widthcxx . . $ _GdkChildInfoX11#width.; |
| 41 | int heightcxx . . $ _GdkChildInfoX11#height.; |
| 42 | guintcxx . . $ guint# is_mappedcxx . . $ _GdkChildInfoX11#is_mapped. : 1; |
| 43 | guintcxx . . $ guint# has_wm_statecxx . . $ _GdkChildInfoX11#has_wm_state. : 1; |
| 44 | guintcxx . . $ guint# window_classcxx . . $ _GdkChildInfoX11#window_class. : 2; |
| 45 | }; |
| 46 | |
| 47 | void _gdk_x11_send_client_message_asynccxx . . $ _gdk_x11_send_client_message_async(7962e7168655a641). (GdkDisplaycxx . . $ GdkDisplay# *display, |
| 48 | Windowcxx . . $ Window# window, |
| 49 | gbooleancxx . . $ gboolean# propagate, |
| 50 | glongcxx . . $ glong# event_mask, |
| 51 | XClientMessageEventcxx . . $ XClientMessageEvent# *event_send, |
| 52 | GdkSendXEventCallbackcxx . . $ GdkSendXEventCallback# callback, |
| 53 | gpointercxx . . $ gpointer# data); |
| 54 | |
| 55 | gbooleancxx . . $ gboolean# _gdk_x11_get_window_child_infocxx . . $ _gdk_x11_get_window_child_info(16378d76f8090af9). (GdkDisplaycxx . . $ GdkDisplay# *display, |
| 56 | Windowcxx . . $ Window# window, |
| 57 | gbooleancxx . . $ gboolean# get_wm_state, |
| 58 | gbooleancxx . . $ gboolean# *win_has_wm_state, |
| 59 | GdkChildInfoX11cxx . . $ GdkChildInfoX11# **children, |
| 60 | guintcxx . . $ guint# *nchildren); |
| 61 | |
| 62 | void _gdk_x11_roundtrip_asynccxx . . $ _gdk_x11_roundtrip_async(53e4bac6476740a1). (GdkDisplaycxx . . $ GdkDisplay# *display, |
| 63 | GdkRoundTripCallbackcxx . . $ GdkRoundTripCallback# callback, |
| 64 | gpointercxx . . $ gpointer# data); |
| 65 | |
| 66 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 67 |