lib/ewl_table.c File Reference
#include "ewl_base.h"
#include "ewl_table.h"
#include "ewl_button.h"
#include "ewl_text.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"

Functions | |
| void | ewl_table_add (Ewl_Table *table, Ewl_Widget *w, int start_col, int end_col, int start_row, int end_row) |
| Add a child widget to the table. | |
| void | ewl_table_cb_child_select (Ewl_Widget *w, void *ev_data __UNUSED__, void *user_data) |
| void | ewl_table_cb_child_show (Ewl_Container *p, Ewl_Widget *c __UNUSED__) |
| void | ewl_table_cb_configure (Ewl_Widget *w, void *ev_data __UNUSED__, void *user_data __UNUSED__) |
| void | ewl_table_col_row_get (Ewl_Table *t, Ewl_Cell *cell, int *start_col, int *end_col, int *start_row, int *end_row) |
| Get the column and row of a widget. | |
| void | ewl_table_column_w_get (Ewl_Table *table, int col, int *width) |
| Get the width of a table column. | |
| void | ewl_table_column_w_set (Ewl_Table *table, int col, int width) |
| Set the width of a table column. | |
| Ecore_List * | ewl_table_find (Ewl_Table *t, int start_col, int end_col, int start_row, int end_row) |
| Get a list of the widgets in the specified col/row. | |
| unsigned int | ewl_table_hhomogeneous_get (Ewl_Table *table) |
| Retrieves the horizontal homogeneous flag. | |
| void | ewl_table_hhomogeneous_set (Ewl_Table *table, unsigned int h) |
| Change the horizontal homogeneous layout of the box. | |
| void | ewl_table_homogeneous_set (Ewl_Table *table, unsigned int h) |
| Change the homogeneous layout of the box. | |
| int | ewl_table_init (Ewl_Table *t, int cols, int rows, char **col_headers) |
| Initialize table to starting values. | |
| Ewl_Widget * | ewl_table_new (int cols, int rows, char **col_headers) |
| Create a new table. | |
| void | ewl_table_reset (Ewl_Table *t, int cols, int rows, char **col_headers) |
| Clear the table and set new geometry. | |
| void | ewl_table_row_h_get (Ewl_Table *table, int row, int *height) |
| Get the height of a table row. | |
| void | ewl_table_row_h_set (Ewl_Table *table, int row, int height) |
| Set the height of a table row. | |
| char * | ewl_table_selected_get (Ewl_Table *t) |
| Get the text in the current selected box. | |
| unsigned int | ewl_table_vhomogeneous_get (Ewl_Table *table) |
| Retrieves the vertical homogeneous flag. | |
| void | ewl_table_vhomogeneous_set (Ewl_Table *table, unsigned int h) |
| Change the vertical homogeneous layout of the box. | |
Function Documentation
| void ewl_table_cb_child_select | ( | Ewl_Widget * | w, | |
| void *ev_data | __UNUSED__, | |||
| void * | user_data | |||
| ) |
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, Ewl_Table::end_c, Ewl_Grid_Child::end_col, Ewl_Table::end_r, Ewl_Grid_Child::end_row, EWL_TABLE, EWL_TABLE_TYPE, ewl_widget_data_get(), EWL_WIDGET_TYPE, Ewl_Table::grid, Ewl_Table::selected, Ewl_Table::start_c, Ewl_Grid_Child::start_col, Ewl_Table::start_r, and Ewl_Grid_Child::start_row.
Referenced by ewl_table_add().
| void ewl_table_cb_child_show | ( | Ewl_Container * | p, | |
| Ewl_Widget *c | __UNUSED__ | |||
| ) |
| void ewl_table_cb_configure | ( | Ewl_Widget * | w, | |
| void *ev_data | __UNUSED__, | |||
| void *user_data | __UNUSED__ | |||
| ) |
References CURRENT_H, CURRENT_W, CURRENT_X, CURRENT_Y, DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_OBJECT, ewl_object_geometry_request(), EWL_TABLE, EWL_TABLE_TYPE, Ewl_Table::grid, INSET_BOTTOM, INSET_LEFT, INSET_RIGHT, and INSET_TOP.
Referenced by ewl_table_init().