lib/ewl_icondialog.h
Go to the documentation of this file.00001 /* vim: set sw=8 ts=8 sts=8 expandtab: */ 00002 #ifndef EWL_ICONDIALOG_H 00003 #define EWL_ICONDIALOG_H 00004 00026 #define EWL_ICONDIALOG_TYPE "icondialog" 00027 00032 #define EWL_ICONDIALOG_IS(w) (ewl_widget_type_is(EWL_WIDGET(w), EWL_ICONDIALOG_TYPE)) 00033 00037 typedef struct Ewl_Icondialog Ewl_Icondialog; 00038 00043 #define EWL_ICONDIALOG(dialog) ((Ewl_Icondialog *) dialog) 00044 00048 struct Ewl_Icondialog 00049 { 00050 Ewl_Dialog dialog; 00052 Ewl_Widget *icon; 00053 Ewl_Widget *vbox; 00054 }; 00055 00056 Ewl_Widget *ewl_icondialog_new(void); 00057 int ewl_icondialog_init(Ewl_Icondialog *dialog); 00058 00059 void ewl_icondialog_icon_set(Ewl_Icondialog *d, 00060 const char *theme_icon); 00061 00066 #endif