2019-02-27 10:17:16 -08:00
|
|
|
class Elm.Thumb extends Efl.Ui.Layout_Base implements Efl.File, Efl.Ui.Clickable,
|
2019-01-18 05:22:23 -08:00
|
|
|
Efl.Ui.Draggable, Efl.Ui.Legacy
|
2014-03-27 00:14:54 -07:00
|
|
|
{
|
2016-11-24 05:46:11 -08:00
|
|
|
[[Elementary thumbnail class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_thumb;
|
2014-03-27 00:14:54 -07:00
|
|
|
eo_prefix: elm_obj_thumb;
|
2016-05-17 09:14:47 -07:00
|
|
|
event_prefix: elm_thumb;
|
2014-03-27 00:14:54 -07:00
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2019-02-27 10:17:09 -08:00
|
|
|
Efl.Object.finalize;
|
|
|
|
Efl.File.load;
|
|
|
|
Efl.File.loaded { get; }
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.File.file { get; set; }
|
2019-02-27 10:17:09 -08:00
|
|
|
Efl.File.key { get; set; }
|
2018-04-05 01:47:26 -07:00
|
|
|
Efl.Gfx.Entity.visible { set; }
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.Ui.Draggable.drag_target { get; set; }
|
2014-03-27 00:14:54 -07:00
|
|
|
}
|
|
|
|
events {
|
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
2018-05-11 08:20:40 -07:00
|
|
|
generate,error: void; [[Called when an error occurred during thumbnail generation]]
|
|
|
|
generate,start: void; [[Called when thumbnail generation started]]
|
|
|
|
generate,stop: void; [[Called when thumbnail generation stopped]]
|
|
|
|
load,error: void; [[Called when an error occurred during loading]]
|
|
|
|
press: void; [[Called when pressed]]
|
2014-03-27 00:14:54 -07:00
|
|
|
}
|
|
|
|
}
|