Efl.Gfx.Size.Hint (interface)

Description

Efl graphics size hint interface

Members

hint_align (get, set)

Hints for an object's alignment.
void efl_gfx_size_hint_align_get(const Eo *obj, double *x, double *y);
void efl_gfx_size_hint_align_set(Eo *obj, double x, double y);


hint_aspect (get, set)

Defines the aspect ratio to respect when scaling this object.
void efl_gfx_size_hint_aspect_get(const Eo *obj, Efl_Gfx_Size_Hint_Aspect *mode, Eina_Size2D *sz);
void efl_gfx_size_hint_aspect_set(Eo *obj, Efl_Gfx_Size_Hint_Aspect mode, Eina_Size2D sz);


hint_base (get, set)

Base size for objects with sizing restrictions.
Eina_Size2D efl_gfx_size_hint_base_get(const Eo *obj);
void efl_gfx_size_hint_base_set(Eo *obj, Eina_Size2D sz);


hint_combined_min (get)

Read-only minimum size combining both Efl.Gfx.Size.Hint.hint_restricted_min and Efl.Gfx.Size.Hint.hint_min size hints.
Eina_Size2D efl_gfx_size_hint_combined_min_get(const Eo *obj);


hint_margin (get, set)

Hints for an object's margin or padding space.
void efl_gfx_size_hint_margin_get(const Eo *obj, int *l, int *r, int *t, int *b);
void efl_gfx_size_hint_margin_set(Eo *obj, int l, int r, int t, int b);


hint_max (get, set)

Hints on the object's maximum size.
Eina_Size2D efl_gfx_size_hint_max_get(const Eo *obj);
void efl_gfx_size_hint_max_set(Eo *obj, Eina_Size2D sz);


hint_min (get, set)

Hints on the object's minimum size.
Eina_Size2D efl_gfx_size_hint_min_get(const Eo *obj);
void efl_gfx_size_hint_min_set(Eo *obj, Eina_Size2D sz);


hint_restricted_min (get, set) protected set

Internal hints for an object's minimum size.
Eina_Size2D efl_gfx_size_hint_restricted_min_get(const Eo *obj);
void efl_gfx_size_hint_restricted_min_set(Eo *obj, Eina_Size2D sz);


hint_step (get, set)

Step size for objects with sizing restrictions.
Eina_Size2D efl_gfx_size_hint_step_get(const Eo *obj);
void efl_gfx_size_hint_step_set(Eo *obj, Eina_Size2D sz);


hint_weight (get, set)

Hints for an object's weight.
void efl_gfx_size_hint_weight_get(const Eo *obj, double *x, double *y);
void efl_gfx_size_hint_weight_set(Eo *obj, double x, double y);


Events

change,size,hints

Object size hints changed.
EFL_GFX_EVENT_CHANGE_SIZE_HINTS(void)