Download

Support

lib/ewl_table.h File Reference

#include "ewl_cell.h"
#include "ewl_grid.h"

Include dependency graph for ewl_table.h:

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

Go to the source code of this file.


Data Structures

struct  Ewl_Table
 Inherits from Ewl_Container and extends to provide a table layout. More...

Defines

#define EWL_TABLE(table)   ((Ewl_Table *)table)
#define EWL_TABLE_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_TABLE_TYPE))
#define EWL_TABLE_TYPE   "table"

Typedefs

typedef struct Ewl_Table Ewl_Table

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, void *user_data)
void ewl_table_cb_child_show (Ewl_Container *p, Ewl_Widget *c)
void ewl_table_cb_configure (Ewl_Widget *w, void *ev_data, void *user_data)
void ewl_table_col_row_get (Ewl_Table *table, 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 *table, int start_col, int end_col, int start_row, int emd_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_Widgetewl_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 **c_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 *table)
 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.

Copyright © Enlightenment.org

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