Download

Support

lib/ewl_floater.c File Reference

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

Include dependency graph for ewl_floater.c:


Functions

void ewl_floater_cb_destroy (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_floater_cb_follow_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_floater_cb_follow_destroy (Ewl_Widget *w, void *ev_data, void *user_data)
Ewl_Widgetewl_floater_follow_get (Ewl_Floater *f)
 Get the widget we are following.
void ewl_floater_follow_set (Ewl_Floater *f, Ewl_Widget *p)
 Set the widget to follow.
int ewl_floater_init (Ewl_Floater *f)
 Initialize a floater to default values.
Ewl_Widgetewl_floater_new (void)
 Allocate a new floater widget.
void ewl_floater_position_set (Ewl_Floater *f, int x, int y)
 Set the start x/y position of the floater.
void ewl_floater_relative_set (Ewl_Floater *f, Ewl_Widget *w)
 Set a floater positioned relative to a widget.

Function Documentation

void ewl_floater_relative_set ( Ewl_Floater f,
Ewl_Widget w 
)

Set a floater positioned relative to a widget.

Parameters:
f,: the floater to change positioning relation
w,: the widget to position the floater relative
Returns:
Returns no value. Sets the floater f to be positioned relative to the position of the widget w.

References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, DRETURN, EWL_CALLBACK_CONFIGURE, ewl_callback_del(), ewl_floater_cb_follow_configure(), EWL_FLOATER_TYPE, EWL_WIDGET, ewl_widget_configure(), and Ewl_Floater::follows.


Copyright © Enlightenment.org

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