This can be achieved by calling elm_bg_color_set(bg, -1, -1, -1);
2013-08-26 Daniel Juyung Seo (SeoZ)
* Gengrid: implement selectraise feature.
+
+2013-08-28 DAniel Juyung Seo (SeoZ)
+
+ * Bg: Add bg reset feature.
* Add _elm_access_object_get, deprecate _elm_access_info_get
* Add elm_win_focus_highlight_animate_set/get().
* Add selectraise feature to gengrid.
+ * Add bg reset feature.
Improvements:
Elm_Bg_Smart_Data *sd = _pd;
Elm_Widget_Smart_Data *wd = eo_data_scope_get(obj, ELM_OBJ_WIDGET_CLASS);
+ // reset color
+ if ((r == -1) && (g == -1) && (b == -1))
+ {
+ ELM_SAFE_FREE(sd->rect, evas_object_del);
+ return;
+ }
+
if (!sd->rect)
{
sd->rect = evas_object_rectangle_add
* previously called elm_bg_file_set(), so that you just want a solid
* color background.
*
+ * @note You can reset the color by setting @r, @g, @b as -1, -1, -1.
+ *
* @see elm_bg_color_get()
*
* @ingroup Bg