Download

Support

lib/ewl_dnd.h

Go to the documentation of this file.
00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */
00002 #ifndef EWL_DND_H
00003 #define EWL_DND_H
00004 
00011 extern unsigned int EWL_CALLBACK_DND_POSITION;
00012 extern unsigned int EWL_CALLBACK_DND_ENTER;
00013 extern unsigned int EWL_CALLBACK_DND_LEAVE;
00014 extern unsigned int EWL_CALLBACK_DND_DROP;
00015 extern unsigned int EWL_CALLBACK_DND_DATA_RECEIVED;
00016 extern unsigned int EWL_CALLBACK_DND_DATA_REQUEST;
00017 extern unsigned int EWL_CALLBACK_SELECTION_CLEAR;
00018 
00019 int              ewl_dnd_init(void);
00020 void             ewl_dnd_shutdown(void);
00021 
00022 void             ewl_dnd_internal_drag_start(Ewl_Widget *w);
00023 void             ewl_dnd_external_drag_start(Ewl_Widget *w);
00024 void             ewl_dnd_drag_drop(Ewl_Widget *w);
00025 void             ewl_dnd_drag_data_send(Ewl_Embed *emb, void *handle,
00026                                                         void *data, int len);
00027 void             ewl_dnd_drag_widget_clear(void);
00028 Ewl_Widget      *ewl_dnd_drag_widget_get(void);
00029 
00030 int              ewl_dnd_status_get(void);
00031 
00032 void             ewl_dnd_provided_types_set(Ewl_Widget *w, const char **types);
00033 int              ewl_dnd_provided_types_contains(Ewl_Widget *w, char *type);
00034 char           **ewl_dnd_provided_types_get(Ewl_Widget *w);
00035 
00036 void             ewl_dnd_accepted_types_set(Ewl_Widget *w, const char **types);
00037 int              ewl_dnd_accepted_types_contains(Ewl_Widget *w, char *type);
00038 char           **ewl_dnd_accepted_types_get(Ewl_Widget *w);
00039 
00040 void             ewl_dnd_disable(void);
00041 void             ewl_dnd_enable(void);
00042 
00047 #endif
00048 

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Fri Jan 23 21:56:24 2009