Ewl_Freebox_MVC: A free layout widget
Detailed Description
Defines a class to layout data in a free form.
- Remarks:
- Inherits from Ewl_MVC.
Data Structures | |
struct | Ewl_Freebox_MVC |
Inherits from EWL_MVC and extends to provide a free layout widget. More... | |
Defines | |
#define | EWL_FREEBOX_MVC(box) ((Ewl_Freebox_MVC *)box) |
#define | EWL_FREEBOX_MVC_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_FREEBOX_MVC_TYPE)) |
#define | EWL_FREEBOX_MVC_TYPE "freebox_mvc" |
Typedefs | |
typedef Ewl_Freebox_MVC | Ewl_Freebox_MVC |
Functions | |
void | ewl_freebox_mvc_cb_configure (Ewl_Widget *w, void *ev, void *data) |
void | ewl_freebox_mvc_cb_item_clicked (Ewl_Widget *w, void *ev, void *data) |
void | ewl_freebox_mvc_cb_selected_change (Ewl_MVC *mvc) |
int | ewl_freebox_mvc_init (Ewl_Freebox_MVC *fb_mvc) |
Initializes an Ewl_Freebox_MVC widget to default values. | |
Ewl_Widget * | ewl_freebox_mvc_new (void) |
Creates and initializes an Ewl_Freebox_MVC widget. | |
Ewl_Orientation | ewl_freebox_mvc_orientation_get (Ewl_Freebox_MVC *fb_mvc) |
void | ewl_freebox_mvc_orientation_set (Ewl_Freebox_MVC *fb_mvc, Ewl_Orientation orientation) |
Sets the orientation of the freebox mvc. | |
Ewl_Widget * | ewl_hfreebox_mvc_new (void) |
creates and initializes a new horizontal freebox mvc widget | |
Ewl_Widget * | ewl_vfreebox_mvc_new (void) |
creates and initializes a new vertical freebox mvc widget |
Define Documentation
#define EWL_FREEBOX_MVC | ( | box | ) | ((Ewl_Freebox_MVC *)box) |
Typecasts a pointer to an Ewl_Freebox_MVC pointer
#define EWL_FREEBOX_MVC_IS | ( | w | ) | (ewl_widget_type_is(EWL_WIDGET(w), EWL_FREEBOX_MVC_TYPE)) |
Returns TRUE if the widget is an Ewl_Freebox_MVC, otherwise FALSE
#define EWL_FREEBOX_MVC_TYPE "freebox_mvc" |
The type name of the Ewl_Freebox_MVC widget
Typedef Documentation
typedef struct Ewl_Freebox_MVC Ewl_Freebox_MVC |
The freebox_mvc structure
Function Documentation
void ewl_freebox_mvc_cb_configure | ( | Ewl_Widget * | w, | |
void * | ev, | |||
void * | data | |||
) |
void ewl_freebox_mvc_cb_item_clicked | ( | Ewl_Widget * | w, | |
void * | ev, | |||
void * | data | |||
) |
void ewl_freebox_mvc_cb_selected_change | ( | Ewl_MVC * | mvc | ) |
int ewl_freebox_mvc_init | ( | Ewl_Freebox_MVC * | fb_mvc | ) |
Initializes an Ewl_Freebox_MVC widget to default values.
- Parameters:
-
fb_mvc,: The fb_mvc to initialize
- Returns:
- Returns TRUE on success or FALSE on failure
Ewl_Widget* ewl_freebox_mvc_new | ( | void | ) |
Creates and initializes an Ewl_Freebox_MVC widget.
- Returns:
- Returns a new Ewl_Widget on success or NULL on failure
Ewl_Orientation ewl_freebox_mvc_orientation_get | ( | Ewl_Freebox_MVC * | fb_mvc | ) |
- Parameters:
-
fb_mvc,: The freebox mvc to use
- Returns:
- Returns the orientation of the freebox mvc brief Retrieve the current orientation of the freebox mvc
void ewl_freebox_mvc_orientation_set | ( | Ewl_Freebox_MVC * | fb_mvc, | |
Ewl_Orientation | orientation | |||
) |
Sets the orientation of the freebox mvc.
- Parameters:
-
fb_mvc,: The freebox mvc to use orientation,: The orientation to set
- Returns:
- Returns no value
Ewl_Widget* ewl_hfreebox_mvc_new | ( | void | ) |
creates and initializes a new horizontal freebox mvc widget
- Returns:
- Returns a new horizontal Ewl_Freebox_MVC widget or NULL on failure
Ewl_Widget* ewl_vfreebox_mvc_new | ( | void | ) |
creates and initializes a new vertical freebox mvc widget
- Returns:
- Returns a new vertical Ewl_Freebox_MVC widget or NULL on failure