aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_entry_dialog.h
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2006-06-02 19:07:50 +0000
committerChristopher Michael <cpmichael1@comcast.net>2006-06-02 19:07:50 +0000
commit057af1edf41de9913ff7c1c73237c454004a09ac (patch)
tree16157059acc92917e414ea64cdac2fd082fe8400 /src/bin/e_entry_dialog.h
parent*** empty log message *** (diff)
downloadenlightenment-057af1edf41de9913ff7c1c73237c454004a09ac.tar.gz
Added an entry dialog ala confirm dialog for getting user input.
Currently used in ibar config dialog for adding/removing bar sources. SVN revision: 23094
Diffstat (limited to 'src/bin/e_entry_dialog.h')
-rw-r--r--src/bin/e_entry_dialog.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/bin/e_entry_dialog.h b/src/bin/e_entry_dialog.h
new file mode 100644
index 000000000..89f8dcbd7
--- /dev/null
+++ b/src/bin/e_entry_dialog.h
@@ -0,0 +1,24 @@
+#ifdef E_TYPEDEF
+
+#else
+#ifndef E_ENTRY_DIALOG_H
+#define E_ENTRY_DIALOG_H
+
+/*
+ * @title - dialog title
+ * @icon - dialog icon
+ * @text - the text shown in the dialog
+ * @button_text - "Ok" button text
+ * @button2_text - "Cancel" button text
+ * @func - the function to call if ok is pressed
+ * @func2 - the function to call if cancel is pressed
+ * @data - the pointer passed to func
+*/
+
+EAPI e_entry_dialog_show(const char *title, const char *icon, const char *text,
+ const char *button_text, const char *button2_text,
+ void (*func)(char *text, void *data),
+ void (*func2)(void *data), void *data);
+
+#endif
+#endif