2017-10-16 23:45:50 -07:00
|
|
|
class Efl.Ui.Progressbar (Efl.Ui.Layout, Efl.Ui.Range, Efl.Ui.Format, Efl.Ui.Direction)
|
2014-03-26 00:36:41 -07:00
|
|
|
{
|
2016-11-24 05:55:50 -08:00
|
|
|
[[Elementary progressbar class]]
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
2017-05-23 22:12:34 -07:00
|
|
|
@property pulse_mode {
|
2015-08-07 07:48:51 -07:00
|
|
|
[[Control whether a given progress bar widget is at "pulsing mode" or not.
|
|
|
|
|
|
|
|
By default, progress bars will display values from the low to
|
|
|
|
high value boundaries. There are, though, contexts in which the
|
|
|
|
progress of a given task is unknown. For such cases,
|
|
|
|
one can set a progress bar widget to a "pulsing state", to give
|
|
|
|
the user an idea that some computation is being held, but
|
|
|
|
without exact progress values. In the default theme, it will
|
|
|
|
animate its bar with the contents filling in constantly and back
|
|
|
|
to non-filled, in a loop. To start and stop this pulsing
|
2017-05-23 22:12:34 -07:00
|
|
|
animation, one has to explicitly call elm_progressbar_pulse().
|
|
|
|
|
|
|
|
@since 1.20
|
|
|
|
]]
|
|
|
|
|
2014-03-26 00:36:41 -07:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2015-08-07 07:48:51 -07:00
|
|
|
pulse: bool; [[$true to put $obj in pulsing mode, $false to put it back to its default one]]
|
2014-03-26 00:36:41 -07:00
|
|
|
}
|
|
|
|
}
|
2017-05-23 22:12:34 -07:00
|
|
|
@property pulse {
|
|
|
|
set {
|
|
|
|
[[Start/stop a given progress bar "pulsing" animation, if its under that mode
|
|
|
|
|
|
|
|
Note: This call won't do anything if $obj is not under "pulsing mode".
|
|
|
|
|
|
|
|
@since 1.20
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
[[ Get the pulsing state on a given progressbar widget.
|
|
|
|
|
|
|
|
@since 1.20
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
state: bool; [[$true, to start the pulsing animation, $false to stop it]]
|
|
|
|
}
|
|
|
|
}
|
2014-03-26 00:36:41 -07:00
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2015-04-22 04:33:10 -07:00
|
|
|
Elm.Widget.theme_apply;
|
2017-09-19 19:16:17 -07:00
|
|
|
Elm.Widget.widget_sub_object_add;
|
2017-08-23 04:41:37 -07:00
|
|
|
Elm.Widget.widget_sub_object_del;
|
2017-06-14 18:31:25 -07:00
|
|
|
Efl.Ui.Range.range_value { get; set; }
|
2017-08-09 07:47:24 -07:00
|
|
|
Efl.Ui.Direction.direction { get; set; }
|
2017-10-25 10:10:29 -07:00
|
|
|
Efl.Ui.Format.format_cb { set; }
|
2016-05-24 04:40:18 -07:00
|
|
|
Efl.Part.part;
|
2014-03-26 00:36:41 -07:00
|
|
|
}
|
|
|
|
events {
|
2016-11-24 05:55:50 -08:00
|
|
|
changed; [[Called when progressbar changed]]
|
2014-03-26 00:36:41 -07:00
|
|
|
}
|
|
|
|
}
|