summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_fileselector_eo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_fileselector_eo.h')
-rw-r--r--src/lib/elementary/elm_fileselector_eo.h87
1 files changed, 87 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_fileselector_eo.h b/src/lib/elementary/elm_fileselector_eo.h
new file mode 100644
index 0000000..74ce3f1
--- /dev/null
+++ b/src/lib/elementary/elm_fileselector_eo.h
@@ -0,0 +1,87 @@
1#ifndef _ELM_FILESELECTOR_EO_H_
2#define _ELM_FILESELECTOR_EO_H_
3
4#ifndef _ELM_FILESELECTOR_EO_CLASS_TYPE
5#define _ELM_FILESELECTOR_EO_CLASS_TYPE
6
7typedef Eo Elm_Fileselector;
8
9#endif
10
11#ifndef _ELM_FILESELECTOR_EO_TYPES
12#define _ELM_FILESELECTOR_EO_TYPES
13
14
15#endif
16/** Elementary fileselector class
17 *
18 * @ingroup Elm_Fileselector
19 */
20#define ELM_FILESELECTOR_CLASS elm_fileselector_class_get()
21
22EWAPI const Efl_Class *elm_fileselector_class_get(void);
23
24/**
25 * @brief Enable/disable the "ok" and "cancel" buttons on a given file selector
26 * widget
27 *
28 * @note A file selector without those buttons will never emit the "done" smart
29 * event, and is only usable if one is just hooking to the other two events.
30 *
31 * See also @ref elm_obj_fileselector_buttons_ok_cancel_get.
32 *
33 * @param[in] obj The object.
34 * @param[in] visible @c true to show buttons, @c false to hide.
35 *
36 * @ingroup Elm_Fileselector
37 */
38EOAPI void elm_obj_fileselector_buttons_ok_cancel_set(Eo *obj, Eina_Bool visible);
39
40/**
41 * @brief Get whether the "ok" and "cancel" buttons on a given file selector
42 * widget are being shown.
43 *
44 * See also @ref elm_obj_fileselector_buttons_ok_cancel_set for more details.
45 *
46 * @param[in] obj The object.
47 *
48 * @return @c true to show buttons, @c false to hide.
49 *
50 * @ingroup Elm_Fileselector
51 */
52EOAPI Eina_Bool elm_obj_fileselector_buttons_ok_cancel_get(const Eo *obj);
53
54EWAPI extern const Efl_Event_Description _ELM_FILESELECTOR_EVENT_DONE;
55
56/** Called when OK button was pressed
57 * @return const char *
58 *
59 * @ingroup Elm_Fileselector
60 */
61#define ELM_FILESELECTOR_EVENT_DONE (&(_ELM_FILESELECTOR_EVENT_DONE))
62
63EWAPI extern const Efl_Event_Description _ELM_FILESELECTOR_EVENT_ACTIVATED;
64
65/** Called when the filesector was activated
66 *
67 * @ingroup Elm_Fileselector
68 */
69#define ELM_FILESELECTOR_EVENT_ACTIVATED (&(_ELM_FILESELECTOR_EVENT_ACTIVATED))
70
71EWAPI extern const Efl_Event_Description _ELM_FILESELECTOR_EVENT_SELECTED_INVALID;
72
73/** Called when fileselector was selected
74 *
75 * @ingroup Elm_Fileselector
76 */
77#define ELM_FILESELECTOR_EVENT_SELECTED_INVALID (&(_ELM_FILESELECTOR_EVENT_SELECTED_INVALID))
78
79EWAPI extern const Efl_Event_Description _ELM_FILESELECTOR_EVENT_DIRECTORY_OPEN;
80
81/** Called when a directory was opened
82 *
83 * @ingroup Elm_Fileselector
84 */
85#define ELM_FILESELECTOR_EVENT_DIRECTORY_OPEN (&(_ELM_FILESELECTOR_EVENT_DIRECTORY_OPEN))
86
87#endif