A flip selector is a widget to show a set of text items, one at a time, with
the same sheet switching style as the Clock
widget, when one changes the current displaying sheet (thus, the “flip” in the
name).
User clicks to flip sheets which are held for some time will make the flip selector to flip continuously and automatically for the user. The interval between flips will keep growing in time, so that it helps the user to reach an item which is distant from the current selection.
selected
- when the widget’s selected text item is changed
overflowed
- when the widget’s current selection is changed
from the first item in its list to the last
underflowed
- when the widget’s current selection is changed
from the last item in its list to the first
default
- label of the flipselector item
efl.elementary.
FlipSelector
(Object parent, *args, **kwargs)¶parent (efl.evas.Object
) – The parent object
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance
efl.elementary.
FlipSelectorItem
(label=None, callback=None, cb_data=None, *args, **kwargs)¶The widget’s list of labels to show will be appended with the given value. If the user wishes so, a callback function can be passed, which will get called when this same item is selected.
Note
The current selection won’t be modified by appending an element to the list.
Note
The maximum length of the text label is going to be determined by the widget’s theme. Strings larger than that value are going to be truncated.
label (string) – The (text) label of the new item
callback (callable) – Convenience callback function to take place when item is selected
cb_data – User data for the callback function
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance