Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Related Pages

Spacer: A Widget to Add Space Between Other Widgets

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

Data Structures

struct  Ewl_Spacer
 Inherits from Ewl_Widget, and does not provide any further functionality, it is intended to be themed as transparent, and used to tweak spacing in an application. More...

struct  Ewl_Spacer
 Inherits from Ewl_Widget, and does not provide any further functionality, it is intended to be themed as transparent, and used to tweak spacing in an application. More...


Defines

#define EWL_SPACER(spacer)   ((Ewl_Spacer *) spacer)
 Typecasts a pointer to an Ewl_Spacer pointer.


Typedefs

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


Functions

Ewl_Widgetewl_spacer_new (void)
 Allocate and initialize a new spacer.

void ewl_spacer_init (Ewl_Spacer *s)
 Initialize a spacer to starting values.


Detailed Description

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


Function Documentation

void ewl_spacer_init Ewl_Spacer s  ) 
 

Initialize a spacer to starting values.

Parameters:
s: the spacer to initialize
Returns:
Returns no value.
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