3 * Copyright (C) 2005 Imendio AB
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.
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.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
24 gdk_drag_context_init (GdkDragContext *dragcontext)
26 /* FIXME: Implement */
30 gdk_drag_context_class_init (GdkDragContextClass *klass)
32 /* FIXME: Implement */
36 gdk_drag_context_get_type (void)
38 static GType object_type = 0;
42 static const GTypeInfo object_info =
44 sizeof (GdkDragContextClass),
46 (GBaseFinalizeFunc) NULL,
47 (GClassInitFunc) gdk_drag_context_class_init,
48 NULL, /* class_finalize */
49 NULL, /* class_data */
50 sizeof (GdkDragContext),
52 (GInstanceInitFunc) gdk_drag_context_init,
55 object_type = g_type_register_static (G_TYPE_OBJECT,
65 gdk_drag_context_new (void)
67 return (GdkDragContext *)g_object_new (gdk_drag_context_get_type (), NULL);
71 gdk_drag_context_ref (GdkDragContext *context)
73 g_object_ref (context);
77 gdk_drag_context_unref (GdkDragContext *context)
79 g_object_unref (context);
83 gdk_drag_begin (GdkWindow *window,
86 /* FIXME: Implement */
91 gdk_drag_motion (GdkDragContext *context,
92 GdkWindow *dest_window,
93 GdkDragProtocol protocol,
96 GdkDragAction suggested_action,
97 GdkDragAction possible_actions,
100 /* FIXME: Implement */
105 gdk_drag_get_protocol_for_display (GdkDisplay *display,
107 GdkDragProtocol *protocol)
109 /* FIXME: Implement */
114 gdk_drag_find_window_for_screen (GdkDragContext *context,
115 GdkWindow *drag_window,
119 GdkWindow **dest_window,
120 GdkDragProtocol *protocol)
122 /* FIXME: Implement */
126 gdk_drag_drop (GdkDragContext *context,
129 /* FIXME: Implement */
133 gdk_drag_abort (GdkDragContext *context,
136 g_return_if_fail (context != NULL);
138 /* FIXME: Implement */
142 gdk_drag_status (GdkDragContext *context,
143 GdkDragAction action,
146 /* FIXME: Implement */
150 gdk_drop_reply (GdkDragContext *context,
154 g_return_if_fail (context != NULL);
156 /* FIXME: Implement */
160 gdk_drop_finish (GdkDragContext *context,
164 /* FIXME: Implement */
168 gdk_window_register_dnd (GdkWindow *window)
170 /* FIXME: Implement */
174 gdk_drag_get_selection (GdkDragContext *context)
176 /* FIXME: Implement */