Anchorview

This is just like the Anchorblock object, but provides a scroller to hold the text automatically. More...


Functions

EAPI Evas_Object * elm_anchorview_add (Evas_Object *parent)
 Add a new Anchorview object.
EAPI void elm_anchorview_text_set (Evas_Object *obj, const char *text)
 Set the text markup of the anchorview.
EAPI void elm_anchorview_hover_parent_set (Evas_Object *obj, Evas_Object *parent)
 Set the parent of the hover popup.
EAPI void elm_anchorview_hover_style_set (Evas_Object *obj, const char *style)
 Set the style that the hover should use.
EAPI void elm_anchorview_hover_end (Evas_Object *obj)
 Stop the hover popup in the anchorview.


Detailed Description

This is just like the Anchorblock object, but provides a scroller to hold the text automatically.

Signals that you can add callbacks for are:

anchor,clicked - achor called was clicked. event_info is anchor info - Elm_Entry_Anchorview_Info


Function Documentation

EAPI Evas_Object* elm_anchorview_add ( Evas_Object *  parent  ) 

Add a new Anchorview object.

Parameters:
parent The parent object
Returns:
The new object or NULL if it cannot be created

EAPI void elm_anchorview_hover_end ( Evas_Object *  obj  ) 

Stop the hover popup in the anchorview.

This will stop the hover popup in the anchorview if it is currently active.

Parameters:
obj The anchorview object

EAPI void elm_anchorview_hover_parent_set ( Evas_Object *  obj,
Evas_Object *  parent 
)

Set the parent of the hover popup.

This sets the parent of the hover that anchorview will create. See hover objects for more information on this.

Parameters:
obj The anchorview object
parent The parent the hover should use

EAPI void elm_anchorview_hover_style_set ( Evas_Object *  obj,
const char *  style 
)

Set the style that the hover should use.

This sets the style for the hover that anchorview will create. See hover objects for more information

Parameters:
obj The anchorview object
style The style to use

EAPI void elm_anchorview_text_set ( Evas_Object *  obj,
const char *  text 
)

Set the text markup of the anchorview.

This sets the text of the anchorview to be the text given as text. This text is in markup format with <a href=XXX> beginning an achor with the string link of 'XXX', and </> or </a> ending the link. Other markup can be used dependign on the style support.

Parameters:
obj The anchorview object
text The text to set, or NULL to clear