Download

Support

lib/ewl_dnd.c File Reference

#include "ewl_base.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Include dependency graph for ewl_dnd.c:


Defines

#define EWL_DND_WINDOW_ROOT   0

Functions

int ewl_dnd_accepted_types_contains (Ewl_Widget *w, char *type)
 : Verifies the specified widget accepts the given mimetype
const char ** ewl_dnd_accepted_types_get (Ewl_Widget *w)
 : Gets the mimetypes the designated widget can accept for DND
void ewl_dnd_accepted_types_set (Ewl_Widget *w, const char **types)
 : Sets the mimetypes the designated widget can accept for DND
void ewl_dnd_disable (void)
 Disables DND.
void ewl_dnd_drag_drop (Ewl_Widget *w)
 Tells the widget to start dragging.
void ewl_dnd_drag_start (Ewl_Widget *w)
 Tells the widget to start dragging.
void ewl_dnd_drag_widget_clear (void)
 Clears the current DND widget.
Ewl_Widgetewl_dnd_drag_widget_get (void)
 Retrieves the current DND widget.
void ewl_dnd_enable (void)
 Enables DND.
int ewl_dnd_init (void)
int ewl_dnd_provided_types_contains (Ewl_Widget *w, char *type)
 : Verifies the specified widget provides the given mimetype
char ** ewl_dnd_provided_types_get (Ewl_Widget *w)
 : Gets the mimetypes the designated widget can provide for DND
void ewl_dnd_provided_types_set (Ewl_Widget *w, const char **types)
 : Sets the mimetypes the designated widget can provide for DND
void ewl_dnd_shutdown (void)
int ewl_dnd_status_get (void)
 Retrieves the current DND status.

Variables

unsigned int EWL_CALLBACK_DND_DATA_RECEIVED
unsigned int EWL_CALLBACK_DND_DATA_REQUEST
unsigned int EWL_CALLBACK_DND_DROP
unsigned int EWL_CALLBACK_DND_ENTER
unsigned int EWL_CALLBACK_DND_LEAVE
unsigned int EWL_CALLBACK_DND_POSITION

Define Documentation

#define EWL_DND_WINDOW_ROOT   0


Copyright © Enlightenment.org

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