forked from enlightenment/efl
elementry/elm_object_item - renamed parameter (item -> it) for consistency.
SVN revision: 67613
This commit is contained in:
parent
168ea8ad80
commit
73ee2d9004
|
@ -2140,45 +2140,45 @@ EAPI void elm_object_item_del(Elm_Object_Item *it)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_tooltip_text_set(Elm_Object_Item *item, const char *text)
|
||||
elm_object_item_tooltip_text_set(Elm_Object_Item *it, const char *text)
|
||||
{
|
||||
elm_widget_item_tooltip_text_set(item, text);
|
||||
elm_widget_item_tooltip_text_set(it, text);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb)
|
||||
elm_object_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb)
|
||||
{
|
||||
elm_widget_item_tooltip_content_cb_set(item, func, data, del_cb);
|
||||
elm_widget_item_tooltip_content_cb_set(it, func, data, del_cb);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_tooltip_unset(Elm_Object_Item *item)
|
||||
elm_object_item_tooltip_unset(Elm_Object_Item *it)
|
||||
{
|
||||
elm_widget_item_tooltip_unset(item);
|
||||
elm_widget_item_tooltip_unset(it);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_object_item_tooltip_window_mode_set(Elm_Object_Item *item, Eina_Bool disable)
|
||||
elm_object_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable)
|
||||
{
|
||||
return elm_widget_item_tooltip_window_mode_set(item, disable);
|
||||
return elm_widget_item_tooltip_window_mode_set(it, disable);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_object_item_tooltip_window_mode_get(const Elm_Object_Item *item)
|
||||
elm_object_item_tooltip_window_mode_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_widget_item_tooltip_window_mode_get(item);
|
||||
return elm_widget_item_tooltip_window_mode_get(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_tooltip_style_set(Elm_Object_Item *item, const char *style)
|
||||
elm_object_item_tooltip_style_set(Elm_Object_Item *it, const char *style)
|
||||
{
|
||||
elm_widget_item_tooltip_style_set(item, style);
|
||||
elm_widget_item_tooltip_style_set(it, style);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
elm_object_item_tooltip_style_get(const Elm_Object_Item *item)
|
||||
elm_object_item_tooltip_style_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_widget_item_tooltip_style_get(item);
|
||||
return elm_widget_item_tooltip_style_get(it);
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI Evas_Object *
|
||||
|
@ -2188,43 +2188,43 @@ elm_object_item_object_get(const Elm_Object_Item *it)
|
|||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_cursor_set(Elm_Object_Item *item, const char *cursor)
|
||||
elm_object_item_cursor_set(Elm_Object_Item *it, const char *cursor)
|
||||
{
|
||||
elm_widget_item_tooltip_style_set(item, cursor);
|
||||
elm_widget_item_tooltip_style_set(it, cursor);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
elm_object_item_cursor_get(const Elm_Object_Item *item)
|
||||
elm_object_item_cursor_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_widget_item_cursor_get(item);
|
||||
return elm_widget_item_cursor_get(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_cursor_unset(Elm_Object_Item *item)
|
||||
elm_object_item_cursor_unset(Elm_Object_Item *it)
|
||||
{
|
||||
elm_widget_item_cursor_unset(item);
|
||||
elm_widget_item_cursor_unset(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_cursor_style_set(Elm_Object_Item *item, const char *style)
|
||||
elm_object_item_cursor_style_set(Elm_Object_Item *it, const char *style)
|
||||
{
|
||||
elm_widget_item_cursor_style_set(item, style);
|
||||
elm_widget_item_cursor_style_set(it, style);
|
||||
}
|
||||
|
||||
EAPI const char *
|
||||
elm_object_item_cursor_style_get(const Elm_Object_Item *item)
|
||||
elm_object_item_cursor_style_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_widget_item_cursor_style_get(item);
|
||||
return elm_widget_item_cursor_style_get(it);
|
||||
}
|
||||
|
||||
EAPI void
|
||||
elm_object_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only)
|
||||
elm_object_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only)
|
||||
{
|
||||
elm_widget_item_cursor_engine_only_set(item, engine_only);
|
||||
elm_widget_item_cursor_engine_only_set(it, engine_only);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_object_item_cursor_engine_only_get(const Elm_Object_Item *item)
|
||||
elm_object_item_cursor_engine_only_get(const Elm_Object_Item *it)
|
||||
{
|
||||
return elm_widget_item_cursor_engine_only_get(item);
|
||||
return elm_widget_item_cursor_engine_only_get(it);
|
||||
}
|
||||
|
|
|
@ -192,7 +192,7 @@ EAPI void elm_object_item_del(Elm_Object_Item *it);
|
|||
/**
|
||||
* Set the text to be shown in a given object item's tooltips.
|
||||
*
|
||||
* @param item Target item.
|
||||
* @param it Target item.
|
||||
* @param text The text to set in the content.
|
||||
*
|
||||
* Setup the text as tooltip to object. The item can have only one tooltip,
|
||||
|
@ -203,29 +203,29 @@ EAPI void elm_object_item_del(Elm_Object_Item *it);
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_tooltip_text_set(Elm_Object_Item *item, const char *text);
|
||||
EAPI void elm_object_item_tooltip_text_set(Elm_Object_Item *it, const char *text);
|
||||
|
||||
/**
|
||||
* @brief Disable size restrictions on an object's tooltip
|
||||
* @param item The tooltip's anchor object
|
||||
* @param it The tooltip's anchor object
|
||||
* @param disable If EINA_TRUE, size restrictions are disabled
|
||||
* @return EINA_FALSE on failure, EINA_TRUE on success
|
||||
*
|
||||
* This function allows a tooltip to expand beyond its parant window's canvas.
|
||||
* It will instead be limited only by the size of the display.
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_item_tooltip_window_mode_set(Elm_Object_Item *item, Eina_Bool disable);
|
||||
EAPI Eina_Bool elm_object_item_tooltip_window_mode_set(Elm_Object_Item *it, Eina_Bool disable);
|
||||
|
||||
/**
|
||||
* @brief Retrieve size restriction state of an object's tooltip
|
||||
* @param obj The tooltip's anchor object
|
||||
* @param it The tooltip's anchor object
|
||||
* @return If EINA_TRUE, size restrictions are disabled
|
||||
*
|
||||
* This function returns whether a tooltip is allowed to expand beyond
|
||||
* its parant window's canvas.
|
||||
* It will instead be limited only by the size of the display.
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_item_tooltip_window_mode_get(const Elm_Object_Item *item);
|
||||
EAPI Eina_Bool elm_object_item_tooltip_window_mode_get(const Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Set the content to be shown in the tooltip item.
|
||||
|
@ -236,7 +236,7 @@ EAPI Eina_Bool elm_object_item_tooltip_window_mode_get(const
|
|||
* return a valid Evas_Object. This object is then managed fully by
|
||||
* tooltip system and is deleted when the tooltip is gone.
|
||||
*
|
||||
* @param item the object item being attached a tooltip.
|
||||
* @param it the object item being attached a tooltip.
|
||||
* @param func the function used to create the tooltip contents.
|
||||
* @param data what to provide to @a func as callback data/context.
|
||||
* @param del_cb called when data is not needed anymore, either when
|
||||
|
@ -249,12 +249,12 @@ EAPI Eina_Bool elm_object_item_tooltip_window_mode_get(const
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_tooltip_content_cb_set(Elm_Object_Item *item, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
|
||||
EAPI void elm_object_item_tooltip_content_cb_set(Elm_Object_Item *it, Elm_Tooltip_Item_Content_Cb func, const void *data, Evas_Smart_Cb del_cb);
|
||||
|
||||
/**
|
||||
* Unset tooltip from item.
|
||||
*
|
||||
* @param item object item to remove previously set tooltip.
|
||||
* @param it object item to remove previously set tooltip.
|
||||
*
|
||||
* Remove tooltip from item. The callback provided as del_cb to
|
||||
* elm_object_item_tooltip_content_cb_set() will be called to notify
|
||||
|
@ -265,7 +265,7 @@ EAPI void elm_object_item_tooltip_content_cb_set(Elm_Obj
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_tooltip_unset(Elm_Object_Item *item);
|
||||
EAPI void elm_object_item_tooltip_unset(Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Sets a different style for this item tooltip.
|
||||
|
@ -274,19 +274,19 @@ EAPI void elm_object_item_tooltip_unset(Elm_Object_Item
|
|||
* elm_object_item_tooltip_content_cb_set() or
|
||||
* elm_object_item_tooltip_text_set()
|
||||
*
|
||||
* @param item object item with tooltip already set.
|
||||
* @param it object item with tooltip already set.
|
||||
* @param style the theme style to use (default, transparent, ...)
|
||||
*
|
||||
* @see elm_object_tooltip_style_set() for more details.
|
||||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_tooltip_style_set(Elm_Object_Item *item, const char *style);
|
||||
EAPI void elm_object_item_tooltip_style_set(Elm_Object_Item *it, const char *style);
|
||||
|
||||
/**
|
||||
* Get the style for this item tooltip.
|
||||
*
|
||||
* @param item object item with tooltip already set.
|
||||
* @param it object item with tooltip already set.
|
||||
* @return style the theme style in use, defaults to "default". If the
|
||||
* object does not have a tooltip set, then NULL is returned.
|
||||
*
|
||||
|
@ -295,14 +295,13 @@ EAPI void elm_object_item_tooltip_style_set(Elm_Object_I
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI const char *elm_object_item_tooltip_style_get(const Elm_Object_Item *item);
|
||||
|
||||
EAPI const char *elm_object_item_tooltip_style_get(const Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Set the type of mouse pointer/cursor decoration to be shown,
|
||||
* when the mouse pointer is over the given item
|
||||
*
|
||||
* @param ite, item to customize cursor on
|
||||
* @param it item to customize cursor on
|
||||
* @param cursor the cursor type's name
|
||||
*
|
||||
* This function works analogously as elm_object_cursor_set(), but
|
||||
|
@ -320,13 +319,13 @@ EAPI const char *elm_object_item_tooltip_style_get(const Elm_Ob
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_cursor_set(Elm_Object_Item *item, const char *cursor);
|
||||
EAPI void elm_object_item_cursor_set(Elm_Object_Item *it, const char *cursor);
|
||||
|
||||
/*
|
||||
* Get the type of mouse pointer/cursor decoration set to be shown,
|
||||
* when the mouse pointer is over the given item
|
||||
*
|
||||
* @param item item with custom cursor set
|
||||
* @param it item with custom cursor set
|
||||
* @return the cursor type's name or @c NULL, if no custom cursors
|
||||
* were set to @p item (and on errors)
|
||||
*
|
||||
|
@ -336,14 +335,14 @@ EAPI void elm_object_item_cursor_set(Elm_Object_Item *it
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI const char *elm_object_item_cursor_get(const Elm_Object_Item *item);
|
||||
EAPI const char *elm_object_item_cursor_get(const Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Unset any custom mouse pointer/cursor decoration set to be
|
||||
* shown, when the mouse pointer is over the given
|
||||
* item, thus making it show the @b default cursor again.
|
||||
*
|
||||
* @param item the item
|
||||
* @param it the item
|
||||
*
|
||||
* Use this call to undo any custom settings on this item's cursor
|
||||
* decoration, bringing it back to defaults (no custom style set).
|
||||
|
@ -353,13 +352,13 @@ EAPI const char *elm_object_item_cursor_get(const Elm_Object_It
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_cursor_unset(Elm_Object_Item *item);
|
||||
EAPI void elm_object_item_cursor_unset(Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Set a different @b style for a given custom cursor set for an
|
||||
* item.
|
||||
*
|
||||
* @param item item with custom cursor set
|
||||
* @param it item with custom cursor set
|
||||
* @param style the <b>theme style</b> to use (e.g. @c "default",
|
||||
* @c "transparent", etc)
|
||||
*
|
||||
|
@ -378,13 +377,13 @@ EAPI void elm_object_item_cursor_unset(Elm_Object_Item *
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_cursor_style_set(Elm_Object_Item *item, const char *style);
|
||||
EAPI void elm_object_item_cursor_style_set(Elm_Object_Item *it, const char *style);
|
||||
|
||||
/**
|
||||
* Get the current @b style set for a given item's custom
|
||||
* cursor
|
||||
*
|
||||
* @param item item with custom cursor set.
|
||||
* @param it item with custom cursor set.
|
||||
* @return style the cursor style in use. If the object does not
|
||||
* have a cursor set, then @c NULL is returned.
|
||||
*
|
||||
|
@ -392,14 +391,14 @@ EAPI void elm_object_item_cursor_style_set(Elm_Object_It
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI const char *elm_object_item_cursor_style_get(const Elm_Object_Item *item);
|
||||
EAPI const char *elm_object_item_cursor_style_get(const Elm_Object_Item *it);
|
||||
|
||||
/**
|
||||
* Set if the (custom)cursor for a given item should be
|
||||
* searched in its theme, also, or should only rely on the
|
||||
* rendering engine.
|
||||
*
|
||||
* @param item item with custom (custom) cursor already set on
|
||||
* @param it item with custom (custom) cursor already set on
|
||||
* @param engine_only Use @c EINA_TRUE to have cursors looked for
|
||||
* only on those provided by the rendering engine, @c EINA_FALSE to
|
||||
* have them searched on the widget's theme, as well.
|
||||
|
@ -412,7 +411,7 @@ EAPI const char *elm_object_item_cursor_style_get(const Elm_Obj
|
|||
*
|
||||
* @ingroup General
|
||||
*/
|
||||
EAPI void elm_object_item_cursor_engine_only_set(Elm_Object_Item *item, Eina_Bool engine_only);
|
||||
EAPI void elm_object_item_cursor_engine_only_set(Elm_Object_Item *it, Eina_Bool engine_only);
|
||||
|
||||
/**
|
||||
* Get if the (custom) cursor for a given item is being
|
||||
|
@ -429,4 +428,3 @@ EAPI void elm_object_item_cursor_engine_only_set(Elm_Obj
|
|||
* @ingroup General
|
||||
*/
|
||||
EAPI Eina_Bool elm_object_item_cursor_engine_only_get(const Elm_Object_Item *item);
|
||||
|
||||
|
|
Loading…
Reference in New Issue