summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_fileselector.eo
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-05-11 17:20:40 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-19 01:42:26 +0200
commit35bbedc96f158885bf36c741ec402a97a02f52f0 (patch)
treef2891f942765a3264973f7141215b9029350d665 /src/lib/elementary/elm_fileselector.eo
parent6fdc3794eb933ed28d29a0c8d1b206ddab61b836 (diff)
efl: Add missing event types
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6169
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_fileselector.eo9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/elementary/elm_fileselector.eo b/src/lib/elementary/elm_fileselector.eo
index 3ef8a517af..616108ad44 100644
--- a/src/lib/elementary/elm_fileselector.eo
+++ b/src/lib/elementary/elm_fileselector.eo
@@ -57,9 +57,10 @@ class Elm.Fileselector (Efl.Ui.Layout.Object, Elm.Interface.Fileselector,
57 Efl.Part.part; 57 Efl.Part.part;
58 } 58 }
59 events { 59 events {
60 done; [[Called when OK button was pressed]] 60 done: string; [[Called when OK button was pressed]]
61 activated; [[Called when the filesector was activated]] 61 /* FIXME: For all three events below, event_info can either be a string or an Efl.Model */
62 selected,invalid; [[Called when fileselector was selected]] 62 activated: void; [[Called when the filesector was activated]]
63 directory,open; [[Called when a directory was opened]] 63 selected,invalid: void; [[Called when fileselector was selected]]
64 directory,open: void; [[Called when a directory was opened]]
64 } 65 }
65} 66}