Download

Support

lib/ewl_grid.c File Reference

#include "ewl_base.h"
#include "ewl_grid.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Include dependency graph for ewl_grid.c:


Functions

void ewl_grid_cb_child_add (Ewl_Container *p, Ewl_Widget *c)
void ewl_grid_cb_child_remove (Ewl_Container *c, Ewl_Widget *w, int idx)
void ewl_grid_cb_child_resize (Ewl_Container *p, Ewl_Widget *child, int size, Ewl_Orientation o)
void ewl_grid_cb_child_show (Ewl_Container *p, Ewl_Widget *child)
void ewl_grid_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_grid_cb_destroy (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_grid_child_position_get (Ewl_Grid *g, Ewl_Widget *w, int *start_col, int *end_col, int *start_row, int *end_row)
 get the position of a child widget
void ewl_grid_child_position_set (Ewl_Grid *g, Ewl_Widget *w, int start_col, int end_col, int start_row, int end_row)
 Give a child widget a fixed-postion in the grid.
int ewl_grid_column_current_w_get (Ewl_Grid *g, int col)
 Get the current width of a column.
int ewl_grid_column_fixed_w_get (Ewl_Grid *g, int col)
 Get the user set width of a column.
void ewl_grid_column_fixed_w_set (Ewl_Grid *g, int col, int width)
 Set the fixed size of a column.
void ewl_grid_column_preferred_w_use (Ewl_Grid *g, int col)
 use the preferred size of the column
float ewl_grid_column_relative_w_get (Ewl_Grid *g, int col)
 Get the user set relative width of a column.
void ewl_grid_column_relative_w_set (Ewl_Grid *g, int col, float relw)
 Set the relative width of a column.
void ewl_grid_column_w_remove (Ewl_Grid *g, int col)
 remove the user set size
void ewl_grid_dimensions_get (Ewl_Grid *g, int *cols, int *rows)
 get the number of columns and rows
void ewl_grid_dimensions_set (Ewl_Grid *g, int cols, int rows)
 sets the new dimensions
unsigned int ewl_grid_hhomogeneous_get (Ewl_Grid *g)
 Retrieves the horizontal homogeneous flag.
void ewl_grid_hhomogeneous_set (Ewl_Grid *g, unsigned int h)
 Change the horizontal homogeneous layout of the box.
void ewl_grid_homogeneous_set (Ewl_Grid *g, unsigned int h)
 Change the homogeneous layout of the grid.
int ewl_grid_init (Ewl_Grid *g)
 Initializes an Ewl_Grid widget to default values.
Ewl_Widgetewl_grid_new (void)
 Create a new Ewl_Grid widget.
Ewl_Orientation ewl_grid_orientation_get (Ewl_Grid *g)
 Retrieves the fill orientation flag.
void ewl_grid_orientation_set (Ewl_Grid *g, Ewl_Orientation orientation)
 Change the fill orientation.
int ewl_grid_row_current_h_get (Ewl_Grid *g, int row)
 Get the current height of a column.
int ewl_grid_row_fixed_h_get (Ewl_Grid *g, int row)
 Get the user set height of a row.
void ewl_grid_row_fixed_h_set (Ewl_Grid *g, int row, int height)
 Set the fixed size of a column.
void ewl_grid_row_h_remove (Ewl_Grid *g, int row)
 remove the user set size
void ewl_grid_row_preferred_h_use (Ewl_Grid *g, int row)
 use the preferred size of the row
float ewl_grid_row_relative_h_get (Ewl_Grid *g, int row)
 Get the user set relative height of a row.
void ewl_grid_row_relative_h_set (Ewl_Grid *g, int row, float relh)
 Set the relative height of a row.
unsigned int ewl_grid_vhomogeneous_get (Ewl_Grid *g)
 Retrieves the vertical homogeneous flag.
void ewl_grid_vhomogeneous_set (Ewl_Grid *g, unsigned int h)
 Change the vertical homogeneous layout of the box.

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:50:00 2008