gimpdnd

gimpdnd

Synopsis

#define             GIMP_TARGET_BRUSH
#define             GIMP_TARGET_BUFFER
#define             GIMP_TARGET_CHANNEL
#define             GIMP_TARGET_COLOR
#define             GIMP_TARGET_COMPONENT
#define             GIMP_TARGET_DIALOG
#define             GIMP_TARGET_FONT
#define             GIMP_TARGET_GRADIENT
#define             GIMP_TARGET_IMAGE
#define             GIMP_TARGET_IMAGEFILE
#define             GIMP_TARGET_LAYER
#define             GIMP_TARGET_LAYER_MASK
#define             GIMP_TARGET_NETSCAPE_URL
#define             GIMP_TARGET_PALETTE
#define             GIMP_TARGET_PATTERN
#define             GIMP_TARGET_PIXBUF
#define             GIMP_TARGET_SVG
#define             GIMP_TARGET_SVG_XML
#define             GIMP_TARGET_TEMPLATE
#define             GIMP_TARGET_TEXT_PLAIN
#define             GIMP_TARGET_TOOL_INFO
#define             GIMP_TARGET_URI_LIST
#define             GIMP_TARGET_VECTORS
#define             GIMP_TARGET_XDS
void                gimp_dnd_init                       (Gimp *gimp);
void                (*GimpDndDropUriListFunc)           (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GList *uri_list,
                                                         gpointer data);
GList *             (*GimpDndDragUriListFunc)           (GtkWidget *widget,
                                                         gpointer data);
void                gimp_dnd_uri_list_dest_add          (GtkWidget *widget,
                                                         GimpDndDropUriListFunc set_uri_list_func,
                                                         gpointer data);
void                gimp_dnd_uri_list_dest_remove       (GtkWidget *widget);
void                gimp_dnd_uri_list_source_add        (GtkWidget *widget,
                                                         GimpDndDragUriListFunc get_uri_list_func,
                                                         gpointer data);
void                gimp_dnd_uri_list_source_remove     (GtkWidget *widget);
void                gimp_dnd_xds_source_add             (GtkWidget *widget,
                                                         GimpDndDragViewableFunc get_image_func,
                                                         gpointer data);
void                gimp_dnd_xds_source_remove          (GtkWidget *widget);
void                (*GimpDndDropColorFunc)             (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         const GimpRGB *color,
                                                         gpointer data);
void                (*GimpDndDragColorFunc)             (GtkWidget *widget,
                                                         GimpRGB *color,
                                                         gpointer data);
void                gimp_dnd_color_source_add           (GtkWidget *widget,
                                                         GimpDndDragColorFunc get_color_func,
                                                         gpointer data);
void                gimp_dnd_color_source_remove        (GtkWidget *widget);
void                gimp_dnd_color_dest_add             (GtkWidget *widget,
                                                         GimpDndDropColorFunc set_color_func,
                                                         gpointer data);
void                gimp_dnd_color_dest_remove          (GtkWidget *widget);
guchar *            (*GimpDndDragStreamFunc)            (GtkWidget *widget,
                                                         gsize *stream_len,
                                                         gpointer data);
void                (*GimpDndDropComponentFunc)         (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GimpImage *image,
                                                         GimpChannelType channel,
                                                         gpointer data);
GimpImage *         (*GimpDndDragComponentFunc)         (GtkWidget *widget,
                                                         GimpContext **context,
                                                         GimpChannelType *channel,
                                                         gpointer data);
void                gimp_dnd_component_source_add       (GtkWidget *widget,
                                                         GimpDndDragComponentFunc get_comp_func,
                                                         gpointer data);
void                gimp_dnd_component_source_remove    (GtkWidget *widget);
void                gimp_dnd_component_dest_add         (GtkWidget *widget,
                                                         GimpDndDropComponentFunc set_comp_func,
                                                         gpointer data);
void                gimp_dnd_component_dest_remove      (GtkWidget *widget);
void                (*GimpDndDropPixbufFunc)            (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GdkPixbuf *pixbuf,
                                                         gpointer data);
