aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_video.eo
blob: cda43aef378ed490fca5fdbdfff42a703cac045b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
class Elm.Video (Elm.Layout, Efl.File,
                 Efl.Player, Elm.Interface.Atspi_Widget_Action)
{
   legacy_prefix: elm_video;
   eo_prefix: elm_obj_video;
   methods {
      @property remember_position {
         set {
            [[Set whether the object can remember the last played position.

              Note: This API only serves as indication. System support is
              required.
            ]]
         }
         get {
            [[Set whether the object can remember the last played position.

              Note: This API only serves as indication. System support is
              required.
            ]]
         }
         values {
            remember: bool; [[The value.]]
         }
      }
      @property is_playing {
         get {
            [[Is the video actually playing.

              You should consider watching event on the object instead of
              polling the object state.
            ]]
            return: bool;
         }
      }
      @property emotion {
         get {
            [[Get the underlying Emotion object.]]
            return: Evas.Object; [[the underlying Emotion object.]]
         }
      }
      @property title {
         get {
            [[Get the title (for instance DVD title) from this emotion object.

              This function is only useful when playing a DVD.

              Note: Don't change or free the string returned by this function.
            ]]
            return: string; [[A string containing the title.]]
         }
      }
      play {
         [[Start playing a video.]]
      }
      pause {
         [[Pause a video.]]
      }
      stop {
         [[Stop a video.]]
      }
   }
   implements {
      class.constructor;
      Eo.Base.constructor;
      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;
   }
}