1 #ifdef E_TYPEDEFS 2 3 typedef struct _E_Grab_Dialog E_Grab_Dialog; 4 5 #else 6 #ifndef E_GRAB_DIALOG_H 7 #define E_GRAB_DIALOG_H 8 9 #define E_GRAB_DIALOG_TYPE 0xE0b0104A 10 11 struct _E_Grab_Dialog 12 { 13 E_Object e_obj_inherit; 14 15 E_Dialog *dia; 16 Ecore_X_Window grab_win; 17 Ecore_Event_Handler_Cb key; 18 Ecore_Event_Handler_Cb mouse; 19 Ecore_Event_Handler_Cb wheel; 20 Eina_List *handlers; 21 void *data; 22 }; 23 24 E_API E_Grab_Dialog *e_grab_dialog_show(Evas_Object *parent, Eina_Bool is_mouse, Ecore_Event_Handler_Cb key, Ecore_Event_Handler_Cb mouse, Ecore_Event_Handler_Cb wheel, const void *data); 25 26 #endif 27 #endif 28