efl/src/lib/elementary/efl_ui_video.eo

76 lines
2.0 KiB
Plaintext
Raw Normal View History

class Efl.Ui.Video (Elm.Layout, Efl.File,
Efl.Player, Elm.Interface.Atspi_Widget_Action)
2014-03-27 01:21:26 -07:00
{
legacy_prefix: elm_video;
2015-05-07 09:32:53 -07:00
methods {
@property remember_position {
2014-03-27 01:21:26 -07:00
set {
2015-07-02 06:37:55 -07:00
[[Set whether the object can remember the last played position.
2014-03-27 01:21:26 -07:00
2015-07-02 06:37:55 -07:00
Note: This API only serves as indication. System support is
required.
]]
2014-03-27 01:21:26 -07:00
}
get {
2015-07-02 06:37:55 -07:00
[[Set whether the object can remember the last played position.
2014-03-27 01:21:26 -07:00
2015-07-02 06:37:55 -07:00
Note: This API only serves as indication. System support is
required.
]]
2014-03-27 01:21:26 -07:00
}
values {
2015-07-02 06:37:55 -07:00
remember: bool; [[The value.]]
2014-03-27 01:21:26 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property is_playing {
2014-03-27 01:21:26 -07:00
get {
2015-07-02 06:37:55 -07:00
[[Is the video actually playing.
2014-03-27 01:21:26 -07:00
2015-07-02 06:37:55 -07:00
You should consider watching event on the object instead of
polling the object state.
]]
return: bool;
2014-03-27 01:21:26 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property emotion {
2014-03-27 01:21:26 -07:00
get {
2015-07-02 06:37:55 -07:00
[[Get the underlying Emotion object.]]
return: Efl.Canvas.Object; [[the underlying Emotion object.]]
2014-03-27 01:21:26 -07:00
}
}
2015-05-07 09:32:53 -07:00
@property title {
2014-03-27 01:21:26 -07:00
get {
2015-07-02 06:37:55 -07:00
[[Get the title (for instance DVD title) from this emotion object.
2014-03-27 01:21:26 -07:00
2015-07-02 06:37:55 -07:00
This function is only useful when playing a DVD.
2014-03-27 01:21:26 -07:00
2015-07-02 06:37:55 -07:00
Note: Don't change or free the string returned by this function.
]]
return: string; [[A string containing the title.]]
2014-03-27 01:21:26 -07:00
}
}
play {
2015-07-02 06:37:55 -07:00
[[Start playing a video.]]
2014-03-27 01:21:26 -07:00
}
pause {
2015-07-02 06:37:55 -07:00
[[Pause a video.]]
2014-03-27 01:21:26 -07:00
}
stop {
2015-07-02 06:37:55 -07:00
[[Stop a video.]]
2014-03-27 01:21:26 -07:00
}
}
implements {
class.constructor;
Eo.Base.constructor;
2014-07-22 08:37:57 -07:00
Efl.File.file.set;
Efl.File.file.get;
Efl.Canvas.Group.group_add;
Efl.Canvas.Group.group_del;
Elm.Widget.focus_next_manager_is;
Elm.Widget.focus_direction_manager_is;
Elm.Widget.event;
Elm.Layout.sizing_eval;
Elm.Interface.Atspi_Widget_Action.elm_actions.get;
2014-03-27 01:21:26 -07:00
}
}