Download

Support

lib/ewl_toolbar.h

Go to the documentation of this file.
00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */
00002 #ifndef EWL_TOOLBAR_H
00003 #define EWL_TOOLBAR_H
00004 
00005 #include "ewl_menubar.h"
00006 
00023 #define EWL_TOOLBAR_TYPE "toolbar"
00024 
00029 #define EWL_TOOLBAR_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_TOOLBAR_TYPE))
00030 
00034 typedef struct Ewl_Toolbar Ewl_Toolbar;
00035 
00040 #define EWL_TOOLBAR(toolbar) ((Ewl_Toolbar *) toolbar)
00041 
00045 struct Ewl_Toolbar
00046 {
00047         Ewl_Menubar     menubar; 
00048         Ewl_Icon_Part   hidden;  
00049 };
00050 Ewl_Widget     *ewl_htoolbar_new(void);
00051 Ewl_Widget     *ewl_vtoolbar_new(void);
00052 
00053 Ewl_Widget     *ewl_toolbar_new(void);
00054 int             ewl_toolbar_init(Ewl_Toolbar *t);
00055 
00056 void            ewl_toolbar_orientation_set(Ewl_Toolbar *t, Ewl_Orientation o);
00057 Ewl_Orientation ewl_toolbar_orientation_get(Ewl_Toolbar *t);
00058 
00059 void            ewl_toolbar_icon_part_hide(Ewl_Toolbar *t, Ewl_Icon_Part part);
00060 
00061 /*
00062  * Internal functions
00063  */
00064 void            ewl_toolbar_cb_child_add(Ewl_Container *c, Ewl_Widget *w);
00065 
00070 #endif
00071 

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Sat May 17 16:49:08 2008