GdkPixbuf *         (*GimpDndDragPixbufFunc)            (GtkWidget *widget,
                                                         gpointer data);
void                gimp_dnd_pixbuf_source_add          (GtkWidget *widget,
                                                         GimpDndDragPixbufFunc get_pixbuf_func,
                                                         gpointer data);
void                gimp_dnd_pixbuf_source_remove       (GtkWidget *widget);
void                gimp_dnd_pixbuf_dest_add            (GtkWidget *widget,
                                                         GimpDndDropPixbufFunc set_pixbuf_func,
                                                         gpointer data);
void                gimp_dnd_pixbuf_dest_remove         (GtkWidget *widget);
void                (*GimpDndDropStreamFunc)            (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         const guchar *stream,
                                                         gsize stream_len,
                                                         gpointer data);
void                gimp_dnd_svg_dest_add               (GtkWidget *widget,
                                                         GimpDndDropStreamFunc set_svg_func,
                                                         gpointer data);
void                gimp_dnd_svg_dest_remove            (GtkWidget *widget);
void                gimp_dnd_svg_source_add             (GtkWidget *widget,
                                                         GimpDndDragStreamFunc get_svg_func,
                                                         gpointer data);
void                gimp_dnd_svg_source_remove          (GtkWidget *widget);
void                (*GimpDndDropViewableFunc)          (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GimpViewable *viewable,
                                                         gpointer data);
GimpViewable *      (*GimpDndDragViewableFunc)          (GtkWidget *widget,
                                                         GimpContext **context,
                                                         gpointer data);
gboolean            gimp_dnd_viewable_source_add        (GtkWidget *widget,
                                                         GType type,
                                                         GimpDndDragViewableFunc get_viewable_func,
                                                         gpointer data);
gboolean            gimp_dnd_viewable_source_remove     (GtkWidget *widget,
                                                         GType type);
gboolean            gimp_dnd_viewable_dest_add          (GtkWidget *widget,
                                                         GType type,
                                                         GimpDndDropViewableFunc set_viewable_func,
                                                         gpointer data);
gboolean            gimp_dnd_viewable_dest_remove       (GtkWidget *widget,
                                                         GType type);
gboolean            gimp_dnd_drag_source_set_by_type    (GtkWidget *widget,
                                                         GdkModifierType start_button_mask,
                                                         GType type,
                                                         GdkDragAction actions);
gboolean            gimp_dnd_drag_dest_set_by_type      (GtkWidget *widget,
                                                         GtkDestDefaults flags,
                                                         GType type,
                                                         GdkDragAction actions);
GimpViewable *      gimp_dnd_get_drag_data              (GtkWidget *widget);

Description

Details

GIMP_TARGET_BRUSH

#define             GIMP_TARGET_BRUSH


GIMP_TARGET_BUFFER

#define             GIMP_TARGET_BUFFER


GIMP_TARGET_CHANNEL

#define             GIMP_TARGET_CHANNEL


GIMP_TARGET_COLOR

#define             GIMP_TARGET_COLOR


GIMP_TARGET_COMPONENT

#define             GIMP_TARGET_COMPONENT


GIMP_TARGET_DIALOG

#define             GIMP_TARGET_DIALOG


GIMP_TARGET_FONT

#define             GIMP_TARGET_FONT


GIMP_TARGET_GRADIENT

#define             GIMP_TARGET_GRADIENT


GIMP_TARGET_IMAGE

#define             GIMP_TARGET_IMAGE


GIMP_TARGET_IMAGEFILE

#define             GIMP_TARGET_IMAGEFILE


GIMP_TARGET_LAYER

#define             GIMP_TARGET_LAYER


GIMP_TARGET_LAYER_MASK

#define             GIMP_TARGET_LAYER_MASK


GIMP_TARGET_NETSCAPE_URL

#define             GIMP_TARGET_NETSCAPE_URL


GIMP_TARGET_PALETTE

#define             GIMP_TARGET_PALETTE


GIMP_TARGET_PATTERN

#define             GIMP_TARGET_PATTERN


GIMP_TARGET_PIXBUF

#define             GIMP_TARGET_PIXBUF


