forked from enlightenment/efl
button: Implement Efl.Content set/get/unset
This fixes make check (cxx compilation).
This commit is contained in:
parent
fb5a0eee58
commit
1c200331f1
|
@ -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_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_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 */
|
/* Efl.Part begin */
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,13 @@
|
||||||
class Efl.Ui.Button (Efl.Ui.Layout, Efl.Ui.Clickable, Efl.Ui.Autorepeat,
|
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)
|
Efl.Access.Widget.Action, Efl.Ui.Translatable)
|
||||||
{
|
{
|
||||||
[[Push-button widget
|
[[Push-button widget
|
||||||
|
|
||||||
Press it and run some function. It can contain a simple label and icon object
|
Press it and run some function. It can contain a simple label and icon
|
||||||
and it also has an autorepeat feature.
|
object and it also has an autorepeat feature.
|
||||||
]]
|
]]
|
||||||
legacy_prefix: elm_button;
|
legacy_prefix: elm_button;
|
||||||
methods {
|
|
||||||
}
|
|
||||||
implements {
|
implements {
|
||||||
class.constructor;
|
class.constructor;
|
||||||
Efl.Object.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;
|
Elm.Widget.widget_event;
|
||||||
Efl.Access.Widget.Action.elm_actions { get; }
|
Efl.Access.Widget.Action.elm_actions { get; }
|
||||||
Efl.Part.part;
|
Efl.Part.part;
|
||||||
|
Efl.Content.content { get; set; }
|
||||||
|
Efl.Content.content_unset;
|
||||||
Efl.Text.text { get; set; }
|
Efl.Text.text { get; set; }
|
||||||
Efl.Ui.Translatable.translatable_text { get; set; }
|
Efl.Ui.Translatable.translatable_text { get; set; }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue