Tizen Native API  5.0
Bubble

The Bubble is a widget to show text similar to how speech is represented in comics.

bubble_inheritance_tree.png

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.
  • The label is a text which appears to the right of the icon if the corner is "top_left" or "bottom_left" and is right aligned to the frame otherwise.
  • The info is a text which appears to the right of the label. Info's font 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"

This widget inherits from the Layout one, so that all the functions acting on it also work for bubble objects.

This widget emits the following signals, besides the ones sent from Layout:

  • "clicked" - This is called when a user has clicked the bubble.
  • "focused" - When the bubble has received focus. (since 1.8)
  • "unfocused" - When the bubble has lost focus. (since 1.8)

Default content parts of the bubble that you can use for are:

  • "default" - A content of the bubble
  • "icon" - An icon of the bubble

Default text parts of the button widget that you can use for are:

  • "default" - A label of the bubble
  • "info" - An info of the bubble

Supported elm_object common APIs.

For an example of using a bubble see this.


Enumeration Type Documentation

Defines the corner values for a bubble.

The corner will be used to determine where the arrow of the bubble points to.

Enumerator:
ELM_BUBBLE_POS_INVALID 

Invalid corner.

ELM_BUBBLE_POS_TOP_LEFT 

The arrow of the bubble points to the top left corner.

ELM_BUBBLE_POS_TOP_RIGHT 

The arrow of the bubble points to the top right corner.

ELM_BUBBLE_POS_BOTTOM_LEFT 

The arrow of the bubble points to the bottom left corner.

ELM_BUBBLE_POS_BOTTOM_RIGHT 

The arrow of the bubble points to the bottom right corner.