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
This commit is contained in:
parent
6fdc3794eb
commit
35bbedc96f
|
@ -106,10 +106,6 @@ public struct Description {
|
|||
|
||||
public delegate void Event_Cb(System.IntPtr data, ref Event evt);
|
||||
#pragma warning disable 0169
|
||||
public struct Callback_Array_Item {
|
||||
IntPtr desc;
|
||||
IntPtr func;
|
||||
};
|
||||
public struct Dbg_Info {
|
||||
IntPtr name;
|
||||
IntPtr value;
|
||||
|
@ -480,9 +476,6 @@ public struct Elm_Atspi_Action
|
|||
IntPtr func;
|
||||
}
|
||||
|
||||
// Some places stil use the non-namespaced Efl_Event_Cb
|
||||
public delegate void Efl_Event_Cb(System.IntPtr data, ref efl.Event evt);
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct Tm {
|
||||
int tm_sec;
|
||||
|
|
|
@ -34,12 +34,12 @@ class Efl.App (Efl.Loop)
|
|||
}
|
||||
}
|
||||
events {
|
||||
pause; [[Called when the application is not going be displayed or otherwise used by a user for some time]]
|
||||
resume; [[Called before a window is rendered after a pause event]]
|
||||
terminate; [[Called before starting the shutdown of the application]]
|
||||
signal,usr1; [[System specific, but on unix maps to SIGUSR1 signal to the process - only called on main loop object]]
|
||||
signal,usr2; [[System specific, but on unix maps to SIGUSR2 signal to the process - only called on main loop object]]
|
||||
signal,hup; [[System specific, but on unix maps to SIGHUP signal to the process - only called on main loop object]]
|
||||
pause: void; [[Called when the application is not going be displayed or otherwise used by a user for some time]]
|
||||
resume: void; [[Called before a window is rendered after a pause event]]
|
||||
terminate: void; [[Called before starting the shutdown of the application]]
|
||||
signal,usr1: void; [[System specific, but on unix maps to SIGUSR1 signal to the process - only called on main loop object]]
|
||||
signal,usr2: void; [[System specific, but on unix maps to SIGUSR2 signal to the process - only called on main loop object]]
|
||||
signal,hup: void; [[System specific, but on unix maps to SIGHUP signal to the process - only called on main loop object]]
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -236,12 +236,12 @@ class Efl.Io.Buffered_Stream (Efl.Loop_Consumer, Efl.Io.Reader, Efl.Io.Writer, E
|
|||
}
|
||||
|
||||
events {
|
||||
write,finished; [[@.eos_mark was called and all available data was sent to destination]]
|
||||
read,finished; [[Same as @Efl.Io.Reader "eos", for consistency.]]
|
||||
finished; [[Both read and write are finished.]]
|
||||
write,finished: void; [[@.eos_mark was called and all available data was sent to destination]]
|
||||
read,finished: void; [[Same as @Efl.Io.Reader "eos", for consistency.]]
|
||||
finished: void; [[Both read and write are finished.]]
|
||||
error: Eina.Error; [[An error has occurred and I/O has stopped]]
|
||||
progress; [[Property @.progress changed]]
|
||||
slice,changed; [[The read-slice returned by @.slice may have changed.]]
|
||||
progress: void; [[Property @.progress changed]]
|
||||
slice,changed: void; [[The read-slice returned by @.slice may have changed.]]
|
||||
line: ptr(const(Eina.Slice)); [[If @.line_delimiter is set, will be emitted with current line. The memory is only valid during event callback dispatched and should not be modified. Note that the line slice may not be inside @.slice.]]
|
||||
}
|
||||
|
||||
|
|
|
@ -361,9 +361,9 @@ class Efl.Io.Copier (Efl.Loop_Consumer, Efl.Io.Closer) {
|
|||
}
|
||||
|
||||
events {
|
||||
done; [[All available data was copied from source to destination]]
|
||||
done: void; [[All available data was copied from source to destination]]
|
||||
error: Eina.Error; [[An error happened and the copy stopped]]
|
||||
progress; [[Total size changed or Data was read/written]]
|
||||
progress: void; [[Total size changed or Data was read/written]]
|
||||
data: ptr(const(Eina.Slice)); [[When data is read to internal buffer, it's emitted in this event. The memory is only valid during event callback dispatched and should not be modified.]]
|
||||
line: ptr(const(Eina.Slice)); [[If @.line_delimiter is set, will be emitted with current line. The memory is only valid during event callback dispatched and should not be modified.]]
|
||||
}
|
||||
|
|
|
@ -111,14 +111,14 @@ class Efl.Loop (Efl.Task)
|
|||
}
|
||||
}
|
||||
events {
|
||||
idle,enter @restart; [[Event occurs once the main loop enters the idle state.]]
|
||||
idle,exit @restart; [[Event occurs once the main loop exits the idle state.]]
|
||||
idle @restart; [[Event occurs once the main loop is idle. If you keep listening on this event it may increase the burden on your CPU.]]
|
||||
idle,enter @restart: void; [[Event occurs once the main loop enters the idle state.]]
|
||||
idle,exit @restart: void; [[Event occurs once the main loop exits the idle state.]]
|
||||
idle @restart: void; [[Event occurs once the main loop is idle. If you keep listening on this event it may increase the burden on your CPU.]]
|
||||
arguments: Efl.Loop_Arguments; [[Event happens when args are provided to the loop by args_add().]]
|
||||
poll,high; [[Event occurs multiple times per second. The exact tick is undefined and can be adjusted system wide.]]
|
||||
poll,medium; [[Event occurs multiple times per minute. The exact tick is undefined and can be adjusted system wide.]]
|
||||
poll,low; [[Event occurs multiple times every 15 minutes. The exact tick is undefined and can be adjusted system wide.]]
|
||||
quit; [[Event occurs when the loop was requested to quit externally e.g. by a ctrl+c signal or a request from a parent loop/thread to have the child exit.]]
|
||||
poll,high: void; [[Event occurs multiple times per second. The exact tick is undefined and can be adjusted system wide.]]
|
||||
poll,medium: void; [[Event occurs multiple times per minute. The exact tick is undefined and can be adjusted system wide.]]
|
||||
poll,low: void; [[Event occurs multiple times every 15 minutes. The exact tick is undefined and can be adjusted system wide.]]
|
||||
quit: void; [[Event occurs when the loop was requested to quit externally e.g. by a ctrl+c signal or a request from a parent loop/thread to have the child exit.]]
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -32,9 +32,9 @@ class Efl.Loop_Fd (Efl.Loop_Consumer)
|
|||
}
|
||||
}
|
||||
events {
|
||||
read; [[Called when a read happened on the file descriptor]]
|
||||
write; [[Called when a write happened on the file descriptor]]
|
||||
error; [[Called when a error occurred on the file descriptor]]
|
||||
read: void; [[Called when a read happened on the file descriptor]]
|
||||
write: void; [[Called when a write happened on the file descriptor]]
|
||||
error: void; [[Called when a error occurred on the file descriptor]]
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -54,11 +54,11 @@ class Efl.Loop_Handler (Efl.Object)
|
|||
}
|
||||
}
|
||||
events {
|
||||
read; [[ Called when a read occurs on the descriptor. ]]
|
||||
write; [[ Called when a write occurs on the descriptor. ]]
|
||||
error; [[ Called when a error occurrs on the descriptor. ]]
|
||||
buffer; [[ Called when buffered data already read from the descriptor should be processed. ]]
|
||||
prepare; [[ Called when preparing a descriptor for listening. ]]
|
||||
read: void; [[ Called when a read occurs on the descriptor. ]]
|
||||
write: void; [[ Called when a write occurs on the descriptor. ]]
|
||||
error: void; [[ Called when a error occurrs on the descriptor. ]]
|
||||
buffer: void; [[ Called when buffered data already read from the descriptor should be processed. ]]
|
||||
prepare: void; [[ Called when preparing a descriptor for listening. ]]
|
||||
}
|
||||
|
||||
implements {
|
||||
|
|
|
@ -54,7 +54,7 @@ class Efl.Loop_Timer (Efl.Loop_Consumer)
|
|||
}
|
||||
}
|
||||
events {
|
||||
tick; [[Event triggered when the specified time as passed.]]
|
||||
tick: void; [[Event triggered when the specified time as passed.]]
|
||||
}
|
||||
implements {
|
||||
Efl.Object.constructor;
|
||||
|
|
|
@ -7,7 +7,9 @@ class Efl.Model_Composite_Selection (Efl.Model_Composite_Boolean)
|
|||
Efl.Model.property { get; set; }
|
||||
}
|
||||
events {
|
||||
selected;
|
||||
unselected;
|
||||
/* FIXME: The object is emitted in the event_info. This is redundant. */
|
||||
selected: Efl.Object;
|
||||
/* FIXME: The object is emitted in the event_info. This is redundant. */
|
||||
unselected: Efl.Object;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -155,8 +155,8 @@ class Ecore.Audio.In (Ecore.Audio)
|
|||
Ecore.Audio.vio_set;
|
||||
}
|
||||
events {
|
||||
in,looped; [[Called when an input has looped.]]
|
||||
in,stopped; [[Called when an input has stopped playing.]]
|
||||
in,samplerate,changed; [[Called when the input samplerate has changed.]]
|
||||
in,looped: void; [[Called when an input has looped.]]
|
||||
in,stopped: void; [[Called when an input has stopped playing.]]
|
||||
in,samplerate,changed: void; [[Called when the input samplerate has changed.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ class Ecore.Audio.Out.Pulse (Ecore.Audio.Out)
|
|||
Ecore.Audio.Out.input_detach;
|
||||
}
|
||||
events {
|
||||
context,ready; [[Called when the output is ready for playback.]]
|
||||
context,fail; [[Called when context fails.]]
|
||||
context,ready: void; [[Called when the output is ready for playback.]]
|
||||
context,fail: void; [[Called when context fails.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,10 @@ class Ecore.Audio.Out.Wasapi (Ecore.Audio.Out)
|
|||
Ecore.Audio.Out.input_detach;
|
||||
}
|
||||
events {
|
||||
context,ready; [[Called when the output is ready for playback.]]
|
||||
context,fail; [[Called when context fails.]]
|
||||
stop; [[Called when need to stop.]]
|
||||
/* FIXME: Make sure that this event is actually emitted */
|
||||
context,ready: void; [[Called when the output is ready for playback.]]
|
||||
/* FIXME: Make sure that this event is actually emitted */
|
||||
context,fail: void; [[Called when context fails.]]
|
||||
stop: void; [[Called when need to stop.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -87,7 +87,7 @@ class Efl.Net.Control.Access_Point (Efl.Loop_Consumer) {
|
|||
]]
|
||||
|
||||
events {
|
||||
changed; [[Called when some properties were changed.]]
|
||||
changed: void; [[Called when some properties were changed.]]
|
||||
}
|
||||
|
||||
methods {
|
||||
|
|
|
@ -110,13 +110,13 @@ class Efl.Net.Control.Manager (Efl.Loop_Consumer) {
|
|||
events {
|
||||
access_point,add: Efl.Net.Control.Access_Point; [[The given access point has been added]]
|
||||
access_point,del: Efl.Net.Control.Access_Point; [[The given access point will be deleted]]
|
||||
access_points,changed; [[Access points were added, deleted or reordered.]]
|
||||
access_points,changed: void; [[Access points were added, deleted or reordered.]]
|
||||
technology,add: Efl.Net.Control.Technology; [[The given technology has been added]]
|
||||
technology,del: Efl.Net.Control.Technology; [[The given technology will be deleted]]
|
||||
radios_offline,changed; [[Property @.radios_offline changed]]
|
||||
state,changed; [[Property @.state changed]]
|
||||
radios_offline,changed: void; [[Property @.radios_offline changed]]
|
||||
state,changed: void; [[Property @.state changed]]
|
||||
|
||||
agent_released; [[Notifies we're not the agent anymore]]
|
||||
agent_released: void; [[Notifies we're not the agent anymore]]
|
||||
agent_error: Efl.Net.Control.Agent_Error; [[Requires the error to be reported to the user]]
|
||||
agent_browser_url: Efl.Net.Control.Agent_Browser_Url; [[Requires the user to visit a web page]]
|
||||
agent_request_input: Efl.Net.Control.Agent_Request_Input; [[Requires the user to enter information in order to proceed, such as hidden SSID, passphrase, etc. After the user enters the information, reply by calling @.agent_reply]]
|
||||
|
|
|
@ -28,7 +28,7 @@ class Efl.Net.Control.Technology (Efl.Loop_Consumer) {
|
|||
@since 1.19
|
||||
]]
|
||||
events {
|
||||
changed; [[Called when some properties were changed.]]
|
||||
changed: void; [[Called when some properties were changed.]]
|
||||
}
|
||||
|
||||
methods {
|
||||
|
|
|
@ -111,6 +111,7 @@ interface Efl.Net.Dialer (Efl.Net.Socket) {
|
|||
}
|
||||
|
||||
events {
|
||||
/* FIXME: Might be NULL, but @nullable does not work on event types */
|
||||
resolved: string; [[Notifies @.address_dial was resolved to
|
||||
@Efl.Net.Socket.address_remote.
|
||||
|
||||
|
@ -126,6 +127,6 @@ interface Efl.Net.Dialer (Efl.Net.Socket) {
|
|||
error: Eina.Error; [[Some error happened and the socket
|
||||
stopped working.
|
||||
]]
|
||||
connected; [[Notifies the socket is connected to the remote peer.]]
|
||||
connected: void; [[Notifies the socket is connected to the remote peer.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -388,7 +388,7 @@ class Efl.Net.Dialer_Http (Efl.Loop_Consumer, Efl.Net.Dialer, Efl.Io.Sizer) {
|
|||
}
|
||||
|
||||
events {
|
||||
headers,done; [[Notifies all headers were parsed and are available.]]
|
||||
headers,done: void; [[Notifies all headers were parsed and are available.]]
|
||||
}
|
||||
|
||||
implements {
|
||||
|
|
|
@ -29,7 +29,7 @@ interface Efl.Net.Server {
|
|||
error: Eina.Error; [[An error has occurred and the server needs
|
||||
to be stopped.
|
||||
]]
|
||||
serving; [[Notifies the server is ready to accept clients.
|
||||
serving: void; [[Notifies the server is ready to accept clients.
|
||||
See property @.serving]]
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ class Efl.Net.Session (Efl.Loop_Consumer) {
|
|||
@since 1.19
|
||||
]]
|
||||
events {
|
||||
changed; [[Called when some properties were changed.]]
|
||||
changed: void; [[Called when some properties were changed.]]
|
||||
}
|
||||
|
||||
methods {
|
||||
|
|
|
@ -13,7 +13,7 @@ class Efl.Net.Socket_Ssl (Efl.Loop_Consumer, Efl.Net.Socket) {
|
|||
]]
|
||||
|
||||
events {
|
||||
ssl,ready; [[Notifies the SSL handshake has been performed and the socket is now able to communicate]]
|
||||
ssl,ready: void; [[Notifies the SSL handshake has been performed and the socket is now able to communicate]]
|
||||
ssl,error: Eina.Error; [[An error such as @Efl.Net.Socket_Ssl_Error.HANDSHAKE]]
|
||||
}
|
||||
|
||||
|
|
|
@ -92,6 +92,6 @@ mixin Ector.Buffer
|
|||
}
|
||||
}
|
||||
events {
|
||||
detached; [[Emitted whenever the previously attached pixels are detached during pixels_set]]
|
||||
detached: ptr(ubyte); [[Emitted whenever the previously attached pixels are detached during pixels_set]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -108,8 +108,9 @@ interface Efl.Layout.Calc
|
|||
}
|
||||
}
|
||||
events {
|
||||
recalc; [[The layout was recalculated.]]
|
||||
circular,dependency; [[A circular dependency between parts of the
|
||||
recalc: void; [[The layout was recalculated.]]
|
||||
/* FIXME: The actual type is list<string> but the C# bindings do not support that yet */
|
||||
circular,dependency: void; [[A circular dependency between parts of the
|
||||
object was found.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,29 +12,6 @@ EAPI extern Eina_Error EFL_MODEL_ERROR_INCORRECT_VALUE;
|
|||
EAPI extern Eina_Error EFL_MODEL_ERROR_PERMISSION_DENIED;
|
||||
EAPI extern Eina_Error EFL_MODEL_ERROR_INVALID_OBJECT; /**< @since 1.19 */
|
||||
|
||||
/**
|
||||
* @struct _Efl_Model_Children_Event
|
||||
* Every time a child id added the event
|
||||
* EFL_MODEL_EVENT_CHILD_ADDED is dispatched
|
||||
* passing along this structure.
|
||||
*/
|
||||
struct _Efl_Model_Children_Event
|
||||
{
|
||||
/**
|
||||
* index is a hint and is intended
|
||||
* to provide a way for applications
|
||||
* to control/know children relative
|
||||
* positions through listings.
|
||||
*/
|
||||
unsigned int index;
|
||||
/**
|
||||
* If an object has been build for this index and
|
||||
* is currently tracked by the parent, it wild be
|
||||
* available here.
|
||||
*/
|
||||
Eo *child;
|
||||
};
|
||||
|
||||
/**
|
||||
* @struct Efl_Model_Children_Event
|
||||
*/
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import efl_input_device;
|
||||
import efl_gfx_types;
|
||||
|
||||
interface Efl.Canvas.Scene ()
|
||||
{
|
||||
|
@ -231,8 +232,9 @@ interface Efl.Canvas.Scene ()
|
|||
focus,out: Efl.Input.Focus; [[Called when canvas lost focus]]
|
||||
object,focus,in: Efl.Input.Focus; [[Called when object got focus]]
|
||||
object,focus,out: Efl.Input.Focus; [[Called when object lost focus]]
|
||||
render,pre; [[Called when pre render happens]]
|
||||
render,post; [[Called when post render happens]]
|
||||
render,pre: void; [[Called when pre render happens]]
|
||||
/* FIXME: event_info can be NULL, but @nullable tag does not work on events yet */
|
||||
render,post: Efl.Gfx.Event.Render_Post; [[Called when post render happens]]
|
||||
device,changed: Efl.Input.Device; [[Called when input device changed]]
|
||||
device,added: Efl.Input.Device; [[Called when input device was added]]
|
||||
device,removed: Efl.Input.Device; [[Called when input device was removed]]
|
||||
|
|
|
@ -101,9 +101,9 @@ interface Efl.Gfx.Entity {
|
|||
}
|
||||
}
|
||||
events {
|
||||
show; [[Object just became visible.]]
|
||||
hide; [[Object just became invisible.]]
|
||||
move; [[Object was moved, its position during the event is the new one.]]
|
||||
resize; [[Object was resized, its size during the event is the new one.]]
|
||||
show: void; [[Object just became visible.]]
|
||||
hide: void; [[Object just became invisible.]]
|
||||
move: void; [[Object was moved, its position during the event is the new one.]]
|
||||
resize: void; [[Object was resized, its size during the event is the new one.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -204,9 +204,9 @@ interface Efl.Gfx.Image ()
|
|||
}
|
||||
}
|
||||
events {
|
||||
preload; [[Image data has been preloaded.]]
|
||||
resize; [[Image was resized (its pixel data).]]
|
||||
unload; [[Image data has been unloaded (by some mechanism in
|
||||
EFL that threw out the original image data).]]
|
||||
preload: void; [[Image data has been preloaded.]]
|
||||
resize: void; [[Image was resized (its pixel data).]]
|
||||
unload: void; [[Image data has been unloaded (by some mechanism in
|
||||
EFL that threw out the original image data).]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,10 +28,8 @@ interface Efl.Gfx.Image_Load_Controller ()
|
|||
load_async_cancel {
|
||||
[[Cancel preloading an image object's image data in the background.
|
||||
|
||||
The event $load,cancelled should be triggered soon after
|
||||
cancellation occurs and the object should be left in a state
|
||||
where it has no image data. If cancel is called too late, the image
|
||||
will be kept in memory.
|
||||
The object should be left in a state where it has no image data.
|
||||
If cancel is called too late, the image will be kept in memory.
|
||||
]]
|
||||
}
|
||||
/*
|
||||
|
@ -181,8 +179,7 @@ interface Efl.Gfx.Image_Load_Controller ()
|
|||
}
|
||||
}
|
||||
events {
|
||||
load,done; [[Called when he image was loaded]]
|
||||
load,done: void; [[Called when he image was loaded]]
|
||||
load,error: Efl.Gfx.Image_Load_Error; [[Called when an error happened during image loading]]
|
||||
load,cancelled; [[Called when the image loading was cancelled]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -235,6 +235,6 @@ interface Efl.Gfx.Size_Hint
|
|||
}
|
||||
}
|
||||
events {
|
||||
change,size,hints; [[Object size hints changed.]]
|
||||
change,size,hints: void; [[Object size hints changed.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -129,6 +129,6 @@ interface Efl.Gfx.Stack
|
|||
}
|
||||
}
|
||||
events {
|
||||
restack; [[Object stacking was changed.]]
|
||||
restack: void; [[Object stacking was changed.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -137,9 +137,9 @@ class Efl.Io.Buffer (Efl.Object, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer, Ef
|
|||
}
|
||||
|
||||
events {
|
||||
position_read,changed; [[Notifies @.position_read changed]]
|
||||
position_write,changed; [[Notifies @.position_write changed]]
|
||||
reallocated; [[Notifies the internal buffer was reallocated, thus whatever was returned by @.slice becomes invalid]]
|
||||
position_read,changed: void; [[Notifies @.position_read changed]]
|
||||
position_write,changed: void; [[Notifies @.position_write changed]]
|
||||
reallocated: void; [[Notifies the internal buffer was reallocated, thus whatever was returned by @.slice becomes invalid]]
|
||||
}
|
||||
|
||||
implements {
|
||||
|
|
|
@ -74,6 +74,6 @@ mixin Efl.Io.Closer {
|
|||
}
|
||||
|
||||
events {
|
||||
closed; [[Notifies closed, when property is marked as true]]
|
||||
closed: void; [[Notifies closed, when property is marked as true]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,6 +39,6 @@ mixin Efl.Io.Positioner {
|
|||
}
|
||||
|
||||
events {
|
||||
position,changed; [[Notifies position changed]]
|
||||
position,changed: void; [[Notifies position changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -102,7 +102,7 @@ class Efl.Io.Queue (Efl.Object, Efl.Io.Reader, Efl.Io.Writer, Efl.Io.Closer) {
|
|||
}
|
||||
|
||||
events {
|
||||
slice,changed; [[The read-slice returned by @.slice may have changed.]]
|
||||
slice,changed: void; [[The read-slice returned by @.slice may have changed.]]
|
||||
}
|
||||
|
||||
implements {
|
||||
|
|
|
@ -55,7 +55,7 @@ interface Efl.Io.Reader {
|
|||
}
|
||||
|
||||
events {
|
||||
can_read,changed; [[Notifies can_read property changed.
|
||||
can_read,changed: void; [[Notifies can_read property changed.
|
||||
|
||||
If @.can_read is $true there is data to
|
||||
@.read without blocking/error. If
|
||||
|
@ -66,7 +66,7 @@ interface Efl.Io.Reader {
|
|||
from inside @Efl.Io.Reader.read, thus
|
||||
before it returns.
|
||||
]]
|
||||
eos; [[Notifies end of stream, when property is marked as true.
|
||||
eos: void; [[Notifies end of stream, when property is marked as true.
|
||||
|
||||
If this is used alongside with an @Efl.Io.Closer, then
|
||||
it should be emitted before that call.
|
||||
|
|
|
@ -34,6 +34,6 @@ mixin Efl.Io.Sizer {
|
|||
}
|
||||
|
||||
events {
|
||||
size,changed; [[Notifies size changed]]
|
||||
size,changed: void; [[Notifies size changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ interface Efl.Io.Writer {
|
|||
}
|
||||
|
||||
events {
|
||||
can_write,changed; [[Notifies can_write property changed.
|
||||
can_write,changed: void; [[Notifies can_write property changed.
|
||||
|
||||
If @.can_write is $true there is data to
|
||||
@.write without blocking/error. If
|
||||
|
|
|
@ -4,6 +4,15 @@ struct Efl.Model_Property_Event {
|
|||
invalidated_properties: array<string>; [[Removed properties identified by name]]
|
||||
}
|
||||
|
||||
struct Efl.Model_Children_Event {
|
||||
[[Every time a child is added the event EFL_MODEL_EVENT_CHILD_ADDED is dispatched
|
||||
passing along this structure.]]
|
||||
index: uint; [[index is a hint and is intended to provide a way for applications
|
||||
to control/know children relative positions through listings.]]
|
||||
child: Efl.Object; [[If an object has been built for this index and it is currently tracked by
|
||||
the parent, it will be available here.]]
|
||||
}
|
||||
|
||||
interface Efl.Model ()
|
||||
{
|
||||
[[Efl model interface]]
|
||||
|
@ -152,8 +161,8 @@ interface Efl.Model ()
|
|||
properties,changed: Efl.Model_Property_Event; [[Event dispatched when
|
||||
properties list is
|
||||
available.]]
|
||||
child,added; [[Event dispatched when new child is added.]]
|
||||
child,removed; [[Event dispatched when child is removed.]]
|
||||
children,count,changed; [[Event dispatched when children count is finished.]]
|
||||
child,added: Efl.Model_Children_Event; [[Event dispatched when new child is added.]]
|
||||
child,removed: Efl.Model_Children_Event; [[Event dispatched when child is removed.]]
|
||||
children,count,changed: void; [[Event dispatched when children count is finished.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,6 +58,6 @@ interface Efl.Pack (Efl.Container)
|
|||
}
|
||||
}
|
||||
events {
|
||||
layout,updated; [[Sent after the layout was updated.]]
|
||||
layout,updated: void; [[Sent after the layout was updated.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,13 +3,17 @@ interface Efl.Ui.Clickable ()
|
|||
[[Efl UI clickable interface]]
|
||||
event_prefix: efl_ui;
|
||||
events {
|
||||
clicked; [[Called when object iss clicked]]
|
||||
clicked,double; [[Called when object receives a double click]]
|
||||
clicked,triple; [[Called when object receives a triple click]]
|
||||
clicked,right; [[Called when object receives a right click]]
|
||||
pressed; [[Called when the object is pressed]]
|
||||
unpressed; [[Called when the object is no longer pressed]]
|
||||
longpressed; [[Called when the object receives a long press]]
|
||||
repeated; [[Called when the object receives repeated presses/clicks]]
|
||||
/* FIXME: Explain what are the objects passed through the event_infos */
|
||||
clicked: void; [[Called when object is clicked]]
|
||||
clicked,double: void; [[Called when object receives a double click]]
|
||||
clicked,triple: void; [[Called when object receives a triple click]]
|
||||
clicked,right: Efl.Object; [[Called when object receives a right click]]
|
||||
/* FIXME: Might be NULL */
|
||||
pressed: Efl.Object; [[Called when the object is pressed]]
|
||||
/* FIXME: Might be NULL */
|
||||
unpressed: Efl.Object; [[Called when the object is no longer pressed]]
|
||||
/* FIXME: Might be NULL */
|
||||
longpressed: Efl.Object; [[Called when the object receives a long press]]
|
||||
repeated: void; [[Called when the object receives repeated presses/clicks]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -24,13 +24,14 @@ interface Efl.Ui.Draggable ()
|
|||
}
|
||||
|
||||
events {
|
||||
drag; [[Called when drag operation starts]]
|
||||
drag,start; [[Called when drag started]]
|
||||
drag,stop; [[Called when drag stopped]]
|
||||
drag,end; [[Called when drag operation ends]]
|
||||
drag,start,up; [[Called when drag starts into up direction]]
|
||||
drag,start,down; [[Called when drag starts into down direction]]
|
||||
drag,start,right; [[Called when drag starts into right direction]]
|
||||
drag,start,left; [[Called when drag starts into left direction]]
|
||||
/* FIXME: Explain what is the object passed through the event_infos */
|
||||
drag: Efl.Object; [[Called when drag operation starts]]
|
||||
drag,start: void; [[Called when drag started]]
|
||||
drag,stop: Efl.Object; [[Called when drag stopped]]
|
||||
drag,end: void; [[Called when drag operation ends]]
|
||||
drag,start,up: Efl.Object; [[Called when drag starts into up direction]]
|
||||
drag,start,down: Efl.Object; [[Called when drag starts into down direction]]
|
||||
drag,start,right: Efl.Object; [[Called when drag starts into right direction]]
|
||||
drag,start,left: Efl.Object; [[Called when drag starts into left direction]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,20 +17,20 @@ interface Efl.Ui.Scrollable ()
|
|||
[[Efl UI scrollable interface]]
|
||||
event_prefix: efl_ui;
|
||||
events {
|
||||
scroll,start; [[Called when scroll operation starts]]
|
||||
scroll; [[Called when scrolling]]
|
||||
scroll,stop; [[Called when scroll operation stops]]
|
||||
scroll,up; [[Called when scrolling upwards]]
|
||||
scroll,down; [[Called when scrolling downwards]]
|
||||
scroll,left; [[Called when scrolling left]]
|
||||
scroll,right; [[Called when scrolling right]]
|
||||
edge,up; [[Called when hitting the top edge]]
|
||||
edge,down; [[Called when hitting the bottom edge]]
|
||||
edge,left; [[Called when hitting the left edge]]
|
||||
edge,right; [[Called when hitting the right edge]]
|
||||
scroll,anim,start; [[Called when scroll animation starts]]
|
||||
scroll,anim,stop; [[Called when scroll animation stopps]]
|
||||
scroll,drag,start; [[Called when scroll drag starts]]
|
||||
scroll,drag,stop; [[Called when scroll drag stops]]
|
||||
scroll,start: void; [[Called when scroll operation starts]]
|
||||
scroll: void; [[Called when scrolling]]
|
||||
scroll,stop: void; [[Called when scroll operation stops]]
|
||||
scroll,up: void; [[Called when scrolling upwards]]
|
||||
scroll,down: void; [[Called when scrolling downwards]]
|
||||
scroll,left: void; [[Called when scrolling left]]
|
||||
scroll,right: void; [[Called when scrolling right]]
|
||||
edge,up: void; [[Called when hitting the top edge]]
|
||||
edge,down: void; [[Called when hitting the bottom edge]]
|
||||
edge,left: void; [[Called when hitting the left edge]]
|
||||
edge,right: void; [[Called when hitting the right edge]]
|
||||
scroll,anim,start: void; [[Called when scroll animation starts]]
|
||||
scroll,anim,stop: void; [[Called when scroll animation stopps]]
|
||||
scroll,drag,start: void; [[Called when scroll drag starts]]
|
||||
scroll,drag,stop: void; [[Called when scroll drag stops]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,12 +59,12 @@ interface Efl.Ui.Scrollbar ()
|
|||
}
|
||||
}
|
||||
events {
|
||||
bar,press; [[Called when bar is pressed]]
|
||||
bar,unpress; [[Called when bar is unpressed]]
|
||||
bar,drag; [[Called when bar is dragged]]
|
||||
bar,size,changed; [[Called when bar size is changed]]
|
||||
bar,pos,changed; [[Called when bar position is changed]]
|
||||
bar,show; [[Callend when bar is shown]]
|
||||
bar,hide; [[Called when bar is hidden]]
|
||||
bar,press: Efl.Ui.Scrollbar_Direction; [[Called when bar is pressed]]
|
||||
bar,unpress: Efl.Ui.Scrollbar_Direction; [[Called when bar is unpressed]]
|
||||
bar,drag: Efl.Ui.Scrollbar_Direction; [[Called when bar is dragged]]
|
||||
bar,size,changed: void; [[Called when bar size is changed]]
|
||||
bar,pos,changed: void; [[Called when bar position is changed]]
|
||||
bar,show: Efl.Ui.Scrollbar_Direction; [[Callend when bar is shown]]
|
||||
bar,hide: Efl.Ui.Scrollbar_Direction; [[Called when bar is hidden]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,13 +3,15 @@ interface Efl.Ui.Selectable ()
|
|||
[[Efl UI selectable interface]]
|
||||
event_prefix: efl_ui;
|
||||
events {
|
||||
selected; [[Called when selected]]
|
||||
unselected; [[Called when no longer selected]]
|
||||
selection,paste; [[Called when selection is pasted]]
|
||||
selection,copy; [[Called when selection is copied]]
|
||||
selection,cut; [[Called when selection is cut]]
|
||||
selection,start; [[Called at selection start]]
|
||||
selection,changed; [[Called when selection is changed]]
|
||||
selection,cleared; [[Called when selection is cleared]]
|
||||
/* FIXME: Called with multiple types of event_info! */
|
||||
selected: void; [[Called when selected]]
|
||||
/* FIXME: Called with multiple types of event_info! */
|
||||
unselected: void; [[Called when no longer selected]]
|
||||
selection,paste: void; [[Called when selection is pasted]]
|
||||
selection,copy: void; [[Called when selection is copied]]
|
||||
selection,cut: void; [[Called when selection is cut]]
|
||||
selection,start: void; [[Called at selection start]]
|
||||
selection,changed: void; [[Called when selection is changed]]
|
||||
selection,cleared: void; [[Called when selection is cleared]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,8 +93,8 @@ interface Efl.Ui.Zoom ()
|
|||
}
|
||||
}
|
||||
events {
|
||||
zoom,start; [[Called when zooming started]]
|
||||
zoom,stop; [[Called when zooming stopped]]
|
||||
zoom,change; [[Called when zooming changed]]
|
||||
zoom,start: void; [[Called when zooming started]]
|
||||
zoom,stop: void; [[Called when zooming stopped]]
|
||||
zoom,change: void; [[Called when zooming changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ class Eldbus.Model.Method (Eldbus.Model.Arguments) {
|
|||
.method;
|
||||
}
|
||||
events {
|
||||
successful,call; [[Event dispatched for a successful method call.]]
|
||||
successful,call: void; [[Event dispatched for a successful method call.]]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
/* FIXME: This definitely shouldn't be here. */
|
||||
type Efl_Event_Cb: __undefined_type; [[Efl event callback type]]
|
||||
|
||||
enum Efl.Access.Type
|
||||
{
|
||||
[[Type of accessibility object]]
|
||||
|
@ -364,7 +361,7 @@ mixin Efl.Access.Object (Efl.Interface, Efl.Object)
|
|||
event_handler_add @class @protected @beta {
|
||||
[[Register accessibility event listener]]
|
||||
params {
|
||||
@in cb: Efl_Event_Cb; [[Callback]]
|
||||
@in cb: Efl.Event_Cb; [[Callback]]
|
||||
@in data: void_ptr; [[Data]]
|
||||
}
|
||||
return: ptr(Efl.Access.Event.Handler); [[Event handler]]
|
||||
|
@ -466,9 +463,9 @@ mixin Efl.Access.Object (Efl.Interface, Efl.Object)
|
|||
children,changed: Efl.Access.Event.Children_Changed.Data; [[Called when children have changed]]
|
||||
state,changed: Efl.Access.Event.State_Changed.Data; [[Called when state has changed]]
|
||||
bounds,changed: Efl.Access.Event.Geometry_Changed.Data; [[Called when boundaries have changed]]
|
||||
visible,data,changed; [[Called when visibility has changed]]
|
||||
active,descendant,changed; [[Called when active state of descendant has changed]]
|
||||
added; [[Called when item is added]]
|
||||
removed; [[Called when item is removed]]
|
||||
visible,data,changed: void; [[Called when visibility has changed]]
|
||||
active,descendant,changed: Efl.Object; [[Called when active state of descendant has changed]]
|
||||
added: void; [[Called when item is added]]
|
||||
removed: void; [[Called when item is removed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,6 +55,6 @@ interface Efl.Access.Selection ()
|
|||
}
|
||||
}
|
||||
events {
|
||||
selection,changed; [[Called when selection has been changed.]]
|
||||
selection,changed: void; [[Called when selection has been changed.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -232,11 +232,13 @@ interface Efl.Access.Text ()
|
|||
}
|
||||
}
|
||||
events {
|
||||
access,text,bounds,changed; [[Text bounds have changed]]
|
||||
access,text,attributes,changed; [[Text attributes have changed]]
|
||||
access,text,caret,moved; [[Caret moved]]
|
||||
access,text,inserted; [[Text was inserted]]
|
||||
access,text,removed; [[Text was removed]]
|
||||
access,text,selection,changed; [[Text selection has changed]]
|
||||
/* FIXME: Nobody emits these
|
||||
access,text,bounds,changed: void; [[Text bounds have changed]]
|
||||
access,text,attributes,changed: void; [[Text attributes have changed]]
|
||||
*/
|
||||
access,text,caret,moved: void; [[Caret moved]]
|
||||
access,text,inserted: Efl.Access.Text_Change_Info; [[Text was inserted]]
|
||||
access,text,removed: Efl.Access.Text_Change_Info; [[Text was removed]]
|
||||
access,text,selection,changed: void; [[Text selection has changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,12 +2,12 @@ interface Efl.Access.Window ()
|
|||
{
|
||||
[[Elementary accessible window interface]]
|
||||
events {
|
||||
window,created; [[Called when new window has been created.]]
|
||||
window,destroyed; [[Called when window has been destroyed.]]
|
||||
window,activated; [[Called when window has been activated. (unfocused)]]
|
||||
window,deactivated; [[Called when window has been deactivated (unfocused).]]
|
||||
window,maximized; [[Called when window has been maximmized]]
|
||||
window,minimized; [[Called when window has been minimized]]
|
||||
window,restored; [[Called when window has been restored]]
|
||||
window,created: void; [[Called when new window has been created.]]
|
||||
window,destroyed: void; [[Called when window has been destroyed.]]
|
||||
window,activated: void; [[Called when window has been activated. (unfocused)]]
|
||||
window,deactivated: void; [[Called when window has been deactivated (unfocused).]]
|
||||
window,maximized: void; [[Called when window has been maximmized]]
|
||||
window,minimized: void; [[Called when window has been minimized]]
|
||||
window,restored: void; [[Called when window has been restored]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -40,6 +40,6 @@ mixin Efl.Selection {
|
|||
}
|
||||
}
|
||||
events {
|
||||
selection,changed; [[Called when display server's selection has changed]]
|
||||
selection,changed: Efl.Selection.Changed; [[Called when display server's selection has changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,6 +45,6 @@ interface Efl.Text_Interactive (Efl.Text, Efl.Text_Font,
|
|||
}
|
||||
}
|
||||
events {
|
||||
selection,changed; [[The selection on the object has changed. Query using @.selection_cursors]]
|
||||
selection,changed: void; [[The selection on the object has changed. Query using @.selection_cursors]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -114,6 +114,6 @@ class Efl.Ui.Calendar (Efl.Ui.Layout.Object, Efl.Ui.Focus.Composition, Efl.Acces
|
|||
Efl.Ui.Format.format_cb { set; }
|
||||
}
|
||||
events {
|
||||
changed; [[Emitted when the selected date in the calendar is changed]]
|
||||
changed: void; [[Emitted when the selected date in the calendar is changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -229,6 +229,6 @@ class Efl.Ui.Clock (Efl.Ui.Layout.Object)
|
|||
Efl.Ui.Translatable.translation_update;
|
||||
}
|
||||
events {
|
||||
changed; [[Called when clock changed]]
|
||||
changed: void; [[Called when clock changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,6 +70,6 @@ class Efl.Ui.Datepicker (Efl.Ui.Layout.Object)
|
|||
Efl.Object.destructor;
|
||||
}
|
||||
events {
|
||||
changed; [[Called when date value is changed]]
|
||||
changed: void; [[Called when date value is changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -52,11 +52,12 @@ mixin Efl.Ui.Dnd {
|
|||
}
|
||||
}
|
||||
events {
|
||||
drag,accept; [[accept drag data]]
|
||||
drag,done; [[drag is done (mouse up)]]
|
||||
drag,enter; [[called when the drag object enters this object]]
|
||||
drag,leave; [[called when the drag object leaves this object]]
|
||||
drag,pos; [[called when the drag object changes drag position]]
|
||||
drag,drop; [[called when the drag object dropped on this object]]
|
||||
/* FIXME: This is not very future-proof. Better return a struct. */
|
||||
drag,accept: ptr(bool); [[accept drag data]]
|
||||
drag,done: void; [[drag is done (mouse up)]]
|
||||
drag,enter: void; [[called when the drag object enters this object]]
|
||||
drag,leave: void; [[called when the drag object leaves this object]]
|
||||
drag,pos: Efl.Dnd.Drag_Pos; [[called when the drag object changes drag position]]
|
||||
drag,drop: Efl.Selection.Data; [[called when the drag object dropped on this object]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -249,7 +249,7 @@ class Efl.Ui.Flip (Efl.Ui.Widget, Efl.Pack_Linear, Efl.Part)
|
|||
Efl.Pack_Linear.pack_index_get;
|
||||
}
|
||||
events {
|
||||
animate,begin; [[Called when flip animation begins]]
|
||||
animate,done; [[Called when flip animation is done]]
|
||||
animate,begin: void; [[Called when flip animation begins]]
|
||||
animate,done: void; [[Called when flip animation is done]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -159,8 +159,8 @@ interface Efl.Ui.Focus.Manager {
|
|||
events {
|
||||
redirect,changed : Efl.Ui.Focus.Manager; [[Emitted when the redirect
|
||||
object has changed, the old manager is passed as event info]]
|
||||
flush,pre; [[Emitted once the graph calculationg will be performed]]
|
||||
coords,dirty; [[Emitted once the graph is dirty, this means there are
|
||||
flush,pre: void; [[Emitted once the graph calculationg will be performed]]
|
||||
coords,dirty: void; [[Emitted once the graph is dirty, this means there are
|
||||
potential changes in border_elements you want to know about]]
|
||||
focused : Efl.Ui.Focus.Object; [[Emitted if the manager has focused an
|
||||
object, the passed focus object is the last focused object]]
|
||||
|
|
|
@ -121,6 +121,6 @@ class Efl.Ui.Image (Efl.Ui.Widget, Efl.Ui.Clickable, Efl.Ui.Draggable,
|
|||
Efl.Access.Widget.Action.elm_actions { get; }
|
||||
}
|
||||
events {
|
||||
drop; [[Called when drop from drag and drop happened]] /* FIXME - Belongs to DnD interface */
|
||||
drop: string; [[Called when drop from drag and drop happened]] /* FIXME - Belongs to DnD interface */
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/* FIXME: Define these structs in EO, or they are useless to bindings */
|
||||
struct @extern Elm.Photocam.Error;
|
||||
struct @extern Elm.Photocam.Progress;
|
||||
|
||||
class Efl.Ui.Image_Zoomable (Efl.Ui.Widget, Efl.Ui.Image, Efl.Ui.Zoom,
|
||||
Efl.Ui.Scrollable_Interactive,
|
||||
Efl.Ui.Scrollbar)
|
||||
|
@ -73,14 +77,14 @@ class Efl.Ui.Image_Zoomable (Efl.Ui.Widget, Efl.Ui.Image, Efl.Ui.Zoom,
|
|||
//Efl.Canvas.Layout_Group.group_data { get; }
|
||||
}
|
||||
events {
|
||||
press; [[Called when photocam got pressed]]
|
||||
load; [[Called when photocam loading started]]
|
||||
loaded; [[Called when photocam loading finished]]
|
||||
load,detail; [[Called when photocal detail loading started]]
|
||||
loaded,detail; [[Called when photocam detail loading finished]]
|
||||
download,start; [[Called when photocam download started]]
|
||||
download,progress; [[Called when photocam download progress updated]]
|
||||
download,done; [[Called when photocam download finished]]
|
||||
download,error; [[Called when photocam download failed]]
|
||||
press: void; [[Called when photocam got pressed]]
|
||||
load: void; [[Called when photocam loading started]]
|
||||
loaded: void; [[Called when photocam loading finished]]
|
||||
load,detail: void; [[Called when photocal detail loading started]]
|
||||
loaded,detail: void; [[Called when photocam detail loading finished]]
|
||||
download,start: void; [[Called when photocam download started]]
|
||||
download,progress: Elm.Photocam.Progress; [[Called when photocam download progress updated]]
|
||||
download,done: void; [[Called when photocam download finished]]
|
||||
download,error: Elm.Photocam.Error; [[Called when photocam download failed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ class Efl.Ui.Image_Zoomable_Pan (Efl.Ui.Pan)
|
|||
Efl.Ui.Pan.pan_position_max { get; }
|
||||
}
|
||||
events {
|
||||
/* FIXME: Nobody is emitting these
|
||||
load; [[Called when load started]]
|
||||
loaded; [[Called when load finished]]
|
||||
load,detail; [[Called when load details started]]
|
||||
|
@ -22,5 +23,6 @@ class Efl.Ui.Image_Zoomable_Pan (Efl.Ui.Pan)
|
|||
download,progress; [[Called with download progress updates]]
|
||||
download,done; [[Called when download finished]]
|
||||
download,error; [[Called when download failed with an error]]
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,6 +75,6 @@ class Efl.Ui.Layout.Object (Efl.Ui.Widget, Efl.Part, Efl.Container, Efl.File,
|
|||
Efl.Ui.Factory.model_connect;
|
||||
}
|
||||
events {
|
||||
theme,changed; [[Called when theme changed]]
|
||||
theme,changed: void; [[Called when theme changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,11 +6,13 @@ class Efl.Ui.Model_State (Efl.Model_Composite_Boolean)
|
|||
Efl.Model.property { set; }
|
||||
}
|
||||
events {
|
||||
/* FIXME: Nobody is emitting these
|
||||
enable;
|
||||
disable;
|
||||
show;
|
||||
hide;
|
||||
selected;
|
||||
unselected;
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,6 +34,6 @@ class Efl.Ui.Nstate(Efl.Ui.Button)
|
|||
Efl.Ui.Widget.widget_event;
|
||||
}
|
||||
events {
|
||||
changed; [[Called when the value changed.]]
|
||||
changed: void; [[Called when the value changed.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,8 +48,8 @@ class Efl.Ui.Pan (Efl.Canvas.Group,
|
|||
Efl.Canvas.Group.group_calculate;
|
||||
}
|
||||
events {
|
||||
content,changed; [[Called when pan content changed]]
|
||||
viewport,changed; [[Called when pan viewport changed]]
|
||||
position,changed; [[Called when pan position changed]]
|
||||
content,changed: void; [[Called when pan content changed]]
|
||||
viewport,changed: void; [[Called when pan viewport changed]]
|
||||
position,changed: void; [[Called when pan position changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ class Efl.Ui.Panes (Efl.Ui.Layout.Object, Efl.Ui.Direction,
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
press; [[Called when panes got pressed]]
|
||||
unpress; [[Called when panes are no longer pressed]]
|
||||
press: void; [[Called when panes got pressed]]
|
||||
unpress: void; [[Called when panes are no longer pressed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,7 +64,7 @@ class Efl.Ui.Popup(Efl.Ui.Layout.Object, Efl.Content)
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
backwall,clicked; [[This is called whenever the user clicks back wall of popup.]]
|
||||
timeout; [[This is called when popup times out.]]
|
||||
backwall,clicked: void; [[This is called whenever the user clicks back wall of popup.]]
|
||||
timeout: void; [[This is called when popup times out.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,6 @@ class Efl.Ui.Progressbar (Efl.Ui.Layout.Object, Efl.Ui.Range, Efl.Ui.Format,
|
|||
Efl.Ui.Translatable.translatable_text { get; set; }
|
||||
}
|
||||
events {
|
||||
changed; [[Called when progressbar changed]]
|
||||
changed: void; [[Called when progressbar changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,9 +22,9 @@ class Efl.Ui.Slider (Efl.Ui.Layout.Object, Efl.Ui.Range, Efl.Ui.Direction,
|
|||
Efl.Access.Widget.Action.elm_actions { get; }
|
||||
}
|
||||
events {
|
||||
changed; [[Called when slider changed]]
|
||||
delay,changed; [[Called when delay changed]]
|
||||
slider,drag,start; [[Called when slider drag started]]
|
||||
slider,drag,stop; [[Called when slider drag stopped]]
|
||||
changed: void; [[Called when slider changed]]
|
||||
delay,changed: void; [[Called when delay changed]]
|
||||
slider,drag,start: void; [[Called when slider drag started]]
|
||||
slider,drag,stop: void; [[Called when slider drag stopped]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,8 +18,8 @@ class Efl.Ui.Spin (Efl.Ui.Layout.Object, Efl.Ui.Range, Efl.Ui.Format,
|
|||
Efl.Ui.Format.format_cb { set; }
|
||||
}
|
||||
events {
|
||||
changed; [[Called when spin changed]]
|
||||
min,reached; [[Called when spin value reached min]]
|
||||
max,reached; [[Called when spin value reached max]]
|
||||
changed: void; [[Called when spin changed]]
|
||||
min,reached: void; [[Called when spin value reached min]]
|
||||
max,reached: void; [[Called when spin value reached max]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,6 +75,6 @@ class Efl.Ui.Spin_Button (Efl.Ui.Spin, Efl.Ui.Focus.Composition,
|
|||
Efl.Access.Widget.Action.elm_actions { get; }
|
||||
}
|
||||
events {
|
||||
delay,changed; [[Called when spin delay is changed.]]
|
||||
delay,changed: void; [[Called when spin delay is changed.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -123,9 +123,9 @@ class Efl.Ui.Stack (Efl.Ui.Layout.Object)
|
|||
Efl.Object.constructor;
|
||||
}
|
||||
events {
|
||||
loaded; [[Called when content is loaded right before transition.]]
|
||||
unloaded; [[Called when content is unloaded right after being deactivated.]]
|
||||
activated; [[Called when content is activated right after transition.]]
|
||||
deactivated; [[Called when content is deactivated right after transition.]]
|
||||
loaded: Efl.Ui.Stack.Event_Loaded; [[Called when content is loaded right before transition.]]
|
||||
unloaded: Efl.Ui.Stack.Event_Unloaded; [[Called when content is unloaded right after being deactivated.]]
|
||||
activated: Efl.Ui.Stack.Event_Activated; [[Called when content is activated right after transition.]]
|
||||
deactivated: Efl.Ui.Stack.Event_Deactivated; [[Called when content is deactivated right after transition.]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,13 +45,15 @@ class Efl.Ui.Tags (Efl.Ui.Layout.Object, Efl.Text, Efl.Ui.Format)
|
|||
Efl.Ui.Format.format_cb { set; }
|
||||
}
|
||||
events {
|
||||
item,selected; [[Called when item was selected]]
|
||||
item,added; [[Called when item was added]]
|
||||
item,deleted; [[Called when item was deleted]]
|
||||
item,clicked; [[Called when item was clicked]]
|
||||
item,longpressed; [[Called when item got a longpress]]
|
||||
expanded; [[Called when expanded]]
|
||||
contracted; [[Called when contracted]]
|
||||
expand,state,changed; [[Called when expanded state changed]]
|
||||
/* FIXME: Returning a basic type is not future-proof, better return a struct */
|
||||
item,selected: string; [[Called when item was selected]]
|
||||
item,added: string; [[Called when item was added]]
|
||||
item,deleted: string; [[Called when item was deleted]]
|
||||
item,clicked: string; [[Called when item was clicked]]
|
||||
item,longpressed: string; [[Called when item got a longpress]]
|
||||
expanded: void; [[Called when expanded]]
|
||||
contracted: void; [[Called when contracted]]
|
||||
/* FIXME: Not future-proof */
|
||||
expand,state,changed: int; [[Called when expanded state changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -365,27 +365,30 @@ class Efl.Ui.Text (Efl.Ui.Layout.Object, Elm.Interface_Scrollable, Efl.Ui.Clicka
|
|||
Efl.Text_Interactive.editable { set; }
|
||||
}
|
||||
events {
|
||||
activated; [[Called when entry is activated]]
|
||||
changed; [[Called when entry changes]]
|
||||
activated: void; [[Called when entry is activated]]
|
||||
changed: void; [[Called when entry changes]]
|
||||
/* FIXME: Sometimes it can be NULL but @nullable does not work on events */
|
||||
changed,user: Efl.Ui.Text.Change_Info;
|
||||
[[The text object has changed due to user interaction]]
|
||||
validate; [[Called when validating]]
|
||||
context,open; [[Called when context menu was opened]]
|
||||
anchor,clicked; [[Called when anchor is clicked]]
|
||||
rejected; [[Called when entry is 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 is requested]]
|
||||
undo,request; [[Called when undo is requested]]
|
||||
validate: Elm.Validate_Content; [[Called when validating]]
|
||||
context,open: void; [[Called when context menu was opened]]
|
||||
preedit,changed: void; [[Called when entry preedit changed]]
|
||||
press: void; [[Called when entry pressed]]
|
||||
redo,request: void; [[Called when redo is requested]]
|
||||
undo,request: void; [[Called when undo is requested]]
|
||||
aborted: void; [[Called when entry is 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,manual: void; [[Called on manual cursor change]]
|
||||
/* FIXME: Nobody emits these
|
||||
anchor,clicked: void; [[Called when anchor is clicked]]
|
||||
rejected: void; [[Called when entry is rejected]]
|
||||
maxlength,reached: void; [[Called when maximum entry length has been reached]]
|
||||
text,set,done; [[Called when text set finished]]
|
||||
aborted; [[Called when entry is 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]]
|
||||
cursor,changed: void; [[Called on cursor changed]]
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,6 +39,6 @@ class Efl.Ui.Timepicker (Efl.Ui.Layout.Object)
|
|||
Efl.Object.destructor;
|
||||
}
|
||||
events {
|
||||
changed; [[Called when date is changed]]
|
||||
changed: void; [[Called when date is changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,9 @@ class Efl.Ui.View_List_Pan (Efl.Ui.Pan)
|
|||
Efl.Canvas.Group.group_calculate;
|
||||
}
|
||||
events {
|
||||
item,focused; [[Called when item is focused.]]
|
||||
item,unfocused; [[Called when item has lost focus.]]
|
||||
/* FIXME: Nobody is emitting these
|
||||
item,focused: void; [[Called when item is focused.]]
|
||||
item,unfocused: void; [[Called when item has lost focus.]]
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -593,8 +593,8 @@ abstract Efl.Ui.Widget (Efl.Canvas.Group, Efl.Access.Object,
|
|||
Efl.Part.part; [[Returns @Efl.Ui.Widget_Part.]]
|
||||
}
|
||||
events {
|
||||
moved; [[Called when widget moved]]
|
||||
language,changed; [[Called when widget language changed]]
|
||||
access,changed; [[Called when accessibility changed]]
|
||||
moved: Efl.Object; [[Called when widget moved]]
|
||||
language,changed: void; [[Called when widget language changed]]
|
||||
access,changed: void; [[Called when accessibility changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -825,23 +825,23 @@ class Efl.Ui.Win (Efl.Ui.Widget, Efl.Canvas.Scene, Efl.Canvas.Pointer, Efl.Acces
|
|||
.accel_preference;
|
||||
}
|
||||
events {
|
||||
delete,request; [[Called when the window receives a delete request]]
|
||||
withdrawn; [[Called when window is withdrawn]]
|
||||
iconified; [[Called when window is iconified]]
|
||||
normal; [[Called when window is set to normal state]]
|
||||
stick; [[Called when window is set as sticky]]
|
||||
unstick; [[Called when window is no longer set as sticky]]
|
||||
fullscreen; [[Called when window is set to fullscreen]]
|
||||
unfullscreen; [[Called when window is no longer set to fullscreen]]
|
||||
maximized; [[Called when window is set to maximized]]
|
||||
unmaximized; [[Called when window is no longer set to maximized]]
|
||||
indicator,prop,changed; [[Called when indicator is property changed]]
|
||||
rotation,changed; [[Called when window rotation is changed]]
|
||||
profile,changed; [[Called when profile is changed]]
|
||||
wm,rotation,changed; [[Called when window manager rotation is changed]]
|
||||
theme,changed; [[Called when theme is changed]]
|
||||
elm,action,block_menu; [[Called when elementary block menu action occurs]]
|
||||
pause; [[Called when the window is not going be displayed for some time]]
|
||||
resume; [[Called before a window is rendered after a pause event]]
|
||||
delete,request: void; [[Called when the window receives a delete request]]
|
||||
withdrawn: void; [[Called when window is withdrawn]]
|
||||
iconified: void; [[Called when window is iconified]]
|
||||
normal: void; [[Called when window is set to normal state]]
|
||||
stick: void; [[Called when window is set as sticky]]
|
||||
unstick: void; [[Called when window is no longer set as sticky]]
|
||||
fullscreen: void; [[Called when window is set to fullscreen]]
|
||||
unfullscreen: void; [[Called when window is no longer set to fullscreen]]
|
||||
maximized: void; [[Called when window is set to maximized]]
|
||||
unmaximized: void; [[Called when window is no longer set to maximized]]
|
||||
indicator,prop,changed: void; [[Called when indicator is property changed]]
|
||||
rotation,changed: void; [[Called when window rotation is changed]]
|
||||
profile,changed: void; [[Called when profile is changed]]
|
||||
wm,rotation,changed: void; [[Called when window manager rotation is changed]]
|
||||
theme,changed: void; [[Called when theme is changed]]
|
||||
elm,action,block_menu: void; [[Called when elementary block menu action occurs]]
|
||||
pause: void; [[Called when the window is not going be displayed for some time]]
|
||||
resume: void; [[Called before a window is rendered after a pause event]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,6 +75,6 @@ class Elm.Actionslider (Efl.Ui.Layout.Object, Efl.Ui.Selectable, Efl.Ui.Legacy)
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
pos_changed; [[The position of the actionslider has changed]]
|
||||
pos_changed: string; [[The position of the actionslider has changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ class Elm.Atspi.Bridge (Efl.Object)
|
|||
Efl.Object.destructor;
|
||||
}
|
||||
events {
|
||||
connected; [[Connected with AT-SPI2 bus]]
|
||||
disconnected; [[Disconnected from AT-SPI2 bus]]
|
||||
connected: void; [[Connected with AT-SPI2 bus]]
|
||||
disconnected: void; [[Disconnected from AT-SPI2 bus]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -252,7 +252,7 @@ class Elm.Box (Efl.Ui.Widget, Efl.Ui.Focus.Composition, Efl.Ui.Legacy)
|
|||
Efl.Ui.Focus.Composition.prepare;
|
||||
}
|
||||
events {
|
||||
child,added; [[Called when child was added]]
|
||||
child,removed; [[Called when child was removed]]
|
||||
child,added: Efl.Object; [[Called when child was added]]
|
||||
child,removed: Efl.Object; [[Called when child was removed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -420,7 +420,7 @@ class Elm.Calendar (Efl.Ui.Layout.Object, Efl.Ui.Focus.Composition, Efl.Access.W
|
|||
Efl.Access.Widget.Action.elm_actions { get; }
|
||||
}
|
||||
events {
|
||||
changed; [[Emitted when the date in the calendar is changed]]
|
||||
display,changed; [[Emitted when the current month displayed in the calendar is changed]]
|
||||
changed: void; [[Emitted when the date in the calendar is changed]]
|
||||
display,changed: void; [[Emitted when the current month displayed in the calendar is changed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -167,6 +167,6 @@ class Elm.Clock (Efl.Ui.Layout.Object, Efl.Ui.Focus.Composition, Efl.Ui.Legacy)
|
|||
Efl.Ui.Widget.theme_apply;
|
||||
}
|
||||
events {
|
||||
changed; [[The clock's user changed the time]]
|
||||
changed: void; [[The clock's user changed the time]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import elm_interface_scrollable;
|
||||
|
||||
/* FIXME: Those types make elm_code unusable from pure EO */
|
||||
struct @extern Elm_Code; [[Elementary code main data structure]] /* The main interface currently defined in code */
|
||||
struct @extern Elm_Code_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */
|
||||
struct @extern Elm.Code; [[Elementary code main data structure]] /* The main interface currently defined in code */
|
||||
struct @extern Elm.Code_Line; [[Elementary code line data structure]] /* Parts of the interface currently defined in code */
|
||||
|
||||
class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
||||
{
|
||||
|
@ -20,7 +20,7 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
[[Get the underlying code object we are rendering]]
|
||||
}
|
||||
values {
|
||||
code: ptr(Elm_Code); [[Our underlying Elm_Code object]]
|
||||
code: ptr(Elm.Code); [[Our underlying Elm.Code object]]
|
||||
}
|
||||
}
|
||||
@property font {
|
||||
|
@ -93,15 +93,15 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
[[Set whether this widget allows editing
|
||||
|
||||
If editable then the widget will allow user input to manipulate
|
||||
the underlying Elm_Code_File of this Elm_Code instance.
|
||||
Any other Elm_Code_Widget's connected to this Elm_Code will
|
||||
the underlying Elm.Code_File of this Elm.Code instance.
|
||||
Any other Elm.Code_Widget's connected to this Elm.Code will
|
||||
update to reflect the changes.]]
|
||||
}
|
||||
get {
|
||||
[[Get the current editable state of this widget
|
||||
|
||||
returns EINA_TRUE if the widget is editable, EINA_FALSE otherwise.
|
||||
If this widget is not editable the underlying Elm_Code_File could
|
||||
If this widget is not editable the underlying Elm.Code_File could
|
||||
still be manipulated by a different widget or the filesystem.]]
|
||||
}
|
||||
values {
|
||||
|
@ -197,13 +197,13 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
line_refresh {
|
||||
[[Refresh code line in widget]]
|
||||
params {
|
||||
line: ptr(Elm_Code_Line); [[The line to refresh.]]
|
||||
line: ptr(Elm.Code_Line); [[The line to refresh.]]
|
||||
}
|
||||
}
|
||||
line_visible_get {
|
||||
[[Check if the code line is currently visible]]
|
||||
params {
|
||||
line: ptr(Elm_Code_Line); [[The line to test for visibility.]]
|
||||
line: ptr(Elm.Code_Line); [[The line to test for visibility.]]
|
||||
}
|
||||
return: bool; [[$true if the line specified is currently visible within the scroll region.]]
|
||||
}
|
||||
|
@ -259,7 +259,7 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
line_text_column_width_to_position {
|
||||
[[Get text column width at given position]]
|
||||
params {
|
||||
line: ptr(Elm_Code_Line); [[Code line]]
|
||||
line: ptr(Elm.Code_Line); [[Code line]]
|
||||
position: uint; [[Code position]]
|
||||
}
|
||||
return: uint; [[Text column width]]
|
||||
|
@ -267,14 +267,14 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
line_text_column_width_get {
|
||||
[[Get text column width for code line]]
|
||||
params {
|
||||
line: ptr(Elm_Code_Line); [[Code line]]
|
||||
line: ptr(Elm.Code_Line); [[Code line]]
|
||||
}
|
||||
return: uint; [[Text column width]]
|
||||
}
|
||||
line_text_position_for_column_get {
|
||||
[[Get position from column]]
|
||||
params {
|
||||
line: ptr(Elm_Code_Line); [[Code line]]
|
||||
line: ptr(Elm.Code_Line); [[Code line]]
|
||||
column: uint; [[Column]]
|
||||
}
|
||||
return: uint; [[Position]]
|
||||
|
@ -289,7 +289,7 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
line_status_toggle {
|
||||
[[Toggle the display of the line status widget]]
|
||||
params {
|
||||
line: ptr(Elm_Code_Line); [[Code line]]
|
||||
line: ptr(Elm.Code_Line); [[Code line]]
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -319,15 +319,16 @@ class Elm.Code_Widget (Efl.Ui.Layout.Object, Efl.Access.Text)
|
|||
.code;
|
||||
}
|
||||
events {
|
||||
line,clicked; [[Called when text line was clicked]]
|
||||
line,gutter,clicked; [[Called when gutter was clicked]]
|
||||
cursor,changed; [[Called when cursor changed]]
|
||||
changed,user; [[Called when object changed due to user interaction]]
|
||||
selection,start; [[Called when a selection is started]]
|
||||
selection,changed; [[Called when selection changed]]
|
||||
selection,cleared; [[Called when selection was cleared]]
|
||||
selection,cut; [[Called when a cut action is performed]]
|
||||
selection,copy; [[Called when a copy action is performed]]
|
||||
selection,paste; [[Called when a paste action is performed]]
|
||||
line,clicked: Elm.Code_Line; [[Called when text line was clicked]]
|
||||
line,gutter,clicked: Elm.Code_Line; [[Called when gutter was clicked]]
|
||||
changed,user: void; [[Called when object changed due to user interaction]]
|
||||
/* FIXME: All events below send the obj in the event_info, which is redundant */
|
||||
cursor,changed: Elm.Code_Widget; [[Called when cursor changed]]
|
||||
selection,start: Elm.Code_Widget; [[Called when a selection is started]]
|
||||
selection,changed: Elm.Code_Widget; [[Called when selection changed]]
|
||||
selection,cleared: Elm.Code_Widget; [[Called when selection was cleared]]
|
||||
selection,cut: Elm.Code_Widget; [[Called when a cut action is performed]]
|
||||
selection,copy: Elm.Code_Widget; [[Called when a copy action is performed]]
|
||||
selection,paste: Elm.Code_Widget; [[Called when a paste action is performed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,9 +118,9 @@ class Elm.Colorselector (Efl.Ui.Layout.Object, Efl.Ui.Focus.Composition,
|
|||
Efl.Access.Object.access_children { get; }
|
||||
}
|
||||
events {
|
||||
color,item,selected; [[Called when color item was selected]]
|
||||
color,item,longpressed; [[Called when color item got a long press]]
|
||||
changed; [[Called when colorselector changed]]
|
||||
changed,user; [[Called when the object changed due to user interaction]]
|
||||
color,item,selected: Efl.Object; [[Called when color item was selected]]
|
||||
color,item,longpressed: Efl.Object; [[Called when color item got a long press]]
|
||||
changed: void; [[Called when colorselector changed]]
|
||||
changed,user: void; [[Called when the object changed due to user interaction]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,11 +48,13 @@ class Elm.Combobox (Efl.Ui.Button, Efl.Ui.Selectable,
|
|||
//Efl.Part.part; // TODO?
|
||||
}
|
||||
events {
|
||||
dismissed; [[Called when combobox was dismissed]]
|
||||
expanded; [[Called when combobox was expanded]]
|
||||
dismissed: void; [[Called when combobox was dismissed]]
|
||||
expanded: void; [[Called when combobox was expanded]]
|
||||
/* FIXME: Nobody is emitting this
|
||||
clicked; [[Called when combobox was clicked]]
|
||||
item,selected; [[Called when combobox item was selected]]
|
||||
item,pressed; [[Called when combobox item was pressed]]
|
||||
filter,done; [[Called when combobox filter was done]]
|
||||
*/
|
||||
item,selected: Efl.Object; [[Called when combobox item was selected]]
|
||||
item,pressed: Efl.Object; [[Called when combobox item was pressed]]
|
||||
filter,done: Efl.Object; [[Called when combobox filter was done]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,9 +11,9 @@ class Elm.Conformant (Efl.Ui.Layout.Object, Efl.Ui.Legacy)
|
|||
Efl.Ui.Widget.theme_apply;
|
||||
}
|
||||
events {
|
||||
virtualkeypad,state,on; [[Called when virtualkeypad was enabled]]
|
||||
virtualkeypad,state,off; [[Called when virtualkeypad was disabled]]
|
||||
clipboard,state,on; [[Called when clipboard was enabled]]
|
||||
clipboard,state,off; [[Called when clipboard was disabled]]
|
||||
virtualkeypad,state,on: void; [[Called when virtualkeypad was enabled]]
|
||||
virtualkeypad,state,off: void; [[Called when virtualkeypad was disabled]]
|
||||
clipboard,state,on: void; [[Called when clipboard was enabled]]
|
||||
clipboard,state,off: void; [[Called when clipboard was disabled]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -243,7 +243,7 @@ class Elm.Ctxpopup (Efl.Ui.Layout.Object, Efl.Ui.Focus.Layer, Efl.Access.Widget.
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
dismissed; [[Called when context popup was dismissed]]
|
||||
dismissed: void; [[Called when context popup was dismissed]]
|
||||
geometry,update: const(ptr(Eina.Rect)); [[Called when context popup geometry was updated]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,6 +156,8 @@ class Elm.Dayselector (Efl.Ui.Layout.Object, Efl.Ui.Legacy)
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
/* FIXME: Nobody emits this
|
||||
dayselector,changed; [[Called when dayselector widget changed]]
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -57,9 +57,10 @@ class Elm.Fileselector (Efl.Ui.Layout.Object, Elm.Interface.Fileselector,
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
done; [[Called when OK button was pressed]]
|
||||
activated; [[Called when the filesector was activated]]
|
||||
selected,invalid; [[Called when fileselector was selected]]
|
||||
directory,open; [[Called when a directory was opened]]
|
||||
done: string; [[Called when OK button was pressed]]
|
||||
/* FIXME: For all three events below, event_info can either be a string or an Efl.Model */
|
||||
activated: void; [[Called when the filesector was activated]]
|
||||
selected,invalid: void; [[Called when fileselector was selected]]
|
||||
directory,open: void; [[Called when a directory was opened]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ class Elm.Fileselector_Button (Efl.Ui.Button, Elm.Interface.Fileselector,
|
|||
Elm.Interface.Fileselector.mode { get; set; }
|
||||
}
|
||||
events {
|
||||
file,chosen; [[Called when a file was chosen in the fileselector]]
|
||||
/* FIXME: Can be Efl.Model, string and NULL */
|
||||
file,chosen: void; [[Called when a file was chosen in the fileselector]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,9 +16,10 @@ class Elm.Fileselector_Entry (Efl.Ui.Layout.Object, Elm.Interface.Fileselector,
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
changed; [[Called when the entry changed]]
|
||||
activated; [[Called when the entry was activated]]
|
||||
file,chosen; [[Called when a file was chosen in the fileselector]]
|
||||
press; [[Called when entry was pressed]]
|
||||
changed: void; [[Called when the entry changed]]
|
||||
activated: void; [[Called when the entry was activated]]
|
||||
/* FIXME: Can be Efl.Model or string */
|
||||
file,chosen: void; [[Called when a file was chosen in the fileselector]]
|
||||
press: void; [[Called when entry was pressed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -169,7 +169,7 @@ class Elm.Flipselector (Efl.Ui.Layout.Object, Efl.Ui.Range,
|
|||
Efl.Access.Widget.Action.elm_actions { get; }
|
||||
}
|
||||
events {
|
||||
underflowed; [[Called when flipselector is underflowed]]
|
||||
overflowed; [[Called when flipselector is overflowed]]
|
||||
underflowed: void; [[Called when flipselector is underflowed]]
|
||||
overflowed: void; [[Called when flipselector is overflowed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -133,10 +133,16 @@ enum Elm.Icon.Type
|
|||
standard [[Icon is of type standard]]
|
||||
}
|
||||
|
||||
/* FIXME: shouldn't exist */
|
||||
/* FIXME: shouldn't exist, they are unusable by the bindings */
|
||||
struct @extern Elm_Gen_Item; [[Elementary gen item]]
|
||||
struct @extern Efl_Access_Action_Data; [[Efl access action data]]
|
||||
|
||||
struct @extern Elm.Validate_Content; [[Data for the elm_validator_regexp_helper()]]
|
||||
struct @extern Elm.Entry_Anchor_Info; [[The info sent in the callback for the "anchor,clicked" signals emitted
|
||||
by entries.]]
|
||||
struct @extern Elm.Entry_Anchor_Hover_Info; [[The info sent in the callback for "anchor,hover" signals emitted
|
||||
by the Anchor_Hover widget]]
|
||||
struct @extern Elm.Entry_Change_Info; [[This corresponds to Edje_Entry_Change_Info. Includes information about
|
||||
a change in the entry]]
|
||||
|
||||
/* Enums from elm_entry.eo, also used by efl_ui_text */
|
||||
enum Elm.Text_Format
|
||||
|
|
|
@ -530,21 +530,21 @@ class Elm.Gengrid (Efl.Ui.Layout.Object, Efl.Ui.Focus.Composition, Elm.Interface
|
|||
Efl.Ui.Focus.Manager.setup_on_first_touch;
|
||||
}
|
||||
events {
|
||||
realized; [[Called when gengrid realized]]
|
||||
unrealized; [[Called when gengrid unrealized]]
|
||||
index,update; [[Called on gengrid index update]]
|
||||
scroll,page,changed; [[Called when scroll page changed]]
|
||||
edge,bottom; [[Called when bottom edge is reached]]
|
||||
edge,top; [[Called when top edge is reached]]
|
||||
edge,right; [[Called when right edge is reached]]
|
||||
edge,left; [[Called when left edge is reached]]
|
||||
item,focused; [[Called when item got focus]]
|
||||
item,unfocused; [[Called when item no longer has focus]]
|
||||
item,reorder,anim,start; [[Called when item reorder animation started]]
|
||||
item,reorder,anim,stop; [[Called when item reorder animation stopped]]
|
||||
activated; [[Called when gengrid got activated]]
|
||||
highlighted; [[Called when gengrid is highlighted]]
|
||||
unhighlighted; [[Called when gengrid is no longer highlighted]]
|
||||
released; [[Called when gengrid is released]]
|
||||
realized: Efl.Object; [[Called when gengrid realized]]
|
||||
unrealized: Efl.Object; [[Called when gengrid unrealized]]
|
||||
index,update: Efl.Object; [[Called on gengrid index update]]
|
||||
scroll,page,changed: void; [[Called when scroll page changed]]
|
||||
edge,bottom: void; [[Called when bottom edge is reached]]
|
||||
edge,top: void; [[Called when top edge is reached]]
|
||||
edge,right: void; [[Called when right edge is reached]]
|
||||
edge,left: void; [[Called when left edge is reached]]
|
||||
item,focused: Efl.Object; [[Called when item got focus]]
|
||||
item,unfocused: Efl.Object; [[Called when item no longer has focus]]
|
||||
item,reorder,anim,start: Efl.Object; [[Called when item reorder animation started]]
|
||||
item,reorder,anim,stop: Efl.Object; [[Called when item reorder animation stopped]]
|
||||
activated: Efl.Object; [[Called when gengrid got activated]]
|
||||
highlighted: Efl.Object; [[Called when gengrid is highlighted]]
|
||||
unhighlighted: Efl.Object; [[Called when gengrid is no longer highlighted]]
|
||||
released: Efl.Object; [[Called when gengrid is released]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -558,40 +558,40 @@ class Elm.Genlist (Efl.Ui.Layout.Object, Efl.Ui.Focus.Composition, Elm.Interface
|
|||
Efl.Ui.Focus.Manager.setup_on_first_touch;
|
||||
}
|
||||
events {
|
||||
item,focused; [[Called when genlist item got focus]]
|
||||
item,unfocused; [[Called when genlist item lost focus]]
|
||||
vbar,drag; [[Called when vertical bar is dragged]]
|
||||
vbar,press; [[Called when vertical bar is pressed]]
|
||||
vbar,unpress; [[Called when vertical bar is no longer pressed]]
|
||||
hbar,drag; [[Called when horizontal bar is dragged]]
|
||||
hbar,press; [[Called when horizontal bar is pressed]]
|
||||
hbar,unpress; [[Called when horizontal bar is no longer pressed]]
|
||||
edge,top; [[Called when top edge is reached]]
|
||||
edge,bottom; [[Called when bottom edge is reached]]
|
||||
edge,left; [[Called when left edge is reached]]
|
||||
edge,right; [[Called when right edge is reached]]
|
||||
moved; [[Called when genlist item moved]]
|
||||
moved,before; [[Called when genlist item moved before]]
|
||||
moved,after; [[Called when genlist item moved after]]
|
||||
swipe; [[Called when swipe is detected]]
|
||||
multi,pinch,in; [[Called when multitouch pinch in detected]]
|
||||
multi,pinch,out; [[Called when multitouch pinch out detected]]
|
||||
multi,swipe,down; [[Called when multitouch swipe down detected]]
|
||||
multi,swipe,up; [[Called when multitouch swipe up detected]]
|
||||
multi,swipe,right; [[Called when multitouch swipe right detected]]
|
||||
multi,swipe,left; [[Called when multitouch swipe left detected]]
|
||||
released; [[Called when genlist is released]]
|
||||
activated; [[called when genlist is activated]]
|
||||
highlighted; [[Called when genlist is highlighted]]
|
||||
unhighlighted; [[Called when genlist is no longer highlighted]]
|
||||
realized; [[Called when genlist is realized]]
|
||||
unrealized; [[Called when genlist is unrealized]]
|
||||
contract,request; [[Called when contract is requested]]
|
||||
expand,request; [[Called when expand is requested]]
|
||||
contracted; [[called when genlist is contracted]]
|
||||
expanded; [[Called when genlist is expanded]]
|
||||
index,update; [[Called when genlist index updated]]
|
||||
tree,effect,finished; [[Called when genlist tree effect finished]]
|
||||
filter,done; [[Called when genlist filter is done]]
|
||||
item,focused: Efl.Object; [[Called when genlist item got focus]]
|
||||
item,unfocused: Efl.Object; [[Called when genlist item lost focus]]
|
||||
vbar,drag: void; [[Called when vertical bar is dragged]]
|
||||
vbar,press: void; [[Called when vertical bar is pressed]]
|
||||
vbar,unpress: void; [[Called when vertical bar is no longer pressed]]
|
||||
hbar,drag: void; [[Called when horizontal bar is dragged]]
|
||||
hbar,press: void; [[Called when horizontal bar is pressed]]
|
||||
hbar,unpress: void; [[Called when horizontal bar is no longer pressed]]
|
||||
edge,top: void; [[Called when top edge is reached]]
|
||||
edge,bottom: void; [[Called when bottom edge is reached]]
|
||||
edge,left: void; [[Called when left edge is reached]]
|
||||
edge,right: void; [[Called when right edge is reached]]
|
||||
moved: Efl.Object; [[Called when genlist item moved]]
|
||||
moved,before: Efl.Object; [[Called when genlist item moved before]]
|
||||
moved,after: Efl.Object; [[Called when genlist item moved after]]
|
||||
swipe: Efl.Object; [[Called when swipe is detected]]
|
||||
multi,pinch,in: Efl.Object; [[Called when multitouch pinch in detected]]
|
||||
multi,pinch,out: Efl.Object; [[Called when multitouch pinch out detected]]
|
||||
multi,swipe,down: Efl.Object; [[Called when multitouch swipe down detected]]
|
||||
multi,swipe,up: Efl.Object; [[Called when multitouch swipe up detected]]
|
||||
multi,swipe,right: Efl.Object; [[Called when multitouch swipe right detected]]
|
||||
multi,swipe,left: Efl.Object; [[Called when multitouch swipe left detected]]
|
||||
released: Efl.Object; [[Called when genlist is released]]
|
||||
activated: Efl.Object; [[called when genlist is activated]]
|
||||
highlighted: Efl.Object; [[Called when genlist is highlighted]]
|
||||
unhighlighted: Efl.Object; [[Called when genlist is no longer highlighted]]
|
||||
realized: Efl.Object; [[Called when genlist is realized]]
|
||||
unrealized: Efl.Object; [[Called when genlist is unrealized]]
|
||||
contract,request: Efl.Object; [[Called when contract is requested]]
|
||||
expand,request: Efl.Object; [[Called when expand is requested]]
|
||||
contracted: Efl.Object; [[called when genlist is contracted]]
|
||||
expanded: Efl.Object; [[Called when genlist is expanded]]
|
||||
index,update: Efl.Object; [[Called when genlist index updated]]
|
||||
tree,effect,finished: void; [[Called when genlist tree effect finished]]
|
||||
filter,done: void; [[Called when genlist filter is done]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,9 @@ class Elm.Genlist.Pan (Elm.Pan)
|
|||
Elm.Pan.pos_max { get; }
|
||||
}
|
||||
events {
|
||||
/* FIXME: Nobody emits these
|
||||
item,focused; [[Called when item got focus]]
|
||||
item,unfocused; [[Called when item lost focus]]
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
|
@ -194,21 +194,24 @@ class Elm.Glview (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy)
|
|||
Efl.Gfx.View.view_size { get; set; }
|
||||
}
|
||||
events {
|
||||
created; [[Event dispatched when first render happens.
|
||||
created: void;
|
||||
[[Event dispatched when first render happens.
|
||||
|
||||
The callback function gets called once during the
|
||||
render loop. Callback function allows glview to hide all the
|
||||
rendering context/surface details and have the user just
|
||||
call GL calls that they desire for initialization GL calls.
|
||||
]]
|
||||
destroyed; [[Event dispatched when GLView object is deleted.
|
||||
destroyed: void;
|
||||
[[Event dispatched when GLView object is deleted.
|
||||
|
||||
The registered destroyed function gets called when GLView object
|
||||
is deleted. Callback function allows glview to hide all the
|
||||
rendering context/surface details and have the user just
|
||||
call GL calls that they desire when delete happens.
|
||||
]]
|
||||
resized; [[Event dispatched when resize happens.
|
||||
resized: void;
|
||||
[[Event dispatched when resize happens.
|
||||
|
||||
The resized event callback functions gets called
|
||||
during the render loop. The callback function allows
|
||||
|
@ -216,7 +219,8 @@ class Elm.Glview (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy)
|
|||
details and have the user just call GL alls that
|
||||
they desire when resize happens.
|
||||
]]
|
||||
render; [[Event dispatched when GLView is rendered.
|
||||
render: void;
|
||||
[[Event dispatched when GLView is rendered.
|
||||
|
||||
The callback function gets called in the main loop but whether
|
||||
it runs depends on the rendering policy and whether
|
||||
|
|
|
@ -74,7 +74,7 @@ class Elm.Hover (Efl.Ui.Layout.Object, Efl.Ui.Focus.Layer, Efl.Ui.Clickable,
|
|||
Efl.Part.part;
|
||||
}
|
||||
events {
|
||||
smart,changed; [[Called when hover changed]]
|
||||
dismissed; [[Called when hover was dismissed]]
|
||||
smart,changed: string; [[Called when hover changed]]
|
||||
dismissed: void; [[Called when hover was dismissed]]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -105,9 +105,9 @@ class Elm.Hoversel (Efl.Ui.Button, Efl.Ui.Selectable,
|
|||
Efl.Access.Object.access_children { get; }
|
||||
}
|
||||
events {
|
||||
dismissed; [[Called when hoversel is dismissed]]
|
||||
expanded; [[Called when hoversel is expanded]]
|
||||
item,focused; [[Called when hoversel item got focus]]
|
||||
item,unfocused; [[Called when hoversel item lost focus]]
|
||||
dismissed: void; [[Called when hoversel is dismissed]]
|
||||
expanded: void; [[Called when hoversel is expanded]]
|
||||
item,focused: Efl.Object; [[Called when hoversel item got focus]]
|
||||
item,unfocused: Efl.Object; [[Called when hoversel item lost focus]]
|
||||
}
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue