Efl.Ui.Layout_Base.theme

Description

The theme of this widget, defines which edje group will be used.

Based on the type of widget (klass), a given group and a style (usually "default"), the edje group name will be formed for this object.

Widgets that inherit from this class will call this function automatically so it should not be called by applications, unless you are dealing directly with a Efl.Ui.Layout object.

Note that style will be the new style of this object, as retrieved by Efl.Ui.Widget.style. As a consequence this function can only be called during construction of the object, before finalize.

If this returns false the widget is very likely to become non-functioning.

Since 1.22

Values

  • klass - The class of the group, eg. "button".
  • group - The group, eg. "base".
  • style - The style to use, eg "default".

Signature

@property theme {
    get {}
    set {
        return: Eina.Error;
    }
    values {
        klass: string;
        group: string ("base");
        style: string ("default");
    }
}

C signature

void efl_ui_layout_theme_get(const Eo *obj, const char **klass, const char **group, const char **style);
Eina_Error efl_ui_layout_theme_set(Eo *obj, const char *klass, const char *group, const char *style);

Implemented by