Download

Support

Ewl_Shadow: A container with a shadow/border


Detailed Description

Defines the Ewl_Shadow class used for adding a shadow decoration around a group of widgets.

Remarks:
Inherits from Ewl_Box.

Tutorial


Data Structures

struct  Ewl_Shadow
 Inherits from Ewl_Box to allow drawing a border and shadow decoration around widgets. More...

Defines

#define EWL_SHADOW(shadow)   ((Ewl_Shadow *) shadow)
#define EWL_SHADOW_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_SHADOW_TYPE))
#define EWL_SHADOW_TYPE   "shadow"

Typedefs

typedef Ewl_Shadow Ewl_Shadow

Functions

int ewl_shadow_init (Ewl_Shadow *s)
 Initialize a shadow container to default values.
Ewl_Widgetewl_shadow_new (void)
 Allocate and initialize a new shadow container.

Define Documentation

#define EWL_SHADOW ( shadow   )     ((Ewl_Shadow *) shadow)

Typecast a pointer to an Ewl_Shadow pointer.

#define EWL_SHADOW_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_SHADOW_TYPE))

Returns TRUE if the widget is an Ewl_Shadow, FALSE otherwise

#define EWL_SHADOW_TYPE   "shadow"

The type name for the Ewl_Shadow widget


Typedef Documentation

typedef struct Ewl_Shadow Ewl_Shadow

Ewl_Shadow provides a container that has a shadowed border.


Function Documentation

int ewl_shadow_init ( Ewl_Shadow s  ) 

Initialize a shadow container to default values.

Parameters:
s,: the shadow container to initialize
Returns:
Returns TRUE on success, FALSE on failure.

Ewl_Widget* ewl_shadow_new ( void   ) 

Allocate and initialize a new shadow container.

Returns:
Returns a new shadow container on success, NULL on failure.


Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sun Sep 27 01:49:47 2009