aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_timepicker.eo
blob: dc2682d5fea41d914b1ff158760133ff0fe5feb4 (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
class Efl.Ui.Timepicker (Efl.Ui.Layout)
{
   [[Timepicker widget
   
     This is a widget which allows the user to pick a time using internal spinner. 
     User can use the internal spinner to select hour, minute, AM/PM or user can input
     value using internal entry.
   ]]
   methods {
     @property time {
         [[The current value of time

           $hour: Hour. The hour value is in terms of 24 hour format from 0 to 23.

           $min: Minute. The minute range is from 0 to 59.
         ]]
         set {
         }
         get{
         }
         values {
            hour: int; [[The hour value from 0 to 23.]]
            min: int; [[The minute value from 0 to 59.]]
         }
      }
      @property ampm {
         [[Control if the Timepicker displays 24 hour time or 12 hour time including AM/PM button.]]
         set {
         }
         get {
         }
         values {
            is_24hour: bool; [[$true to display the 24 hour time, $false to display 12 hour time including AM/PM button.]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
   }
   events {
      changed: void; [[Called when date is changed]]
   }
}