This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch eolian/improvements
in repository efl.
View the commit online.
commit 2ce79a7d40b12fd456c83ecd29c237d07d44244a
Author: Cedric BAIL <[email protected]>
AuthorDate: Sat Nov 21 13:58:02 2026 -0600
efl: events name the properties they notify
Pair the stable change events with the property each one announces, using
the @notify qualifier, so a binding can tell which getter to re-read when
the event fires. The four Efl.Ui.Win state events are marked @deferred:
they are requests to the window manager, and the property only changes
once it answers.
Efl.Ui.Win's win_rotation,changed is left unpaired: win_rotation is
still beta, and a stable event may not notify a beta property.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
---
src/lib/efl/interfaces/efl_content.eo | 2 +-
src/lib/efl/interfaces/efl_gfx_entity.eo | 6 +++---
src/lib/efl/interfaces/efl_player.eo | 8 ++++----
src/lib/efl/interfaces/efl_ui_range_display.eo | 2 +-
src/lib/efl/interfaces/efl_ui_scrollable.eo | 2 +-
src/lib/elementary/efl_text_interactive.eo | 2 +-
src/lib/elementary/efl_ui_calendar.eo | 2 +-
src/lib/elementary/efl_ui_datepicker.eo | 2 +-
src/lib/elementary/efl_ui_focus_object.eo | 2 +-
src/lib/elementary/efl_ui_layout_base.eo | 2 +-
src/lib/elementary/efl_ui_panel.eo | 2 +-
src/lib/elementary/efl_ui_radio_group.eo | 2 +-
src/lib/elementary/efl_ui_selectable.eo | 2 +-
src/lib/elementary/efl_ui_single_selectable.eo | 2 +-
src/lib/elementary/efl_ui_spotlight_container.eo | 2 +-
src/lib/elementary/efl_ui_tags.eo | 2 +-
src/lib/elementary/efl_ui_timepicker.eo | 2 +-
src/lib/elementary/efl_ui_win.eo | 8 ++++----
18 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/src/lib/efl/interfaces/efl_content.eo b/src/lib/efl/interfaces/efl_content.eo
index c70d4d0fc4..9ec51ea5ca 100644
--- a/src/lib/efl/interfaces/efl_content.eo
+++ b/src/lib/efl/interfaces/efl_content.eo
@@ -31,6 +31,6 @@ interface Efl.Content
}
}
events {
- content,changed: Efl.Gfx.Entity @nullable; [[Sent after the content is set or unset using the current content object.]]
+ content,changed @notify(content): Efl.Gfx.Entity @nullable; [[Sent after the content is set or unset using the current content object.]]
}
}
diff --git a/src/lib/efl/interfaces/efl_gfx_entity.eo b/src/lib/efl/interfaces/efl_gfx_entity.eo
index b33504cca2..7f633165e4 100644
--- a/src/lib/efl/interfaces/efl_gfx_entity.eo
+++ b/src/lib/efl/interfaces/efl_gfx_entity.eo
@@ -103,8 +103,8 @@ interface Efl.Gfx.Entity {
}
}
events {
- visibility,changed: bool; [[Object's visibility state changed, the event value is the new state.]]
- position,changed: Eina.Position2D; [[Object was moved, its position during the event is the new one.]]
- size,changed: Eina.Size2D; [[Object was resized, its size during the event is the new one.]]
+ visibility,changed @notify(visible): bool; [[Object's visibility state changed, the event value is the new state.]]
+ position,changed @notify(position): Eina.Position2D; [[Object was moved, its position during the event is the new one.]]
+ size,changed @notify(size): Eina.Size2D; [[Object was resized, its size during the event is the new one.]]
}
}
diff --git a/src/lib/efl/interfaces/efl_player.eo b/src/lib/efl/interfaces/efl_player.eo
index 9ec9b2b1ad..d243961aed 100644
--- a/src/lib/efl/interfaces/efl_player.eo
+++ b/src/lib/efl/interfaces/efl_player.eo
@@ -134,10 +134,10 @@ interface Efl.Player
}
}
events {
- playing,changed: bool; [[Called when the playing state has changed. The event value reflects the current state. @since 1.24]]
- paused,changed: bool; [[Called when the paused state has changed. The event value reflects the current state. @since 1.24]]
- playback_progress,changed: double; [[Called when the playback_progress state has changed. The event value reflects the current state. @since 1.24]]
- playback_position,changed: double; [[Called when the playback_position state has changed. The event value reflects the current state. @since 1.24]]
+ playing,changed @notify(playing): bool; [[Called when the playing state has changed. The event value reflects the current state. @since 1.24]]
+ paused,changed @notify(paused): bool; [[Called when the paused state has changed. The event value reflects the current state. @since 1.24]]
+ playback_progress,changed @notify(playback_progress): double; [[Called when the playback_progress state has changed. The event value reflects the current state. @since 1.24]]
+ playback_position,changed @notify(playback_position): double; [[Called when the playback_position state has changed. The event value reflects the current state. @since 1.24]]
playback,repeated: int; [[Called when the player has begun to repeat its data stream. The event value is the current number of repeats. @since 1.24]]
playback,finished: void; [[Called when the player has completed playing its data stream. @since 1.24]]
}
diff --git a/src/lib/efl/interfaces/efl_ui_range_display.eo b/src/lib/efl/interfaces/efl_ui_range_display.eo
index 2a9a75abb7..0a191b42e4 100644
--- a/src/lib/efl/interfaces/efl_ui_range_display.eo
+++ b/src/lib/efl/interfaces/efl_ui_range_display.eo
@@ -47,7 +47,7 @@ interface Efl.Ui.Range_Display
}
}
events {
- changed: void; [[Emitted when the @.range_value is getting changed.]]
+ changed @notify(range_value): void; [[Emitted when the @.range_value is getting changed.]]
min,reached: void; [[Emitted when the @.range_value has reached the minimum of @.range_limits.]]
max,reached: void; [[Emitted when the $range_value has reached the maximum of @.range_limits.]]
}
diff --git a/src/lib/efl/interfaces/efl_ui_scrollable.eo b/src/lib/efl/interfaces/efl_ui_scrollable.eo
index 872f883b81..63813384e0 100644
--- a/src/lib/efl/interfaces/efl_ui_scrollable.eo
+++ b/src/lib/efl/interfaces/efl_ui_scrollable.eo
@@ -174,7 +174,7 @@ interface Efl.Ui.Scrollable
}
events {
scroll,started: void; [[Called when scroll operation starts.]]
- scroll,changed: void; [[Called when scrolling.]]
+ scroll,changed @notify(content_pos): void; [[Called when scrolling.]]
scroll,finished: void; [[Called when scroll operation finishes.]]
scroll,up: void; [[Called when scrolling upwards.]]
scroll,down: void; [[Called when scrolling downwards.]]
diff --git a/src/lib/elementary/efl_text_interactive.eo b/src/lib/elementary/efl_text_interactive.eo
index 5f463f3c41..caac014766 100644
--- a/src/lib/elementary/efl_text_interactive.eo
+++ b/src/lib/elementary/efl_text_interactive.eo
@@ -83,6 +83,6 @@ interface Efl.Text_Interactive extends Efl.Text, Efl.Text_Font_Properties,
selection,changed: Eina.Range; [[Emitted when selection has changed. Query using @.selection_cursors.]]
redo,request: void; [[Emitted when a redo operation is requested.]]
undo,request: void; [[Emitted when a undo operation is requested.]]
- changed,user: Efl.Text_Change_Info; [[Emitted when the text content has changed due to user interaction.]]
+ changed,user @notify(Efl.Text.text): Efl.Text_Change_Info; [[Emitted when the text content has changed due to user interaction.]]
}
}
diff --git a/src/lib/elementary/efl_ui_calendar.eo b/src/lib/elementary/efl_ui_calendar.eo
index 8f9d9db434..dcd88886b3 100644
--- a/src/lib/elementary/efl_ui_calendar.eo
+++ b/src/lib/elementary/efl_ui_calendar.eo
@@ -105,6 +105,6 @@ class @beta Efl.Ui.Calendar extends Efl.Ui.Layout_Base
Efl.Ui.Format.apply_formatted_value;
}
events {
- changed: void; [[Emitted when the selected date in the calendar is changed]]
+ changed @notify(date): void; [[Emitted when the selected date in the calendar is changed]]
}
}
diff --git a/src/lib/elementary/efl_ui_datepicker.eo b/src/lib/elementary/efl_ui_datepicker.eo
index bf8f36c35a..04fcffec58 100644
--- a/src/lib/elementary/efl_ui_datepicker.eo
+++ b/src/lib/elementary/efl_ui_datepicker.eo
@@ -72,6 +72,6 @@ class Efl.Ui.Datepicker extends Efl.Ui.Layout_Base
Efl.Object.destructor;
}
events {
- date,changed: void; [[Called when date value is changed]]
+ date,changed @notify(date): void; [[Called when date value is changed]]
}
}
diff --git a/src/lib/elementary/efl_ui_focus_object.eo b/src/lib/elementary/efl_ui_focus_object.eo
index 58beae1f8e..453f7bcd8b 100644
--- a/src/lib/elementary/efl_ui_focus_object.eo
+++ b/src/lib/elementary/efl_ui_focus_object.eo
@@ -80,7 +80,7 @@ mixin Efl.Ui.Focus.Object
@empty .on_focus_update;
}
events {
- focus,changed : bool; [[Emitted if the focus state has changed.]]
+ focus,changed @notify(focus): bool; [[Emitted if the focus state has changed.]]
focus_manager,changed: Efl.Ui.Focus.Manager; [[Emitted when a new manager is the parent for this object.]]
focus_parent,changed: Efl.Ui.Focus.Object; [[Emitted when a new logical parent should be used.]]
child_focus,changed: bool; [[Emitted if child_focus has changed.]]
diff --git a/src/lib/elementary/efl_ui_layout_base.eo b/src/lib/elementary/efl_ui_layout_base.eo
index 440f625031..27587ca6af 100644
--- a/src/lib/elementary/efl_ui_layout_base.eo
+++ b/src/lib/elementary/efl_ui_layout_base.eo
@@ -141,6 +141,6 @@ abstract Efl.Ui.Layout_Base extends Efl.Ui.Widget implements Efl.Container,
Efl.Ui.I18n.language { get; set; }
}
events {
- theme,changed: void; [[Called when theme changed]]
+ theme,changed @notify(theme): void; [[Called when theme changed]]
}
}
diff --git a/src/lib/elementary/efl_ui_panel.eo b/src/lib/elementary/efl_ui_panel.eo
index 57d716b869..f8a214086a 100644
--- a/src/lib/elementary/efl_ui_panel.eo
+++ b/src/lib/elementary/efl_ui_panel.eo
@@ -86,6 +86,6 @@ class @beta Efl.Ui.Panel extends Efl.Ui.Layout_Base
Efl.Content.content_unset;
}
events {
- toggled: void; [[Called when the hidden state was toggled]]
+ toggled @notify(hidden): void; [[Called when the hidden state was toggled]]
}
}
diff --git a/src/lib/elementary/efl_ui_radio_group.eo b/src/lib/elementary/efl_ui_radio_group.eo
index a11e3368bb..caa45e2695 100644
--- a/src/lib/elementary/efl_ui_radio_group.eo
+++ b/src/lib/elementary/efl_ui_radio_group.eo
@@ -51,7 +51,7 @@ interface Efl.Ui.Radio_Group extends Efl.Ui.Single_Selectable
}
}
events {
- value,changed : int; [[Emitted each time the $selected_value changes. The event information
+ value,changed @notify(selected_value): int; [[Emitted each time the $selected_value changes. The event information
contains the @Efl.Ui.Radio.state_value of the newly selected button or
-1 if no button is now selected.]]
}
diff --git a/src/lib/elementary/efl_ui_selectable.eo b/src/lib/elementary/efl_ui_selectable.eo
index c64fc9cd74..56c54ae9c8 100644
--- a/src/lib/elementary/efl_ui_selectable.eo
+++ b/src/lib/elementary/efl_ui_selectable.eo
@@ -19,6 +19,6 @@ interface Efl.Ui.Selectable {
}
}
events {
- selected,changed : bool; [[Called when the selected state has changed.]]
+ selected,changed @notify(selected): bool; [[Called when the selected state has changed.]]
}
}
diff --git a/src/lib/elementary/efl_ui_single_selectable.eo b/src/lib/elementary/efl_ui_single_selectable.eo
index 30dfaf36c6..53b7c4f88e 100644
--- a/src/lib/elementary/efl_ui_single_selectable.eo
+++ b/src/lib/elementary/efl_ui_single_selectable.eo
@@ -40,7 +40,7 @@ interface Efl.Ui.Single_Selectable {
}
}
events {
- selection_changed : void; [[Emitted when there is a change in the selection state. This event will collect all
+ selection_changed @notify(last_selected): void; [[Emitted when there is a change in the selection state. This event will collect all
the item selection change events that are happening within one loop iteration.
This means, you will only get this event once, even if a lot of items have changed.
If you are interested in detailed changes, subscribe to the individual
diff --git a/src/lib/elementary/efl_ui_spotlight_container.eo b/src/lib/elementary/efl_ui_spotlight_container.eo
index 8c87b64713..4cef65860f 100644
--- a/src/lib/elementary/efl_ui_spotlight_container.eo
+++ b/src/lib/elementary/efl_ui_spotlight_container.eo
@@ -128,7 +128,7 @@ class Efl.Ui.Spotlight.Container extends Efl.Ui.Widget implements Efl.Pack_Linea
}
events {
transition,start @beta : Efl.Ui.Spotlight.Transition_Event; [[A transition animation has started.]]
- transition,end @beta : Efl.Ui.Spotlight.Transition_Event; [[A transition animation has ended.]]
+ transition,end @beta @notify(active_element): Efl.Ui.Spotlight.Transition_Event; [[A transition animation has ended.]]
}
implements {
Efl.Object.constructor;
diff --git a/src/lib/elementary/efl_ui_tags.eo b/src/lib/elementary/efl_ui_tags.eo
index 4533e43a92..113e43bd4e 100644
--- a/src/lib/elementary/efl_ui_tags.eo
+++ b/src/lib/elementary/efl_ui_tags.eo
@@ -65,6 +65,6 @@ class @beta Efl.Ui.Tags extends Efl.Ui.Layout_Base
expanded: void; [[Called when expanded]]
contracted: void; [[Called when contracted]]
/* FIXME: Not future-proof */
- expand,state,changed: bool; [[Called when expanded state changed, with the state it is in now]]
+ expand,state,changed @notify(expanded): bool; [[Called when expanded state changed, with the state it is in now]]
}
}
diff --git a/src/lib/elementary/efl_ui_timepicker.eo b/src/lib/elementary/efl_ui_timepicker.eo
index 9ced109efb..45577d8499 100644
--- a/src/lib/elementary/efl_ui_timepicker.eo
+++ b/src/lib/elementary/efl_ui_timepicker.eo
@@ -43,6 +43,6 @@ class Efl.Ui.Timepicker extends Efl.Ui.Layout_Base
Efl.Ui.Widget.theme_apply;
}
events {
- time,changed: void; [[Called when time is changed]]
+ time,changed @notify(time): void; [[Called when time is changed]]
}
}
diff --git a/src/lib/elementary/efl_ui_win.eo b/src/lib/elementary/efl_ui_win.eo
index e27f12958d..999be34370 100644
--- a/src/lib/elementary/efl_ui_win.eo
+++ b/src/lib/elementary/efl_ui_win.eo
@@ -845,12 +845,12 @@ class Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Access.W
events {
delete,request: void; [[Called when the window receives a delete request]]
withdrawn @beta: void; [[Called when window is withdrawn]]
- minimized: void; [[Called when window is minimized]]
- normal: void; [[Called when window is set to normal state]]
+ minimized @notify(minimized) @deferred: void; [[Called when window is minimized]]
+ normal @notify(minimized) @deferred: void; [[Called when window is set to normal state]]
stick @beta: void; [[Called when window is set as sticky]]
unstick @beta: void; [[Called when window is no longer set as sticky]]
- fullscreen,changed: bool; [[Called when window is set to or from fullscreen]]
- maximized,changed: bool; [[Called when window is set to or from maximized]]
+ fullscreen,changed @notify(fullscreen) @deferred: bool; [[Called when window is set to or from fullscreen]]
+ maximized,changed @notify(maximized) @deferred: bool; [[Called when window is set to or from maximized]]
indicator,prop,changed @beta: void; [[Called when indicator is property changed]]
win_rotation,changed: int; [[Called when window rotation is changed, sends current rotation in degrees]]
profile,changed @beta: void; [[Called when profile is changed]]
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.