lib/ewl_object.c File Reference
#include "ewl_base.h"
#include "ewl_private.h"
#include "ewl_macros.h"
#include "ewl_debug.h"
Include dependency graph for ewl_object.c:

Functions | |
unsigned int | ewl_object_alignment_get (Ewl_Object *o) |
Retrieves the current setting of the object alignment for o. | |
void | ewl_object_alignment_set (Ewl_Object *o, unsigned int align) |
Change the alignment of the specified object. | |
void | ewl_object_current_geometry_get (Ewl_Object *o, int *x, int *y, int *w, int *h) |
Retrieve the size and position of object. | |
int | ewl_object_current_h_get (Ewl_Object *o) |
Get the current height of the object. | |
void | ewl_object_current_size_get (Ewl_Object *o, int *w, int *h) |
Retrieve the current size of an object. | |
int | ewl_object_current_w_get (Ewl_Object *o) |
Get the current width of the object. | |
int | ewl_object_current_x_get (Ewl_Object *o) |
get the current x position of the object | |
int | ewl_object_current_y_get (Ewl_Object *o) |
Get the current y position of the object. | |
unsigned int | ewl_object_fill_policy_get (Ewl_Object *o) |
Retrieves the current setting of the object fill policy for o. | |
void | ewl_object_fill_policy_set (Ewl_Object *o, unsigned int fill) |
Change the fill policy of the specified object. | |
void | ewl_object_flags_add (Ewl_Object *o, unsigned int flags, unsigned int mask) |
Add the set of flags specified in flags to o. | |
void | ewl_object_flags_remove (Ewl_Object *o, unsigned int flags, unsigned int mask) |
Removes the set of state flags specified in flags from o. | |
void | ewl_object_geometry_request (Ewl_Object *o, int x, int y, int w, int h) |
Request a new geometry be applied to an object. | |
void | ewl_object_h_request (Ewl_Object *o, int h) |
Request a new width for an object. | |
int | ewl_object_init (Ewl_Object *o) |
int | ewl_object_insets_bottom_get (Ewl_Object *o) |
Get the bottom insets for the object. | |
void | ewl_object_insets_get (Ewl_Object *o, int *l, int *r, int *t, int *b) |
Retrieve the edge insets of an object. | |
int | ewl_object_insets_left_get (Ewl_Object *o) |
Get the left insets for the object. | |
int | ewl_object_insets_right_get (Ewl_Object *o) |
Get the right insets for the object. | |
void | ewl_object_insets_set (Ewl_Object *o, int l, int r, int t, int b) |
Set the insets around an objects edges. | |
int | ewl_object_insets_top_get (Ewl_Object *o) |
Get the top insets for the object. | |
int | ewl_object_maximum_h_get (Ewl_Object *o) |
Get the maximum height of an object. | |
void | ewl_object_maximum_h_set (Ewl_Object *o, int h) |
Set the minimum height of an object. | |
void | ewl_object_maximum_size_get (Ewl_Object *o, int *w, int *h) |
Retrieve the minimum dimensions of an object. | |
void | ewl_object_maximum_size_set (Ewl_Object *o, int w, int h) |
Set the maximum size of an object. | |
int | ewl_object_maximum_w_get (Ewl_Object *o) |
Get the maximum width of an object. | |
void | ewl_object_maximum_w_set (Ewl_Object *o, int w) |
Set the minimum width of an object. | |
int | ewl_object_minimum_h_get (Ewl_Object *o) |
Get the minimum height of an object. | |
void | ewl_object_minimum_h_set (Ewl_Object *o, int h) |
Set the minimum height of an object. | |
void | ewl_object_minimum_size_get (Ewl_Object *o, int *w, int *h) |
Retrieve the minimum dimensions of an object. | |
void | ewl_object_minimum_size_set (Ewl_Object *o, int w, int h) |
Set the minimum size of an object. | |
int | ewl_object_minimum_w_get (Ewl_Object *o) |
Get the minimum width of an object. | |
void | ewl_object_minimum_w_set (Ewl_Object *o, int w) |
Set the minimum width of an object. | |
int | ewl_object_padding_bottom_get (Ewl_Object *o) |
Get the bottom padding for the object. | |
void | ewl_object_padding_get (Ewl_Object *o, int *l, int *r, int *t, int *b) |
Retrieve the edge padding of an object. | |
int | ewl_object_padding_left_get (Ewl_Object *o) |
Get the left padding for the object. | |
int | ewl_object_padding_right_get (Ewl_Object *o) |
Get the right padding for the object. | |
void | ewl_object_padding_set (Ewl_Object *o, int l, int r, int t, int b) |
Set the padding around an objects edges. | |
int | ewl_object_padding_top_get (Ewl_Object *o) |
Get the top padding for the object. | |
void | ewl_object_place (Ewl_Object *o, int x, int y, int w, int h) |
Assign a specific area to an object. | |
void | ewl_object_position_request (Ewl_Object *o, int x, int y) |
Request a new position be applied to an object. | |
int | ewl_object_preferred_h_get (Ewl_Object *o) |
Get the preferred height of the object. | |
int | ewl_object_preferred_inner_h_get (Ewl_Object *o) |
Get the preferred height of the object. | |
void | ewl_object_preferred_inner_h_set (Ewl_Object *o, int h) |
Set the preferred height of the object. | |
void | ewl_object_preferred_inner_size_get (Ewl_Object *o, int *w, int *h) |
Retrieve the preferred size of an object. | |
void | ewl_object_preferred_inner_size_set (Ewl_Object *o, int w, int h) |
Set the preferred size of the object. | |
int | ewl_object_preferred_inner_w_get (Ewl_Object *o) |
Get the preferred width of the object, ignoring padding and insets. | |
void | ewl_object_preferred_inner_w_set (Ewl_Object *o, int w) |
Set the preferred width of the object. | |
void | ewl_object_preferred_size_get (Ewl_Object *o, int *w, int *h) |
Retrieve the preferred size of an object. | |
int | ewl_object_preferred_w_get (Ewl_Object *o) |
Get the preferred width of the object. | |
void | ewl_object_size_request (Ewl_Object *o, int w, int h) |
Request a new size be applied to an object. | |
void | ewl_object_w_request (Ewl_Object *o, int w) |
Request a new width for an object. | |
void | ewl_object_x_request (Ewl_Object *o, int x) |
Request a new x position for an object. | |
void | ewl_object_y_request (Ewl_Object *o, int y) |
Request a new y position for an object. |