2017-11-15 19:05:21 -08:00
|
|
|
class Efl.Ui.Progressbar (Efl.Ui.Layout, Efl.Ui.Range, Efl.Ui.Format,
|
2018-01-16 03:35:28 -08:00
|
|
|
Efl.Ui.Direction, Efl.Access.Value, Efl.Ui.Translatable,
|
|
|
|
Efl.Text, Efl.Content, Efl.Text.Markup)
|
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.
|
|
|
|
|
2018-01-04 04:16:23 -08:00
|
|
|
By default progress bars display values from low to
|
|
|
|
high boundaries. There are situations however in which the
|
|
|
|
progress of a given task is unknown. In these cases,
|
|
|
|
you can set a progress bar widget to a "pulsing state" to give
|
|
|
|
the user an idea that some computation is being done
|
|
|
|
without showing the precise progress rate. In the default theme, it will
|
|
|
|
animate the bar with content, switching constantly between filling it and back
|
|
|
|
to non-filled in a loop. To start and stop this pulsing
|
|
|
|
animation you need to explicitly call elm_progressbar_pulse().
|
2017-05-23 22:12:34 -07:00
|
|
|
|
|
|
|
@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 {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.theme_apply;
|
|
|
|
Efl.Ui.Widget.widget_sub_object_add;
|
|
|
|
Efl.Ui.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;
|
2017-11-15 19:05:21 -08:00
|
|
|
Efl.Access.Value.value_and_text { get; }
|
2018-01-16 03:09:54 -08:00
|
|
|
Efl.Text.text { get; set; }
|
2018-01-16 03:35:28 -08:00
|
|
|
Efl.Text.Markup.markup { get; set; }
|
2018-01-16 03:09:54 -08:00
|
|
|
Efl.Content.content { get; set; }
|
|
|
|
Efl.Content.content_unset;
|
2018-01-16 03:35:28 -08:00
|
|
|
Efl.Ui.Translatable.translatable_text { get; set; }
|
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
|
|
|
}
|
|
|
|
}
|