Description

Keys

  • color_class - The name of color class
  • layer - The layer to set the color

Values

  • colorcode - the hex color code.

Getter

Get hex color class code of given Evas Object. This returns a short lived hex color class code string.

Setter

Set the color class color of given Evas Object to the given hex color code(#RRGGBBAA). e.g. efl_gfx_color_class_code_set(obj, "color_class_name", layer, "#FFCCAACC");

Signature

@property color_class_code {
    get {
        keys {
            color_class: free(string, free);
            layer: Efl.Gfx.Color_Class.Layer @optional;
        }
        values {
            colorcode: free(string, free);
        }
    }
    set {
        keys {
            color_class: free(string, free);
            layer: Efl.Gfx.Color_Class.Layer @optional;
        }
        values {
            colorcode: free(string, free);
        }
    }
}

C signature

const char *efl_gfx_color_class_code_get(const Eo *obj, const char *color_class, Efl_Gfx_Color_Class_Layer layer);
void efl_gfx_color_class_code_set(Eo *obj, const char *color_class, Efl_Gfx_Color_Class_Layer layer, const char *colorcode);

Implemented by

  • Efl.Gfx.Color.color_class_code