2019-07-29 02:42:34 -07:00
|
|
|
class Efl.Ui.Button extends Efl.Ui.Layout_Base implements Efl.Input.Clickable, Efl.Ui.Autorepeat,
|
2018-09-03 17:37:00 -07:00
|
|
|
Efl.Text, Efl.Content,
|
2019-01-18 05:22:23 -08:00
|
|
|
Efl.Access.Widget.Action
|
2014-03-19 23:40:43 -07:00
|
|
|
{
|
2016-04-27 08:34:31 -07:00
|
|
|
[[Push-button widget
|
|
|
|
|
2017-11-20 03:22:48 -08:00
|
|
|
Press it and run some function. It can contain a simple label and icon
|
|
|
|
object and it also has an autorepeat feature.
|
2019-09-16 03:56:27 -07:00
|
|
|
|
|
|
|
The icon can be set using @Efl.Content.content, the text can be set using @Efl.Text.text.
|
|
|
|
|
|
|
|
The events of @Efl.Input.Clickable can be used to listen to a click event from the user.
|
2019-10-14 00:55:52 -07:00
|
|
|
|
|
|
|
@since 1.23
|
2016-04-27 08:34:31 -07:00
|
|
|
]]
|
2014-03-19 23:40:43 -07:00
|
|
|
implements {
|
2018-06-26 09:21:54 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2017-05-16 18:28:49 -07:00
|
|
|
Efl.Ui.Autorepeat.autorepeat_initial_timeout { set; get; }
|
|
|
|
Efl.Ui.Autorepeat.autorepeat_gap_timeout { set; get; }
|
|
|
|
Efl.Ui.Autorepeat.autorepeat_enabled { set; get; }
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.on_access_activate;
|
2019-03-04 10:37:18 -08:00
|
|
|
Efl.Ui.Widget.widget_input_event_handler;
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2017-11-20 03:22:48 -08:00
|
|
|
Efl.Content.content { get; set; }
|
|
|
|
Efl.Content.content_unset;
|
2017-01-04 03:17:21 -08:00
|
|
|
Efl.Text.text { get; set; }
|
2018-12-21 14:46:10 -08:00
|
|
|
Efl.Ui.L10n.l10n_text { get; set; }
|
2014-03-19 23:40:43 -07:00
|
|
|
}
|
|
|
|
}
|