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

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 __UNUSED__) |
| void | ewl_notebook_cb_child_show (Ewl_Container *c, Ewl_Widget *w) |
| void | ewl_notebook_cb_tab_clicked (Ewl_Widget *w, void *ev __UNUSED__, void *data) |
| int | ewl_notebook_init (Ewl_Notebook *n) |
| Initialize a notebook to default values and callbacks. | |
| Ewl_Widget * | ewl_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_Widget * | ewl_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_Widget * | ewl_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. | |
Function Documentation
| void ewl_notebook_cb_tab_clicked | ( | Ewl_Widget * | w, | |
| void *ev | __UNUSED__, | |||
| void * | data | |||
| ) |