lib/ewl_border.h File Reference
#include "ewl_box.h"
Include dependency graph for ewl_border.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
struct | Ewl_Border |
Inherits from Ewl_Box to allow drawing a border and label decoration around widgets. More... | |
Defines | |
#define | EWL_BORDER(border) ((Ewl_Border *) border) |
#define | EWL_BORDER_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_BORDER_TYPE)) |
#define | EWL_BORDER_TYPE "border" |
Typedefs | |
typedef struct Ewl_Border | Ewl_Border |
Functions | |
int | ewl_border_init (Ewl_Border *b) |
Initialize a border container to default values. | |
unsigned int | ewl_border_label_alignment_get (Ewl_Border *b) |
Retruns the alignment setting of the label for this border container. | |
void | ewl_border_label_alignment_set (Ewl_Border *b, unsigned int align) |
alters the alignment setting of the label on the border | |
const char * | ewl_border_label_get (Ewl_Border *b) |
Get the label from a border widget. | |
Ewl_Position | ewl_border_label_position_get (Ewl_Border *b) |
Gets the label position of the border. | |
void | ewl_border_label_position_set (Ewl_Border *b, Ewl_Position pos) |
Sets the position of the label in the border container. | |
void | ewl_border_label_set (Ewl_Border *b, const char *t) |
Set the label for the border. | |
Ewl_Widget * | ewl_border_new (void) |
Allocate and initialize a new border container. |