Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtkdroptargetasync.h
Go to the documentation of this file.
1/* -*- Mode: C; c-file-style: "gnu"; tab-width: 8 -*- */
2/* GTK - The GIMP Toolkit
3 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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/*
20 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
21 * file for a list of people on the GTK+ Team. See the ChangeLog
22 * files for a list of changes. These files are distributed with
23 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
24 */
25
26#pragma once
27
28
29#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
30#error "Only <gtk/gtk.h> can be included directly."
31#endif
32
33#include <gtk/gtkwidget.h>
34
35
37
38typedef struct _GtkDropTargetAsync GtkDropTargetAsync;
39typedef struct _GtkDropTargetAsyncClass GtkDropTargetAsyncClass;
40
41
42#define GTK_TYPE_DROP_TARGET_ASYNC (gtk_drop_target_async_get_type ())
43#define GTK_DROP_TARGET_ASYNC(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_DROP_TARGET_ASYNC, GtkDropTargetAsync))
44#define GTK_DROP_TARGET_ASYNC_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_DROP_TARGET_ASYNC, GtkDropTargetAsyncClass))
45#define GTK_IS_DROP_TARGET_ASYNC(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_DROP_TARGET_ASYNC))
46#define GTK_IS_DROP_TARGET_ASYNC_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_DROP_TARGET_ASYNC))
47#define GTK_DROP_TARGET_ASYNC_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_DROP_TARGET_ASYNC, GtkDropTargetAsyncClass))
48
49
52
55 GdkDragAction actions);
56
59 GdkContentFormats *formats);
62
65 GdkDragAction actions);
68
71 GdkDrop *drop);
72
73
75
#define GDK_AVAILABLE_IN_ALL
GdkDragAction
Definition gdkenums.h:287
struct _GdkContentFormats GdkContentFormats
Definition gdktypes.h:79
struct _GdkDrop GdkDrop
Definition gdktypes.h:86
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_GNUC_CONST
Definition gmacros.h:637
GDK_AVAILABLE_IN_ALL void gtk_drop_target_async_set_formats(GtkDropTargetAsync *self, GdkContentFormats *formats)
GDK_AVAILABLE_IN_ALL void gtk_drop_target_async_reject_drop(GtkDropTargetAsync *self, GdkDrop *drop)
typedefG_BEGIN_DECLS struct _GtkDropTargetAsync GtkDropTargetAsync
GDK_AVAILABLE_IN_ALL GType gtk_drop_target_async_get_type(void) G_GNUC_CONST
GDK_AVAILABLE_IN_ALL GtkDropTargetAsync * gtk_drop_target_async_new(GdkContentFormats *formats, GdkDragAction actions)
GDK_AVAILABLE_IN_ALL GdkDragAction gtk_drop_target_async_get_actions(GtkDropTargetAsync *self)
GDK_AVAILABLE_IN_ALL void gtk_drop_target_async_set_actions(GtkDropTargetAsync *self, GdkDragAction actions)
GDK_AVAILABLE_IN_ALL GdkContentFormats * gtk_drop_target_async_get_formats(GtkDropTargetAsync *self)
struct _GtkDropTargetAsyncClass GtkDropTargetAsyncClass
gsize GType
Definition gtype.h:427