aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_entry_dialog.h
blob: 9ea39fa3726b0d8369f4e59dc94e5a8c04948ce1 (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
28
29
30
31
32
33
34
35
36
37
38
39
#ifdef E_TYPEDEFS

typedef struct _E_Entry_Dialog E_Entry_Dialog;

#else
#ifndef E_ENTRY_DIALOG_H
#define E_ENTRY_DIALOG_H

#define E_ENTRY_DIALOG_TYPE 0xE0b0101d

struct _E_Entry_Dialog
{
   E_Object e_obj_inherit;

   E_Dialog *dia;
   Evas_Object *entry;
   char *text;
   struct {
      void (*func) (void *data, char *text);
      void *data;
   } ok;
   struct {
      void (*func) (void *data);
      void *data;
   } cancel;
};

E_API E_Entry_Dialog *e_entry_dialog_show(const char *title,
					 const char *icon,
					 const char *text,
					 const char *initial_text,
					 const char *button_text,
					 const char *button2_text,
					 void (*ok_func) (void *data, char *text),
					 void (*cancel_func) (void *data),
					 void *data);

#endif
#endif