The Bubble is a widget to show text similar to how speech is represented in comics.
The bubble widget contains 5 important visual elements:
The frame is a rectangle with rounded edjes and an “arrow”.
The icon
is an image to which the frame’s arrow points to.
label
is a text which appears to the right of the icon if thecorner is top_left or bottom_left and is right aligned to the frame otherwise.
info
is a text which appears to the right of the label. Info’sfont is of a lighter color than label.
The content
is an evas object that is shown inside the frame.
The position of the arrow, icon, label and info depends on which corner is selected. The four available corners are:
top_left
- Default
top_right
bottom_left
bottom_right
default
- A content of the bubble
icon
- An icon of the bubble
default
- Label of the bubble
info
- info of the bubble
clicked
- This is called when a user has clicked the bubble.
efl.elementary.
Bubble
(Object parent, *args, **kwargs)¶parent (efl.evas.Object
) – The parent object
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance