*/
EAPI void *edje_object_signal_callback_del_full(Evas_Object *obj, const char *emission, const char *source, Edje_Signal_Cb func, void *data);
-/**
- * @brief Delete the object color class.
- *
- * @param obj The edje object's reference.
- * @param color_class The color class to be deleted.
- *
- * This function deletes any values at the object level for the
- * specified object and color class.
- * @note Deleting the color class will revert it to the values
- * defined by edje_color_class_set() or the color class
- * defined in the theme file.
- *
- * Deleting the color class will emit the signal "color_class,del"
- * for the given Edje object.
- */
- EAPI void edje_object_color_class_del (Evas_Object *obj, const char *color_class);
-
-/**
- * @brief Delete the object text class.
- *
- * @param obj The edje object's reference.
- * @param text_class The text class to be deleted.
- *
- * This function deletes any values at the object level for the
- * specified object and text class.
- * @note Deleting the text class will revert it to the values
- * defined by edje_text_class_set() or the text class
- * defined in the theme file.
- *
- * @since 1.17
- *
- */
-EAPI void edje_object_text_class_del (Evas_Object *obj, const char *text_class);
-
-/**
- * @brief Delete the object size class.
- *
- * @param obj The edje object's reference.
- * @param size_class The size class to be deleted.
- *
- * This function deletes any values at the object level for the
- * specified object and size class.
- * @note Deleting the size class will revert it to the values
- * defined by edje_size_class_set() or the size class
- * defined in the theme file.
- *
- * @since 1.17
- */
- EAPI void edje_object_size_class_del (Evas_Object *obj, const char *size_class);
-
/**
* @brief Set the object minimum size.
*
@out size: Evas.Font.Size; [[Font Size]]
}
}
+ text_class_del {
+ [[Delete the object text class.
+
+ This function deletes any values at the object level for the
+ specified object and text class.
+
+ Deleting the text class will revert it to the values
+ defined by edje_text_class_set() or the text class
+ defined in the theme file.
+
+ @since 1.17]]
+ params {
+ @in text_class: const(char)*; [[The color class to be deleted.]]
+ }
+ }
color_class_set {
[[Sets the object color class.
@since 1.17.0]]
return: bool; [[$true, on success or $false, on error]]
}
+ color_class_del {
+ [[Delete the object color class.
+
+ This function deletes any values at the object level for the
+ specified object and color class.
+
+ Deleting the color class will revert it to the values
+ defined by edje_color_class_set() or the color class
+ defined in the theme file.
+
+ Deleting the color class will emit the signal "color_class,del"
+ for the given Edje object.]]
+ params {
+ @in color_class: const(char)*; [[The color class to be deleted.]]
+ }
+ }
size_class_set {
[[Sets the object size class.
This function sets the min and max values for an object level size
class. This will make all edje parts in the specified object that
- have the specified size class update their min and max size with given values.]]
+ have the specified size class update their min and max size with given values.
+
+ @since 1.17]]
return: bool; [[$true, on success or $false, on error]]
params {
@in size_class: const(char)*; [[The size class name]]
This function gets the min and max values for an object level size
class. These values will only be valid until the size class is changed
- or the edje object is deleted.]]
+ or the edje object is deleted.
+
+ @since 1.17]]
return: bool; [[$true, on success or $false, on error]]
params {
@in size_class: const(char)*; [[The size class name]]
@out maxh: int; [[The max height]]
}
}
+ size_class_del {
+ [[Delete the object size class.
+
+ This function deletes any values at the object level for the
+ specified object and size class.
+
+ Deleting the size class will revert it to the values
+ defined by edje_size_class_set() or the color class
+ defined in the theme file.
+
+ @since 1.17]]
+ params {
+ @in size_class: const(char)*;
+ }
+ }
part_drag_step {
[[Steps the dragable x,y steps.
return cc ? cc->desc : NULL;
}
-void
-edje_object_color_class_del(Evas_Object *obj, const char *color_class)
+EOLIAN void
+_edje_object_color_class_del(Eo *obj EINA_UNUSED, Edje *ed, const char *color_class)
{
- Edje *ed;
Edje_Color_Class *cc = NULL;
unsigned int i;
- ed = _edje_fetch(obj);
-
- if ((!ed) || (!color_class)) return;
+ if (!color_class) return;
eina_hash_del(ed->color_classes, color_class, cc);
return EINA_TRUE;
}
-void
+EAPI void
edje_text_class_del(const char *text_class)
{
Edje_Text_Class *tc;
return EINA_TRUE;
}
-EAPI void
-edje_object_text_class_del(Evas_Object *obj, const char *text_class)
+EOLIAN void
+_edje_object_text_class_del(Eo *obj EINA_UNUSED, Edje *ed, const char *text_class)
{
- Edje *ed;
Edje_Text_Class *tc = NULL;
unsigned int i;
- ed = _edje_fetch(obj);
-
- if ((!ed) || (!text_class)) return;
+ if (!text_class) return;
eina_hash_del(ed->text_classes, text_class, tc);
return EINA_TRUE;
}
-void
+EAPI void
edje_size_class_del(const char *size_class)
{
Edje_Size_Class *sc;
return EINA_TRUE;
}
-EAPI void
-edje_object_size_class_del(Evas_Object *obj, const char *size_class)
+EOLIAN void
+_edje_object_size_class_del(Eo *obj EINA_UNUSED, Edje *ed, const char *size_class)
{
- Edje *ed;
Edje_Size_Class *sc = NULL;
unsigned int i;
- ed = _edje_fetch(obj);
-
- if ((!ed) || (!size_class)) return;
+ if (!size_class) return;
eina_hash_del(ed->size_classes, size_class, sc);