Description

The widget style to use.

Styles define different look and feel for widgets, and may provide different parts for layout-based widgets. Styles vary from widget to widget and may be defined by other themes by means of extensions and overlays.

The style can only be set before Efl.Object.finalize, which means at construction time of the object (inside efl_add in C).

Values

  • style - Name of the style to use. Refer to each widget's documentation for the available style names, or to the themes in use.

Getter

Returns the current style of a widget.

Setter

Can only be called during construction, before finalize.

Signature

@property style {
    get {
        values {
            style: free(string, free);
        }
    }
    set @protected {
        values {
            style: free(string, free);
        }
        return: Efl.Ui.Theme.Apply (0);
    }
}

C signature

const char *efl_ui_widget_style_get(const Eo *obj);
Efl_Ui_Theme_Apply efl_ui_widget_style_set(Eo *obj, const char *style);

Implemented by

  • Efl.Ui.Widget.style