| 1 | /* GDK - The GIMP Drawing Kit |
| 2 | * Copyright (C) 2010, Red Hat, Inc |
| 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 | #include "gdkdrag.h"cxx . . $ `<file>/gdk/gdkdrag.h`/ |
| 21 | |
| 22 | G_BEGIN_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:947:9`! |
| 23 | |
| 24 | |
| 25 | #define GDK_DRAG_CLASScxx . . $ `gdk/gdkdragprivate.h:25:9`!(klass) (G_TYPE_CHECK_CLASS_CASTcxx . . $ `<external>/9567554376676449156/gtype.h:597:9`! ((klass), GDK_TYPE_DRAGcxx . . $ `gdk/gdkdrag.h:37:9`!, GdkDragClass)) |
| 26 | #define GDK_IS_DRAG_CLASScxx . . $ `gdk/gdkdragprivate.h:26:9`!(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAG)) |
| 27 | #define GDK_DRAG_GET_CLASScxx . . $ `gdk/gdkdragprivate.h:27:9`!(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAG, GdkDragClass)) |
| 28 | |
| 29 | typedef struct _GdkDragClasscxx . . $ _GdkDragClass# GdkDragClasscxx . . $ GdkDragClass#; |
| 30 | |
| 31 | |
| 32 | struct _GdkDragClasscxx . . $ _GdkDragClass# { |
| 33 | GObjectClasscxx . . $ GObjectClass# parent_classcxx . . $ _GdkDragClass#parent_class.; |
| 34 | |
| 35 | GdkSurfacecxx . . $ GdkSurface#* (*get_drag_surfacecxx . . $ _GdkDragClass#get_drag_surface.) (GdkDragcxx . . $ GdkDrag# *drag); |
| 36 | void (*set_hotspotcxx . . $ _GdkDragClass#set_hotspot.) (GdkDragcxx . . $ GdkDrag# *drag, |
| 37 | int hot_x, |
| 38 | int hot_y); |
| 39 | void (*drop_donecxx . . $ _GdkDragClass#drop_done.) (GdkDragcxx . . $ GdkDrag# *drag, |
| 40 | gbooleancxx . . $ gboolean# success); |
| 41 | |
| 42 | void (*update_cursorcxx . . $ _GdkDragClass#update_cursor.) (GdkDragcxx . . $ GdkDrag# *drag); |
| 43 | void (*cancelcxx . . $ _GdkDragClass#cancel.) (GdkDragcxx . . $ GdkDrag# *drag, |
| 44 | GdkDragCancelReasoncxx . . $ GdkDragCancelReason# reason); |
| 45 | void (*drop_performedcxx . . $ _GdkDragClass#drop_performed.) (GdkDragcxx . . $ GdkDrag# *drag, |
| 46 | guint32cxx . . $ guint32# time); |
| 47 | void (*dnd_finishedcxx . . $ _GdkDragClass#dnd_finished.) (GdkDragcxx . . $ GdkDrag# *drag); |
| 48 | |
| 49 | gbooleancxx . . $ gboolean# (*handle_eventcxx . . $ _GdkDragClass#handle_event.) (GdkDragcxx . . $ GdkDrag# *drag, |
| 50 | GdkEventcxx . . $ GdkEvent# *event); |
| 51 | }; |
| 52 | |
| 53 | struct _GdkDragcxx . . $ _GdkDrag# { |
| 54 | GObjectcxx . . $ GObject# parent_instancecxx . . $ _GdkDrag#parent_instance.; |
| 55 | }; |
| 56 | |
| 57 | void gdk_drag_update_cursorcxx . . $ gdk_drag_update_cursor(919ec34f95888b0b). (GdkDragcxx . . $ GdkDrag# *drag); |
| 58 | void gdk_drag_set_actionscxx . . $ gdk_drag_set_actions(9b053242527e3054). (GdkDragcxx . . $ GdkDrag# *drag, |
| 59 | GdkDragActioncxx . . $ GdkDragAction# actions); |
| 60 | void gdk_drag_set_selected_actioncxx . . $ gdk_drag_set_selected_action(9b053242527e3054). (GdkDragcxx . . $ GdkDrag# *drag, |
| 61 | GdkDragActioncxx . . $ GdkDragAction# action); |
| 62 | |
| 63 | void gdk_drag_cancelcxx . . $ gdk_drag_cancel(7a3ea2f1a9dc067e). (GdkDragcxx . . $ GdkDrag# *drag, |
| 64 | GdkDragCancelReasoncxx . . $ GdkDragCancelReason# reason); |
| 65 | gbooleancxx . . $ gboolean# gdk_drag_handle_source_eventcxx . . $ gdk_drag_handle_source_event(c727dcafa855acc7). (GdkEventcxx . . $ GdkEvent# *event); |
| 66 | GdkCursorcxx . . $ GdkCursor# * gdk_drag_get_cursorcxx . . $ gdk_drag_get_cursor(a5b94b92bd1629fb). (GdkDragcxx . . $ GdkDrag# *drag, |
| 67 | GdkDragActioncxx . . $ GdkDragAction# action); |
| 68 | |
| 69 | void gdk_drag_write_asynccxx . . $ gdk_drag_write_async(29a230746eacc59). (GdkDragcxx . . $ GdkDrag# *drag, |
| 70 | const char *mime_type, |
| 71 | GOutputStreamcxx . . $ GOutputStream# *stream, |
| 72 | int io_priority, |
| 73 | GCancellablecxx . . $ GCancellable# *cancellable, |
| 74 | GAsyncReadyCallbackcxx . . $ GAsyncReadyCallback# callback, |
| 75 | gpointercxx . . $ gpointer# user_data); |
| 76 | gbooleancxx . . $ gboolean# gdk_drag_write_finishcxx . . $ gdk_drag_write_finish(2fbb6d46dfd3c1c9). (GdkDragcxx . . $ GdkDrag# *drag, |
| 77 | GAsyncResultcxx . . $ GAsyncResult# *result, |
| 78 | GErrorcxx . . $ GError# **error); |
| 79 | |
| 80 | |
| 81 | G_END_DECLScxx . . $ `<external>/12741050725406041920/gmacros.h:948:9`! |
| 82 |