aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_entry.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_entry.eo
parentecore_con: add check for invalid space("") name (diff)
downloadefl-35bbedc96f158885bf36c741ec402a97a02f52f0.tar.gz
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 'src/lib/elementary/elm_entry.eo')
-rw-r--r--src/lib/elementary/elm_entry.eo43
1 files changed, 22 insertions, 21 deletions
diff --git a/src/lib/elementary/elm_entry.eo b/src/lib/elementary/elm_entry.eo
index 70f6f62267..5f7ce5f1ae 100644
--- a/src/lib/elementary/elm_entry.eo
+++ b/src/lib/elementary/elm_entry.eo
@@ -880,26 +880,27 @@ class Elm.Entry (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clickabl
Efl.Part.part;
}
events {
- activated; [[Called when entry got activated]]
- changed; [[Called when entry changed]]
- changed,user; [[Called when the object changed due to user interaction]]
- validate; [[Called when validating]]
- context,open; [[Called when context menu was opened]]
- anchor,clicked; [[Called when anchor was clicked]]
- rejected; [[Called when entry was rejected]]
- maxlength,reached; [[Called when maximum entry length has been reached]]
- preedit,changed; [[Called when entry preedit changed]]
- press; [[Called when entry pressed]]
- redo,request; [[Called when redo was requested]]
- undo,request; [[Called when undo was requested]]
- text,set,done; [[Called when text set finished]]
- aborted; [[Called when entry was aborted]]
- anchor,down; [[Called on anchor down]]
- anchor,hover,opened; [[Called when hover opened]]
- anchor,in; [[Called on anchor in]]
- anchor,out; [[Called on anchor out]]
- anchor,up; [[called on anchor up]]
- cursor,changed; [[Called on cursor changed]]
- cursor,changed,manual; [[Called on manual cursor change]]
+ activated: void; [[Called when entry got activated]]
+ changed: void; [[Called when entry changed]]
+ /* FIXME: Canm be NULL but @nullable does not work on events */
+ changed,user: Elm.Entry_Change_Info; [[Called when the object changed due to user interaction]]
+ validate: Elm.Validate_Content; [[Called when validating]]
+ context,open: void; [[Called when context menu was opened]]
+ anchor,clicked: Elm.Entry_Anchor_Info; [[Called when anchor was clicked]]
+ rejected: void; [[Called when entry was rejected]]
+ maxlength,reached: void; [[Called when maximum entry length has been reached]]
+ preedit,changed: void; [[Called when entry preedit changed]]
+ press: void; [[Called when entry pressed]]
+ redo,request: void; [[Called when redo was requested]]
+ undo,request: void; [[Called when undo was requested]]
+ text,set,done: void; [[Called when text set finished]]
+ aborted: void; [[Called when entry was aborted]]
+ anchor,down: Elm.Entry_Anchor_Info; [[Called on anchor down]]
+ anchor,hover,opened: Elm.Entry_Anchor_Hover_Info; [[Called when hover opened]]
+ anchor,in: Elm.Entry_Anchor_Info; [[Called on anchor in]]
+ anchor,out: Elm.Entry_Anchor_Info; [[Called on anchor out]]
+ anchor,up: Elm.Entry_Anchor_Info; [[called on anchor up]]
+ cursor,changed: void; [[Called on cursor changed]]
+ cursor,changed,manual: void; [[Called on manual cursor change]]
}
}