button: Implement Efl.Content set/get/unset

This fixes make check (cxx compilation).
This commit is contained in:
Jean-Philippe Andre 2017-11-20 20:22:48 +09:00
parent fb5a0eee58
commit 1c200331f1
2 changed files with 7 additions and 5 deletions

View File

@ -409,6 +409,8 @@ _efl_ui_button_class_constructor(Efl_Class *klass)
ELM_WIDGET_KEY_DOWN_DEFAULT_IMPLEMENT(efl_ui_button, Efl_Ui_Button_Data)
ELM_PART_TEXT_DEFAULT_IMPLEMENT(efl_ui_button, Efl_Ui_Button_Data)
ELM_PART_CONTENT_DEFAULT_SET(efl_ui_button, _content_aliases[0].real_part)
ELM_PART_CONTENT_DEFAULT_IMPLEMENT(efl_ui_button, Efl_Ui_Button_Data)
/* Efl.Part begin */

View File

@ -1,15 +1,13 @@
class Efl.Ui.Button (Efl.Ui.Layout, Efl.Ui.Clickable, Efl.Ui.Autorepeat,
Efl.Text, Efl.Text.Markup,
Efl.Text, Efl.Text.Markup, Efl.Content,
Efl.Access.Widget.Action, Efl.Ui.Translatable)
{
[[Push-button widget
Press it and run some function. It can contain a simple label and icon object
and it also has an autorepeat feature.
Press it and run some function. It can contain a simple label and icon
object and it also has an autorepeat feature.
]]
legacy_prefix: elm_button;
methods {
}
implements {
class.constructor;
Efl.Object.constructor;
@ -23,6 +21,8 @@ class Efl.Ui.Button (Efl.Ui.Layout, Efl.Ui.Clickable, Efl.Ui.Autorepeat,
Elm.Widget.widget_event;
Efl.Access.Widget.Action.elm_actions { get; }
Efl.Part.part;
Efl.Content.content { get; set; }
Efl.Content.content_unset;
Efl.Text.text { get; set; }
Efl.Ui.Translatable.translatable_text { get; set; }
}