return &key_actions[0];
}
+EOLIAN const char* _elm_button_part_text_get(Eo* obj, Elm_Button_Data* pd EINA_UNUSED, const char* part)
+{
+ return elm_object_part_text_get(obj, part);
+}
+
+EOLIAN void _elm_button_part_text_set(Eo* obj, Elm_Button_Data* pd EINA_UNUSED, const char* part, const char* text)
+{
+ return elm_object_part_text_set(obj, part, text);
+}
+
+EOLIAN const char* _elm_button_text_get(Eo* obj, Elm_Button_Data* pd EINA_UNUSED)
+{
+ return _elm_button_part_text_get(obj, pd, NULL);
+}
+
+EOLIAN void _elm_button_text_set(Eo* obj, Elm_Button_Data* pd EINA_UNUSED, const char* text)
+{
+ return _elm_button_part_text_set(obj, pd, NULL, text);
+}
+
static void
_elm_button_class_constructor(Eo_Class *klass)
{
}
}
}
+ methods {
+ part_text_set {
+ /**
+ * Set a text of an object
+ *
+ * @param obj The Elementary object
+ * @param part The text part name to set (NULL for the default part)
+ * @param text The new text of the part
+ *
+ * @note Elementary objects may have many text parts (e.g. Action Slider)
+ *
+ * @ingroup General
+ */
+ params {
+ @in const(char)* part;
+ @in const(char)* text;
+ }
+ }
+ part_text_get {
+ /**
+ * Get a text of an object
+ *
+ * @param obj The Elementary object
+ * @param part The text part name to get (NULL for the default part)
+ * @return text of the part or NULL for any error
+ *
+ * @note Elementary objects may have many text parts (e.g. Action Slider)
+ *
+ * @ingroup General
+ */
+ params {
+ @in const(char)* part;
+ }
+ return const(char)*;
+ }
+ text_set {
+ /**
+ * Set a text of an object
+ *
+ * @param obj The Elementary object
+ * @param part The text part name to set (NULL for the default part)
+ * @param text The new text of the part
+ *
+ * @note Elementary objects may have many text parts (e.g. Action Slider)
+ *
+ * @ingroup General
+ */
+ params {
+ @in const(char)* text;
+ }
+ }
+ text_get {
+ /**
+ * Get a text of an object
+ *
+ * @param obj The Elementary object
+ * @param part The text part name to get (NULL for the default part)
+ * @return text of the part or NULL for any error
+ *
+ * @note Elementary objects may have many text parts (e.g. Action Slider)
+ *
+ * @ingroup General
+ */
+ return const(char)*;
+ }
+ }
implements {
class.constructor;
Eo.Base.constructor;