Segment control widget is a horizontal control made of multiple segment items, each segment item functioning similar to discrete two state button. A segment control groups the items together and provides compact single button with multiple equal size segments.
Segment item size is determined by base widget size and the number of items added. Only one segment item can be at selected state. A segment item can display combination of Text and any Evas_Object like Images or other widget.
changed
- When the user clicks on a segment item which is not
previously selected and get selected. The event_info parameter is the
segment item.
icon
- An icon in a segment control item
default
- Title label in a segment control item
efl.elementary.
SegmentControl
(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.
SegmentControlItem
(Object icon=None, label=None, *args, **kwargs)¶