Description

Keys

  • text_class - The text class name

Values

  • font - Font name
  • size - Font Size

Getter

Get font and font size from edje text class.

This function gets the font and the font size from text class. The font string will only be valid until the text class is changed or the edje object is deleted.

Setter

Set Edje text class.

This function sets the text class for the Edje.

Overridden from Efl.Gfx.Text_Class.text_class (get, set).

Signature

@property text_class @pure_virtual {
    get {
        keys {
            text_class: free(string, free);
        }
        values {
            font: free(string, free);
            size: Efl.Font.Size;
        }
        return: bool;
    }
    set {
        keys {
            text_class: free(string, free);
        }
        values {
            font: free(string, free);
            size: Efl.Font.Size;
        }
        return: bool;
    }
}

C signature

Eina_Bool efl_gfx_text_class_get(const Eo *obj, const char *text_class, const char **font, Efl_Font_Size *size);
Eina_Bool efl_gfx_text_class_set(Eo *obj, const char *text_class, const char *font, Efl_Font_Size size);

Implemented by