Download

Support

lib/ewl_row.h

Go to the documentation of this file.
00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */
00002 #ifndef EWL_ROW_H
00003 #define EWL_ROW_H
00004 
00026 #define EWL_ROW_TYPE "row"
00027 
00032 #define EWL_ROW_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_ROW_TYPE))
00033 
00037 typedef struct Ewl_Row Ewl_Row;
00038 
00043 #define EWL_ROW(t) ((Ewl_Row *)t)
00044 
00049 struct Ewl_Row
00050 {
00051         Ewl_Container container;        
00052         Ewl_Container *header;                
00053 };
00054 
00055 Ewl_Widget         *ewl_row_new(void);
00056 int                  ewl_row_init(Ewl_Row *row);
00057 
00058 void                  ewl_row_header_set(Ewl_Row *row, Ewl_Container *header);
00059 Ewl_Widget         *ewl_row_column_get(Ewl_Row *row, short n);
00060 
00061 /*
00062  * Internally used callbacks, override at your own risk.
00063  */
00064 void ewl_row_cb_configure(Ewl_Widget *w, void *ev_data, void *user_data);
00065 void ewl_row_cb_header_configure(Ewl_Widget *w, void *ev_data,
00066                                                 void *user_data);
00067 void ewl_row_cb_header_destroy(Ewl_Widget *w, void *ev_data,
00068                                                 void *user_data);
00069 
00070 void ewl_row_cb_child_show(Ewl_Container *c, Ewl_Widget *w);
00071 void ewl_row_cb_child_hide(Ewl_Container *c, Ewl_Widget *w);
00072 void ewl_row_cb_child_resize(Ewl_Container *c, Ewl_Widget *w, int size,
00073                                                Ewl_Orientation o);
00074 
00079 #endif

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:06 2008