enlightenment/src/bin/e_toolbar.h

37 lines
896 B
C
Raw Normal View History

#ifdef E_TYPEDEFS
typedef struct _E_Toolbar E_Toolbar;
#else
#ifndef E_TOOLBAR_H
#define E_TOOLBAR_H
#define E_TOOLBAR_TYPE 0xE0b0101f
struct _E_Toolbar
{
E_Object e_obj_inherit;
int x, y, w, h, id;
const char *name;
Evas *evas;
E_Gadcon *gadcon;
E_Menu *menu;
E_Config_Dialog *cfg_dlg;
Evas_Object *o_base, *o_event;
};
EAPI int e_toolbar_init (void);
EAPI int e_toolbar_shutdown (void);
EAPI E_Toolbar *e_toolbar_new (Evas *evas, const char *name);
EAPI void e_toolbar_show (E_Toolbar *tbar);
EAPI void e_toolbar_move (E_Toolbar *tbar, int x, int y);
EAPI void e_toolbar_resize (E_Toolbar *tbar, int w, int h);
EAPI void e_toolbar_move_resize (E_Toolbar *tbar, int x, int y, int w, int h);
EAPI void e_toolbar_orient (E_Toolbar *tbar, E_Gadcon_Orient orient);
#endif
#endif