aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_grab_dialog.h
blob: e82e5b5b9b406bf0f3f751834a6e4746f1215ac5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifdef E_TYPEDEFS

typedef struct _E_Grab_Dialog E_Grab_Dialog;

#else
#ifndef E_GRAB_DIALOG_H
#define E_GRAB_DIALOG_H

#define E_GRAB_DIALOG_TYPE 0xE0b0104A

struct _E_Grab_Dialog
{
   E_Object e_obj_inherit;

   E_Dialog *dia;
   Ecore_X_Window grab_win;
   Ecore_Event_Handler_Cb key;
   Ecore_Event_Handler_Cb mouse;
   Ecore_Event_Handler_Cb wheel;
   Eina_List *handlers;
   void *data;
};

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);

#endif
#endif