// elm_label_line_wrap_set(it->label_shadow, EINA_FALSE);
// elm_label_wrap_mode_set(it->label_shadow, 0);
}
+
+ if(it->disable)
+ {
+ item_color_set(it, "elm.item.disable.color");
+ }
+ else
+ {
+ item_color_set(it, "elm.item.default.color");
+ }
/* if(it->edit_label && it->edit_icon)
{
edje_object_signal_emit(_EDJ(it->edit_item), "elm,state,icon_text", "elm");
}
}
+/**
+ * Get item disable
+ *
+ * @param it The item of controlbar
+ * @return EINA_TRUE or EINA_FALSE
+ *
+ * @ingroup Controlbar
+ */
+EAPI void
+elm_controlbar_item_disable_get(Elm_Controlbar_Item * it)
+{
+ if(!it) return;
+
+ return it->disable;
+}
+
EAPI void
elm_controlbar_view_set(Evas_Object * obj, Evas_Object * view)
{