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 
00018 int                   ewl_dnd_init(void);
00019 void                  ewl_dnd_shutdown(void);
00020 
00021 void                   ewl_dnd_drag_start(Ewl_Widget *w);
00022 void                   ewl_dnd_drag_drop(Ewl_Widget *w);
00023 void                   ewl_dnd_drag_widget_clear(void);
00024 Ewl_Widget         *ewl_dnd_drag_widget_get(void);
00025 
00026 int                   ewl_dnd_status_get(void);
00027 
00028 void                  ewl_dnd_provided_types_set(Ewl_Widget *w, const char **types);
00029 int                  ewl_dnd_provided_types_contains(Ewl_Widget *w, char *type);
00030 char                 **ewl_dnd_provided_types_get(Ewl_Widget *w);
00031 
00032 void                  ewl_dnd_accepted_types_set(Ewl_Widget *w, const char **types);
00033 int                  ewl_dnd_accepted_types_contains(Ewl_Widget *w, char *type);
00034 const char        **ewl_dnd_accepted_types_get(Ewl_Widget *w);
00035 
00036 void                   ewl_dnd_disable(void);
00037 void                   ewl_dnd_enable(void);
00038 
00043 #endif
00044 

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:04 2008