efl/src/lib/elementary/efl_ui_video.eo

71 lines
2.0 KiB
Plaintext
Raw Normal View History

class Efl.Ui.Video (Efl.Ui.Layout, Efl.File,
Efl.Player, Elm.Interface.Atspi_Widget_Action)
2014-03-27 01:21:26 -07:00
{
[[Efl UI video class]]
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 {
remember: bool; [[$true when the object can remember the last position, $false otherwise]]
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; [[$true if the video is playing, $false otherwise]]
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;
Efl.Object.constructor;
Efl.File.file { get; set; }
Elm.Widget.widget_event;
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
2014-03-27 01:21:26 -07:00
}
}