| 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 (__GDK_H_INSIDE__cxx . . $ `gdk/gdk.h:27:9`!) && !defined (GTK_COMPILATIONcxx . . $ `<built-in>:420:9`!) |
| 28 | #error "Only <gdk/gdk.h> can be included directly." |
| 29 | #endif |
| 30 | |
| 31 | #include <gdk/gdktypes.h>cxx . . $ `<file>/gdk/gdktypes.h`/ |
| 32 | #include <gdk/gdkdevice.h>cxx . . $ `<file>/gdk/gdkdevice.h`/ |
| 33 | #include <gdk/gdkevents.h>cxx . . $ `<file>/gdk/gdkevents.h`/ |
| 34 | |
| 35 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 36 | |
| 37 | #define GDK_TYPE_DRAGcxx . . $ `gdk/gdkdrag.h:37:9`! (gdk_drag_get_type ()) |
| 38 | #define GDK_DRAGcxx . . $ `gdk/gdkdrag.h:38:9`!(object) (G_TYPE_CHECK_INSTANCE_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:528:9`! ((object), GDK_TYPE_DRAGcxx . . $ `gdk/gdkdrag.h:37:9`!, GdkDrag)) |
| 39 | #define GDK_IS_DRAGcxx . . $ `gdk/gdkdrag.h:39:9`!(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAG)) |
| 40 | |
| 41 | /** |
| 42 | * GdkDragCancelReason: |
| 43 | * @GDK_DRAG_CANCEL_NO_TARGET: There is no suitable drop target. |
| 44 | * @GDK_DRAG_CANCEL_USER_CANCELLED: Drag cancelled by the user |
| 45 | * @GDK_DRAG_CANCEL_ERROR: Unspecified error. |
| 46 | * |
| 47 | * Used in `GdkDrag` to the reason of a cancelled DND operation. |
| 48 | */ |
| 49 | typedef enumcxx . . $ $anonymous_type_d63314ba4ffd8b82_0# { |
| 50 | GDK_DRAG_CANCEL_NO_TARGETcxx . . $ GDK_DRAG_CANCEL_NO_TARGET., |
| 51 | GDK_DRAG_CANCEL_USER_CANCELLEDcxx . . $ GDK_DRAG_CANCEL_USER_CANCELLED., |
| 52 | GDK_DRAG_CANCEL_ERRORcxx . . $ GDK_DRAG_CANCEL_ERROR. |
| 53 | } GdkDragCancelReasoncxx . . $ GdkDragCancelReason#; |
| 54 | |
| 55 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 56 | GTypecxx . . $ GType# gdk_drag_get_typecxx . . $ gdk_drag_get_type(f708dce9a8856c70). (void) G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 57 | |
| 58 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 59 | GdkDisplaycxx . . $ GdkDisplay# * gdk_drag_get_displaycxx . . $ gdk_drag_get_display(5ab8abcf117682c4). (GdkDragcxx . . $ GdkDrag# *drag); |
| 60 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 61 | GdkDevicecxx . . $ GdkDevice# * gdk_drag_get_devicecxx . . $ gdk_drag_get_device(ce7f237bbdf71799). (GdkDragcxx . . $ GdkDrag# *drag); |
| 62 | |
| 63 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 64 | GdkContentFormatscxx . . $ GdkContentFormats# *gdk_drag_get_formatscxx . . $ gdk_drag_get_formats(27ed6d1161f3746c). (GdkDragcxx . . $ GdkDrag# *drag); |
| 65 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 66 | GdkDragActioncxx . . $ GdkDragAction# gdk_drag_get_actionscxx . . $ gdk_drag_get_actions(aa4300ac7f8e9c21). (GdkDragcxx . . $ GdkDrag# *drag); |
| 67 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 68 | GdkDragActioncxx . . $ GdkDragAction# gdk_drag_get_selected_actioncxx . . $ gdk_drag_get_selected_action(aa4300ac7f8e9c21). (GdkDragcxx . . $ GdkDrag# *drag); |
| 69 | |
| 70 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 71 | gbooleancxx . . $ gboolean# gdk_drag_action_is_uniquecxx . . $ gdk_drag_action_is_unique(cd5319e0ff2da467). (GdkDragActioncxx . . $ GdkDragAction# action) G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!; |
| 72 | |
| 73 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 74 | GdkDragcxx . . $ GdkDrag# * gdk_drag_begincxx . . $ gdk_drag_begin(59900c86f044f891). (GdkSurfacecxx . . $ GdkSurface# *surface, |
| 75 | GdkDevicecxx . . $ GdkDevice# *device, |
| 76 | GdkContentProvidercxx . . $ GdkContentProvider# *content, |
| 77 | GdkDragActioncxx . . $ GdkDragAction# actions, |
| 78 | double dx, |
| 79 | double dy); |
| 80 | |
| 81 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 82 | void gdk_drag_drop_donecxx . . $ gdk_drag_drop_done(65544225f852cdcf). (GdkDragcxx . . $ GdkDrag# *drag, |
| 83 | gbooleancxx . . $ gboolean# success); |
| 84 | |
| 85 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 86 | GdkSurfacecxx . . $ GdkSurface# *gdk_drag_get_drag_surfacecxx . . $ gdk_drag_get_drag_surface(9b4f0c50d412a6c3). (GdkDragcxx . . $ GdkDrag# *drag); |
| 87 | |
| 88 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 89 | void gdk_drag_set_hotspotcxx . . $ gdk_drag_set_hotspot(aa047b667051355c). (GdkDragcxx . . $ GdkDrag# *drag, |
| 90 | int hot_x, |
| 91 | int hot_y); |
| 92 | |
| 93 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 94 | GdkContentProvidercxx . . $ GdkContentProvider# * |
| 95 | gdk_drag_get_contentcxx . . $ gdk_drag_get_content(60006effaae0a2de). (GdkDragcxx . . $ GdkDrag# *drag); |
| 96 | |
| 97 | GDK_AVAILABLE_IN_ALLcxx . . $ `build/gdk/version/gdk-visibility.h:22:9`! |
| 98 | GdkSurfacecxx . . $ GdkSurface# * gdk_drag_get_surfacecxx . . $ gdk_drag_get_surface(9b4f0c50d412a6c3). (GdkDragcxx . . $ GdkDrag# *drag); |
| 99 | |
| 100 | G_DEFINE_AUTOPTR_CLEANUP_FUNCcxx . . $ GdkDrag_queueautoptr#(GdkDrag, g_object_unref) |
| 101 | |
| 102 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 103 |