Download

Support

lib/ewl_expansion.h

Go to the documentation of this file.
00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */
00002 #ifndef EWL_EXPANSION_H
00003 #define EWL_EXPANSION_H
00004 
00025 #define EWL_EXPANSION_TYPE "expansion"
00026 
00031 #define EWL_EXPANSION_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_EXPANSION_TYPE))
00032 
00036 typedef struct Ewl_Expansion Ewl_Expansion;
00037 
00042 #define EWL_EXPANSION(c) ((Ewl_Expansion *)c)
00043 
00047 struct Ewl_Expansion
00048 {
00049         Ewl_Check w; 
00050         int expandable; 
00051 };
00052 
00053 Ewl_Widget      *ewl_expansion_new(void);
00054 int              ewl_expansion_init(Ewl_Expansion *c);
00055 
00056 int              ewl_expansion_is_expandable(Ewl_Expansion *c);
00057 void             ewl_expansion_expandable_set(Ewl_Expansion *c, int expandable);
00058 /*
00059  * Internally used callbacks.
00060  */
00061 void ewl_expansion_cb_reveal(Ewl_Widget *w, void *ev_data, void *user_data);
00062 
00067 #endif
00068 

Copyright © Enlightenment.org

Enlightened Widget Library Documentation Generated: Fri Jan 23 21:56:24 2009