This is a push-button. Press it and run some function. It can contain a simple label and icon object and it also has an autorepeat feature.
Bases: efl.elementary.__init__.LayoutClass
This is the class that actually implements the widget.
| Parameters: |
|
|---|
Turn on/off the autorepeat event generated when the button is kept pressed
When off, no autorepeat is performed and buttons emit a normal clicked signal when they are clicked.
When on, keeping a button pressed will continuously emit a repeated signal until the button is released. The time it takes until it starts emitting the signal is given by autorepeat_initial_timeout, and the time between each new emission by autorepeat_gap_timeout.
| Type: | bool |
|---|
The interval between each generated autorepeat event
After the first repeated event is fired, all subsequent ones will follow after a delay of t seconds for each.
See also
| Type: | float |
|---|
The initial timeout before the autorepeat event is generated
Reflects the timeout, in seconds, since the button is pressed until the first repeated signal is emitted. If t is 0.0 or less, there won’t be any delay and the event will be fired the moment the button is pressed.
See also
| Type: | float |
|---|
The user clicked the button (press/release).
The button was pressed.
The user pressed the button without releasing it.
The button was released after being pressed.