Download

Support

Ewl_Spacer: A Widget to Add Space Between Other Widgets


Detailed Description

Defines an Ewl_Widget to be used for adding space between widgets in a layout.

Remarks:
Inherits from Ewl_Widget.


Data Structures

struct  Ewl_Spacer
 Inherits from Ewl_Widget and provides as a spacer between widgets. More...

Defines

#define EWL_SPACER(spacer)   ((Ewl_Spacer *) spacer)
#define EWL_SPACER_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_SPACER_TYPE))
#define EWL_SPACER_TYPE   "spacer"

Typedefs

typedef Ewl_Spacer Ewl_Spacer

Functions

int ewl_spacer_init (Ewl_Spacer *s)
 Initialize a spacer to starting values.
Ewl_Widgetewl_spacer_new (void)
 Allocate and initialize a new spacer.

Define Documentation

#define EWL_SPACER ( spacer   )     ((Ewl_Spacer *) spacer)

Typecasts a pointer to an Ewl_Spacer pointer.

#define EWL_SPACER_IS (  )     (ewl_widget_type_is(EWL_WIDGET(w), EWL_SPACER_TYPE))

Returns TRUE if the widget is an Ewl_Spacer, FALSE otherwise

#define EWL_SPACER_TYPE   "spacer"

The type name for the Ewl_Spacer widget


Typedef Documentation

typedef struct Ewl_Spacer Ewl_Spacer

The Ewl_Spacer is a simple widget that is used to tweak spacing in an app.


Function Documentation

int ewl_spacer_init ( Ewl_Spacer s  ) 

Initialize a spacer to starting values.

Parameters:
s,: the spacer to initialize
Returns:
Returns TRUE on success or FALSE on failure
Initializes a spacer to default values and callbacks.

Ewl_Widget* ewl_spacer_new ( void   ) 

Allocate and initialize a new spacer.

Returns:
Returns NULL on failure, a pointer to a new spacer on success


Copyright © Enlightenment.org

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