Download

Support

lib/ewl_paned.h File Reference

#include "ewl_separator.h"

Include dependency graph for ewl_paned.h:

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

Go to the source code of this file.


Data Structures

struct  Ewl_Paned
 Inherits from Ewl_Container and extends to provided the paned widget. More...
struct  Ewl_Paned_Grabber
 Inherits from Ewl_Separator and extends to facilitate the paned grabber. More...
struct  Ewl_Paned_Size_Info
 Holds some information about the children. It is only used internally. More...

Defines

#define EWL_PANED(paned)   ((Ewl_Paned *) paned)
#define EWL_PANED_GRABBER(g)   ((Ewl_Paned_Grabber *)g)
#define EWL_PANED_GRABBER_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_PANED_GRABBER_TYPE))
#define EWL_PANED_GRABBER_TYPE   "paned_grabber"
#define EWL_PANED_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_PANED_TYPE))
#define EWL_PANED_TYPE   "paned"

Typedefs

typedef struct Ewl_Paned Ewl_Paned
typedef struct Ewl_Paned_Grabber Ewl_Paned_Grabber
typedef struct Ewl_Paned_Size_Info Ewl_Paned_Size_Info

Functions

Ewl_Widgetewl_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, void *data)
void ewl_paned_cb_destroy (Ewl_Widget *w, void *ev, void *data)
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_Widgetewl_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_Widgetewl_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_Infoewl_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_Infoewl_paned_size_info_get (Ewl_Paned *p, Ewl_Widget *w)
Ewl_Widgetewl_vpaned_new (void)
 Allocate and initialize a new paned widget with vertical orientation.

Copyright © Enlightenment.org

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