Download

Support

lib/ewl_notebook.h File Reference

#include "ewl_box.h"

Include dependency graph for ewl_notebook.h:

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

Go to the source code of this file.


Data Structures

struct  Ewl_Notebook
 Inherits from Ewl_Box and extends to provide for a notebook style layout. More...

Defines

#define EWL_NOTEBOOK(n)   ((Ewl_Notebook *)n)
#define EWL_NOTEBOOK_IS(w)   (ewl_widget_type_is(EWL_WIDGET(w), EWL_NOTEBOOK_TYPE))
#define EWL_NOTEBOOK_TYPE   "notebook"

Typedefs

typedef struct Ewl_Notebook Ewl_Notebook

Functions

void ewl_notebook_cb_child_add (Ewl_Container *c, Ewl_Widget *w)
void ewl_notebook_cb_child_hide (Ewl_Container *c, Ewl_Widget *w)
void ewl_notebook_cb_child_remove (Ewl_Container *c, Ewl_Widget *w, int rem_idx)
void ewl_notebook_cb_child_show (Ewl_Container *c, Ewl_Widget *w)
void ewl_notebook_cb_tab_clicked (Ewl_Widget *w, void *ev, void *data)
int ewl_notebook_init (Ewl_Notebook *n)
 Initialize a notebook to default values and callbacks.
Ewl_Widgetewl_notebook_new (void)
 Create a new notebook widget.
const char * ewl_notebook_page_tab_text_get (Ewl_Notebook *n, Ewl_Widget *page)
 Get the text of the notebook page page.
void ewl_notebook_page_tab_text_set (Ewl_Notebook *n, Ewl_Widget *page, const char *text)
 Set the text of the tab for the page page to the text text.
Ewl_Widgetewl_notebook_page_tab_widget_get (Ewl_Notebook *n, Ewl_Widget *page)
 Retrieve the widget used as the tab for the page page.
void ewl_notebook_page_tab_widget_set (Ewl_Notebook *n, Ewl_Widget *page, Ewl_Widget *tab)
 Set the widget to use as the tab for the page page to widget tab.
unsigned int ewl_notebook_tabbar_alignment_get (Ewl_Notebook *n)
 Retrieves the alignment of the tabbar in the notebook widget.
void ewl_notebook_tabbar_alignment_set (Ewl_Notebook *n, unsigned int align)
 Set the alignment of the tabbar in the notebook widget.
unsigned int ewl_notebook_tabbar_homogeneous_get (Ewl_Notebook *n)
 Retrieves the homogeneous value of the notebook.
void ewl_notebook_tabbar_homogeneous_set (Ewl_Notebook *n, unsigned int h)
 Sets the tabs in the notebook to be the same size.
Ewl_Position ewl_notebook_tabbar_position_get (Ewl_Notebook *n)
 Get the position of the tabbar in the notebook widget.
void ewl_notebook_tabbar_position_set (Ewl_Notebook *n, Ewl_Position pos)
 Set the position of the tabbar in the notebook widget.
unsigned int ewl_notebook_tabbar_visible_get (Ewl_Notebook *n)
 Retrieve if the tabbar is visible.
void ewl_notebook_tabbar_visible_set (Ewl_Notebook *n, unsigned int visible)
 Set if the tabbar is visible.
Ewl_Widgetewl_notebook_visible_page_get (Ewl_Notebook *n)
 Get the current visible page of the notebook.
void ewl_notebook_visible_page_set (Ewl_Notebook *n, Ewl_Widget *page)
 Set the current visible page of the notebook.

Copyright © Enlightenment.org

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