GIMP_TARGET_SVG

#define             GIMP_TARGET_SVG


GIMP_TARGET_SVG_XML

#define             GIMP_TARGET_SVG_XML


GIMP_TARGET_TEMPLATE

#define             GIMP_TARGET_TEMPLATE


GIMP_TARGET_TEXT_PLAIN

#define             GIMP_TARGET_TEXT_PLAIN


GIMP_TARGET_TOOL_INFO

#define             GIMP_TARGET_TOOL_INFO


GIMP_TARGET_URI_LIST

#define             GIMP_TARGET_URI_LIST


GIMP_TARGET_VECTORS

#define             GIMP_TARGET_VECTORS


GIMP_TARGET_XDS

#define             GIMP_TARGET_XDS


gimp_dnd_init ()

void                gimp_dnd_init                       (Gimp *gimp);


GimpDndDropUriListFunc ()

void                (*GimpDndDropUriListFunc)           (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GList *uri_list,
                                                         gpointer data);


GimpDndDragUriListFunc ()

GList *             (*GimpDndDragUriListFunc)           (GtkWidget *widget,
                                                         gpointer data);


gimp_dnd_uri_list_dest_add ()

void                gimp_dnd_uri_list_dest_add          (GtkWidget *widget,
                                                         GimpDndDropUriListFunc set_uri_list_func,
                                                         gpointer data);


gimp_dnd_uri_list_dest_remove ()

void                gimp_dnd_uri_list_dest_remove       (GtkWidget *widget);


gimp_dnd_uri_list_source_add ()

void                gimp_dnd_uri_list_source_add        (GtkWidget *widget,
                                                         GimpDndDragUriListFunc get_uri_list_func,
                                                         gpointer data);


gimp_dnd_uri_list_source_remove ()

void                gimp_dnd_uri_list_source_remove     (GtkWidget *widget);


gimp_dnd_xds_source_add ()

void                gimp_dnd_xds_source_add             (GtkWidget *widget,
                                                         GimpDndDragViewableFunc get_image_func,
                                                         gpointer data);


gimp_dnd_xds_source_remove ()

void                gimp_dnd_xds_source_remove          (GtkWidget *widget);


GimpDndDropColorFunc ()

void                (*GimpDndDropColorFunc)             (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         const GimpRGB *color,
                                                         gpointer data);


GimpDndDragColorFunc ()

void                (*GimpDndDragColorFunc)             (GtkWidget *widget,
                                                         GimpRGB *color,
                                                         gpointer data);


gimp_dnd_color_source_add ()

void                gimp_dnd_color_source_add           (GtkWidget *widget,
                                                         GimpDndDragColorFunc get_color_func,
                                                         gpointer data);


gimp_dnd_color_source_remove ()

void                gimp_dnd_color_source_remove        (GtkWidget *widget);


gimp_dnd_color_dest_add ()

void                gimp_dnd_color_dest_add             (GtkWidget *widget,
                                                         GimpDndDropColorFunc set_color_func,
                                                         gpointer data);


gimp_dnd_color_dest_remove ()

void                gimp_dnd_color_dest_remove          (GtkWidget *widget);


GimpDndDragStreamFunc ()

guchar *            (*GimpDndDragStreamFunc)            (GtkWidget *widget,
                                                         gsize *stream_len,
                                                         gpointer data);


GimpDndDropComponentFunc ()

void                (*GimpDndDropComponentFunc)         (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GimpImage *image,
                                                         GimpChannelType channel,
                                                         gpointer data);


GimpDndDragComponentFunc ()

GimpImage *         (*GimpDndDragComponentFunc)         (GtkWidget *widget,
                                                         GimpContext **context,
                                                         GimpChannelType *channel,
                                                         gpointer data);


gimp_dnd_component_source_add ()

void                gimp_dnd_component_source_add       (GtkWidget *widget,
                                                         GimpDndDragComponentFunc get_comp_func,
                                                         gpointer data);


gimp_dnd_component_source_remove ()

void                gimp_dnd_component_source_remove    (GtkWidget *widget);


gimp_dnd_component_dest_add ()

