} Elm_Text_Format;
EAPI Evas_Object *elm_notepad_add(Evas_Object *parent);
EAPI void elm_notepad_file_set(Evas_Object *obj, const char *file, Elm_Text_Format format);
+ EAPI void elm_notepad_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
/* smart callbacks called:
*/
EAPI void elm_anchorview_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
EAPI void elm_anchorview_hover_style_set(Evas_Object *obj, const char *style);
EAPI void elm_anchorview_hover_end(Evas_Object *obj);
+ EAPI void elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
/* smart callbacks called:
* "anchor,clicked" - achor called was clicked | event_info = Elm_Entry_Anchorview_Info
*/
EAPI void elm_list_item_label_set(Elm_List_Item *item, const char *text);
EAPI Elm_List_Item *elm_list_item_prev(const Elm_List_Item *it);
EAPI Elm_List_Item *elm_list_item_next(const Elm_List_Item *it);
-
+ EAPI void elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce);
+
/* smart callbacks called:
* "clicked" - when the user double-clicked an item
* "selected" - when the user selected an item
wd->hover = NULL;
wd->pop = NULL;
}
+
+/**
+ * Set bounce mode
+ *
+ * This will enable or disable the scroller bounce mode for the anchorview. See
+ * elm_scroller_bounce_set() for details
+ *
+ * @param obj The anchorview anchorview
+ * @param h_bounce Allow bounce horizontally
+ * @param v_bounce Allow bounce vertically
+ *
+ * @ingroup Anchorview
+ */
+EAPI void
+elm_anchorview_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+{
+ Widget_Data *wd = elm_widget_data_get(obj);
+ elm_scroller_bounce_set(wd->scroller, h_bounce, v_bounce);
+}
wd->format = format;
_load(obj);
}
+
+/**
+ * Set bounce mode
+ *
+ * This will enable or disable the scroller bounce mode for the notepad. See
+ * elm_scroller_bounce_set() for details
+ *
+ * @param obj The notepad object
+ * @param h_bounce Allow bounce horizontally
+ * @param v_bounce Allow bounce vertically
+ *
+ * @ingroup Notepad
+ */
+EAPI void
+elm_notepad_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+{
+ Widget_Data *wd = elm_widget_data_get(obj);
+ elm_scroller_bounce_set(wd->scr, h_bounce, v_bounce);
+}
/**
* Set bounce mode
*
- * This will enable or disable the scroller bounce mode for the gnelist. See
+ * This will enable or disable the scroller bounce mode for the genlist. See
* elm_scroller_bounce_set() for details
*
* @param obj The genlist object
* @param it The item to set the callback on
* @param func The function called
*
- * @ingroup Hoversel
+ * @ingroup List
*/
EAPI void
elm_list_item_del_cb_set(Elm_List_Item *it, void (*func)(void *data, Evas_Object *obj, void *event_info))
else
return NULL;
}
+
+/**
+ * Set bounce mode
+ *
+ * This will enable or disable the scroller bounce mode for the list. See
+ * elm_scroller_bounce_set() for details
+ *
+ * @param obj The list object
+ * @param h_bounce Allow bounce horizontally
+ * @param v_bounce Allow bounce vertically
+ *
+ * @ingroup List
+ */
+EAPI void
+elm_list_bounce_set(Evas_Object *obj, Eina_Bool h_bounce, Eina_Bool v_bounce)
+{
+ Widget_Data *wd = elm_widget_data_get(obj);
+ elm_smart_scroller_bounce_allow_set(wd->scr, h_bounce, v_bounce);
+}