lib/ewl_attach.c File Reference
#include "ewl_base.h"
#include "ewl_box.h"
#include "ewl_popup.h"
#include "ewl_label.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
#include <Evas.h>
Include dependency graph for ewl_attach.c:

Data Structures | |
| struct | Ewl_Attach_Tooltip |
| Inherits from Ewl_Widget and extends to provide information on a tooltip. More... | |
Typedefs | |
| typedef struct Ewl_Attach_Tooltip | Ewl_Attach_Tooltip |
Functions | |
| void | ewl_attach_dnd_drag_set (Ewl_Widget *w, Ewl_Widget *c, void *data, int size) |
Attaches the DND data data to the widget w with the displayed cursor c. | |
| void * | ewl_attach_get (Ewl_Widget *w, Ewl_Attach_Type t) |
Get the attachment of type t from the widget w. | |
| void | ewl_attach_list_del (Ewl_Attach_List *list, Ewl_Attach_Type type) |
Deletes the given type type from the list list. | |
| void | ewl_attach_other_set (Ewl_Widget *w, Ewl_Attach_Type t, void *data) |
Attaches the data data to the widget w with the attache type of t. | |
| void | ewl_attach_text_set (Ewl_Widget *w, Ewl_Attach_Type t, const char *data) |
Attaches the text data to the widget w. | |
| void | ewl_attach_widget_set (Ewl_Widget *w, Ewl_Attach_Type t, Ewl_Widget *data) |
Attaches a widget data to the widget w. | |
Typedef Documentation
| typedef struct Ewl_Attach_Tooltip Ewl_Attach_Tooltip |
Function Documentation
| void ewl_attach_dnd_drag_set | ( | Ewl_Widget * | w, | |
| Ewl_Widget * | c, | |||
| void * | data, | |||
| int | size | |||
| ) |
Attaches the DND data data to the widget w with the displayed cursor c.
- Parameters:
-
w,: The widget to attach the dnd data too c,: The cursor to display during drag. data,: The data to transfer on drop. size,: The amount of data send
- Returns:
- Returns no value
References Ewl_Attach_Dnd::cursor, Ewl_Attach_Dnd::data, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, ewl_attach_get(), ewl_attach_other_set(), EWL_ATTACH_TYPE_DND_DATA, EWL_WIDGET_TYPE, FREE, NEW, and Ewl_Attach_Dnd::size.