lib/ewl_paned.c File Reference
#include "ewl_base.h"
#include "ewl_paned.h"
#include "ewl_macros.h"
#include "ewl_private.h"
#include "ewl_debug.h"
Include dependency graph for ewl_paned.c:

Data Structures | |
| struct | Ewl_Paned_Layout |
| Contains information on a paned layout. More... | |
| struct | Ewl_Paned_Pane_Info |
| Stores information about a pane in the paned widget. More... | |
Typedefs | |
| typedef struct Ewl_Paned_Layout | Ewl_Paned_Layout |
| typedef struct Ewl_Paned_Pane_Info | Ewl_Paned_Pane_Info |
Functions | |
| Ewl_Widget * | ewl_hpaned_new (void) |
| Allocate and initialize a new paned widget with horizontal orientation. | |
| void | ewl_paned_arrange (Ewl_Paned *p, int pane_num) |
| The arrange the child widgets. | |
| void | ewl_paned_cb_child_add (Ewl_Container *c, Ewl_Widget *w) |
| void | ewl_paned_cb_child_hide (Ewl_Container *c, Ewl_Widget *w) |
| void | ewl_paned_cb_child_remove (Ewl_Container *c, Ewl_Widget *w, int idx) |
| void | ewl_paned_cb_child_resize (Ewl_Container *c, Ewl_Widget *w, int size, Ewl_Orientation o) |
| void | ewl_paned_cb_child_show (Ewl_Container *c, Ewl_Widget *w) |
| void | ewl_paned_cb_configure (Ewl_Widget *w, void *ev __UNUSED__, void *data __UNUSED__) |
| void | ewl_paned_cb_destroy (Ewl_Widget *w, void *ev __UNUSED__, void *data __UNUSED__) |
| unsigned int | ewl_paned_fixed_size_get (Ewl_Paned *p, Ewl_Widget *child) |
| Retrieves if the pane is set to keep its size while resizing. | |
| void | ewl_paned_fixed_size_set (Ewl_Paned *p, Ewl_Widget *child, unsigned int fixed) |
| Set the given widget to resize only by the grabber. | |
| int | ewl_paned_grabber_init (Ewl_Paned_Grabber *g) |
| Ewl_Widget * | ewl_paned_grabber_new (void) |
| Ewl_Orientation | ewl_paned_grabber_orientation_get (Ewl_Paned_Grabber *g) |
| void | ewl_paned_grabber_paned_orientation_set (Ewl_Paned_Grabber *g, Ewl_Orientation o) |
| void | ewl_paned_grabber_show_cursor_for (Ewl_Paned_Grabber *g, unsigned int dir) |
| int | ewl_paned_init (Ewl_Paned *p) |
| Initialize a new paned widget to default values. | |
| int | ewl_paned_initial_size_get (Ewl_Paned *p, Ewl_Widget *child) |
| Get the initial size of a pane in px. | |
| void | ewl_paned_initial_size_set (Ewl_Paned *p, Ewl_Widget *child, int size) |
| Set the initial size of a pane in px. | |
| Ewl_Widget * | ewl_paned_new (void) |
| Allocate and initialize a new paned widget. | |
| Ewl_Orientation | ewl_paned_orientation_get (Ewl_Paned *p) |
| Get the orientation of the paned widget. | |
| void | ewl_paned_orientation_set (Ewl_Paned *p, Ewl_Orientation o) |
| Set the orientation of the paned. | |
| Ewl_Paned_Size_Info * | ewl_paned_size_info_add (Ewl_Paned *p, Ewl_Widget *w) |
| void | ewl_paned_size_info_del (Ewl_Paned *p, Ewl_Widget *w) |
| Ewl_Paned_Size_Info * | ewl_paned_size_info_get (Ewl_Paned *p, Ewl_Widget *w) |
| Ewl_Widget * | ewl_vpaned_new (void) |
| Allocate and initialize a new paned widget with vertical orientation. | |
Typedef Documentation
| typedef struct Ewl_Paned_Layout Ewl_Paned_Layout |
| typedef struct Ewl_Paned_Pane_Info Ewl_Paned_Pane_Info |
Function Documentation
| void ewl_paned_cb_configure | ( | Ewl_Widget * | w, | |
| void *ev | __UNUSED__, | |||
| void *data | __UNUSED__ | |||
| ) |
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_CONTAINER, ewl_container_child_count_visible_get(), EWL_PANED, ewl_paned_arrange(), and EWL_PANED_TYPE.
Referenced by ewl_paned_init().
| void ewl_paned_cb_destroy | ( | Ewl_Widget * | w, | |
| void *ev | __UNUSED__, | |||
| void *data | __UNUSED__ | |||
| ) |
References DCHECK_PARAM_PTR, DCHECK_TYPE, DENTER_FUNCTION, DLEAVE_FUNCTION, DLEVEL_STABLE, EWL_PANED, EWL_PANED_TYPE, IF_FREE, and Ewl_Paned::info.
Referenced by ewl_paned_init().