void                gimp_dnd_component_dest_add         (GtkWidget *widget,
                                                         GimpDndDropComponentFunc set_comp_func,
                                                         gpointer data);


gimp_dnd_component_dest_remove ()

void                gimp_dnd_component_dest_remove      (GtkWidget *widget);


GimpDndDropPixbufFunc ()

void                (*GimpDndDropPixbufFunc)            (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GdkPixbuf *pixbuf,
                                                         gpointer data);


GimpDndDragPixbufFunc ()

GdkPixbuf *         (*GimpDndDragPixbufFunc)            (GtkWidget *widget,
                                                         gpointer data);


gimp_dnd_pixbuf_source_add ()

void                gimp_dnd_pixbuf_source_add          (GtkWidget *widget,
                                                         GimpDndDragPixbufFunc get_pixbuf_func,
                                                         gpointer data);


gimp_dnd_pixbuf_source_remove ()

void                gimp_dnd_pixbuf_source_remove       (GtkWidget *widget);


gimp_dnd_pixbuf_dest_add ()

void                gimp_dnd_pixbuf_dest_add            (GtkWidget *widget,
                                                         GimpDndDropPixbufFunc set_pixbuf_func,
                                                         gpointer data);


gimp_dnd_pixbuf_dest_remove ()

void                gimp_dnd_pixbuf_dest_remove         (GtkWidget *widget);


GimpDndDropStreamFunc ()

void                (*GimpDndDropStreamFunc)            (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         const guchar *stream,
                                                         gsize stream_len,
                                                         gpointer data);


gimp_dnd_svg_dest_add ()

void                gimp_dnd_svg_dest_add               (GtkWidget *widget,
                                                         GimpDndDropStreamFunc set_svg_func,
                                                         gpointer data);


gimp_dnd_svg_dest_remove ()

void                gimp_dnd_svg_dest_remove            (GtkWidget *widget);


gimp_dnd_svg_source_add ()

void                gimp_dnd_svg_source_add             (GtkWidget *widget,
                                                         GimpDndDragStreamFunc get_svg_func,
                                                         gpointer data);


gimp_dnd_svg_source_remove ()

void                gimp_dnd_svg_source_remove          (GtkWidget *widget);


GimpDndDropViewableFunc ()

void                (*GimpDndDropViewableFunc)          (GtkWidget *widget,
                                                         gint x,
                                                         gint y,
                                                         GimpViewable *viewable,
                                                         gpointer data);


GimpDndDragViewableFunc ()

GimpViewable *      (*GimpDndDragViewableFunc)          (GtkWidget *widget,
                                                         GimpContext **context,
                                                         gpointer data);


gimp_dnd_viewable_source_add ()

gboolean            gimp_dnd_viewable_source_add        (GtkWidget *widget,
                                                         GType type,
                                                         GimpDndDragViewableFunc get_viewable_func,
                                                         gpointer data);


gimp_dnd_viewable_source_remove ()

gboolean            gimp_dnd_viewable_source_remove     (GtkWidget *widget,
                                                         GType type);


gimp_dnd_viewable_dest_add ()

gboolean            gimp_dnd_viewable_dest_add          (GtkWidget *widget,
                                                         GType type,
                                                         GimpDndDropViewableFunc set_viewable_func,
                                                         gpointer data);


gimp_dnd_viewable_dest_remove ()

gboolean            gimp_dnd_viewable_dest_remove       (GtkWidget *widget,
                                                         GType type);


gimp_dnd_drag_source_set_by_type ()

gboolean            gimp_dnd_drag_source_set_by_type    (GtkWidget *widget,
                                                         GdkModifierType start_button_mask,
                                                         GType type,
                                                         GdkDragAction actions);


gimp_dnd_drag_dest_set_by_type ()

gboolean            gimp_dnd_drag_dest_set_by_type      (GtkWidget *widget,
                                                         GtkDestDefaults flags,
                                                         GType type,
                                                         GdkDragAction actions);


gimp_dnd_get_drag_data ()

GimpViewable *      gimp_dnd_get_drag_data              (GtkWidget *widget);