Description

Keys

  • size_class - The name of size class

Values

  • minw - minimum width
  • minh - minimum height
  • maxw - maximum width
  • maxh - maximum height

Getter

Get width and height of size class.

This function gets width and height for a size class. These values will only be valid until the size class is changed or the edje object is deleted.

Since 1.17

Setter

Set width and height of size class.

This function sets width and height for a size class. This will make all edje parts in the specified object that have the specified size class update their size with given values.

Since 1.17

Overridden from Efl.Gfx.Size_Class.size_class (get, set).

Signature

@property size_class @pure_virtual {
    get {
        keys {
            size_class: free(string, free);
        }
        values {
            minw: int;
            minh: int;
            maxw: int;
            maxh: int;
        }
        return: bool;
    }
    set {
        keys {
            size_class: free(string, free);
        }
        values {
            minw: int;
            minh: int;
            maxw: int;
            maxh: int;
        }
        return: bool;
    }
}

C signature

Eina_Bool efl_gfx_size_class_get(const Eo *obj, const char *size_class, int *minw, int *minh, int *maxw, int *maxh);
Eina_Bool efl_gfx_size_class_set(Eo *obj, const char *size_class, int minw, int minh, int maxw, int maxh);

Implemented by