2017-08-07 19:48:31 -07:00
|
|
|
class Efl.Ui.Video (Efl.Ui.Layout, Efl.File,
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Player, Efl.Access.Widget.Action)
|
2014-03-27 01:21:26 -07:00
|
|
|
{
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Efl UI video class]]
|
2016-05-12 09:06:04 -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 {
|
2016-11-17 03:52:44 -08:00
|
|
|
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 emotion {
|
2014-03-27 01:21:26 -07:00
|
|
|
get {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Get the underlying Emotion object.]]
|
2016-11-17 03:52:44 -08:00
|
|
|
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.
|
|
|
|
]]
|
2016-05-31 08:02:26 -07:00
|
|
|
return: string; [[A string containing the title.]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.File.file { get; set; }
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.widget_event;
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2018-01-16 03:31:15 -08:00
|
|
|
Efl.Player.start;
|
|
|
|
Efl.Player.stop;
|
|
|
|
Efl.Player.play { get; set; }
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|