Generic Object Size Hints Functions
Functions that deals with hints about object size. More...
Functions | |
EAPI void | evas_object_size_hint_min_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size hint for the minimum size. | |
EAPI void | evas_object_size_hint_min_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Sets the size hint for the minimum size. | |
EAPI void | evas_object_size_hint_max_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size hint for the maximum size. | |
EAPI void | evas_object_size_hint_max_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Sets the size hint for the maximum size. | |
EAPI void | evas_object_size_hint_request_get (const Evas_Object *obj, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size request hint. | |
EAPI void | evas_object_size_hint_request_set (Evas_Object *obj, Evas_Coord w, Evas_Coord h) |
Sets the requested size hint. | |
EAPI void | evas_object_size_hint_aspect_get (const Evas_Object *obj, Evas_Aspect_Control *aspect, Evas_Coord *w, Evas_Coord *h) |
Retrieves the size aspect control hint. | |
EAPI void | evas_object_size_hint_aspect_set (Evas_Object *obj, Evas_Aspect_Control aspect, Evas_Coord w, Evas_Coord h) |
Sets the size aspect control hint. |
Detailed Description
Functions that deals with hints about object size.Function Documentation
EAPI void evas_object_size_hint_aspect_get | ( | const Evas_Object * | obj, | |
Evas_Aspect_Control * | aspect, | |||
Evas_Coord * | w, | |||
Evas_Coord * | h | |||
) |
Retrieves the size aspect control hint.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Note that if any of aspect
, w
or h
are NULL
, the NULL
parameters are ignored.
- Parameters:
-
obj The given evas object. aspect Returns the hint on how size should be calculated. w Pointer to an integer in which to store the aspect width. h Pointer to an integer in which to store the aspect height.
EAPI void evas_object_size_hint_aspect_set | ( | Evas_Object * | obj, | |
Evas_Aspect_Control | aspect, | |||
Evas_Coord | w, | |||
Evas_Coord | h | |||
) |
Sets the size aspect control hint.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
- Parameters:
-
obj The given evas object. aspect Hint on how to calculate size. w Integer to use as aspect width hint. h Integer to use as aspect height hint.
EAPI void evas_object_size_hint_max_get | ( | const Evas_Object * | obj, | |
Evas_Coord * | w, | |||
Evas_Coord * | h | |||
) |
Retrieves the size hint for the maximum size.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Note that if any of w
or h
are NULL
, the NULL
parameters are ignored.
- Parameters:
-
obj The given evas object. w Pointer to an integer in which to store the maximum width. h Pointer to an integer in which to store the maximum height.
EAPI void evas_object_size_hint_max_set | ( | Evas_Object * | obj, | |
Evas_Coord | w, | |||
Evas_Coord | h | |||
) |
Sets the size hint for the maximum size.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
- Parameters:
-
obj The given evas object. w Integer to use as the maximum width hint. h Integer to use as the maximum height hint.
EAPI void evas_object_size_hint_min_get | ( | const Evas_Object * | obj, | |
Evas_Coord * | w, | |||
Evas_Coord * | h | |||
) |
Retrieves the size hint for the minimum size.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Note that if any of w
or h
are NULL
, the NULL
parameters are ignored.
- Parameters:
-
obj The given evas object. w Pointer to an integer in which to store the minimum width. h Pointer to an integer in which to store the minimum height.
EAPI void evas_object_size_hint_min_set | ( | Evas_Object * | obj, | |
Evas_Coord | w, | |||
Evas_Coord | h | |||
) |
Sets the size hint for the minimum size.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
- Parameters:
-
obj The given evas object. w Integer to use as the minimum width hint. h Integer to use as the minimum height hint.
EAPI void evas_object_size_hint_request_get | ( | const Evas_Object * | obj, | |
Evas_Coord * | w, | |||
Evas_Coord * | h | |||
) |
Retrieves the size request hint.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
Note that if any of w
or h
are NULL
, the NULL
parameters are ignored.
- Parameters:
-
obj The given evas object. w Pointer to an integer in which to store the requested width. h Pointer to an integer in which to store the requested height.
EAPI void evas_object_size_hint_request_set | ( | Evas_Object * | obj, | |
Evas_Coord | w, | |||
Evas_Coord | h | |||
) |
Sets the requested size hint.
This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate.
- Parameters:
-
obj The given evas object. w Integer to use as the preferred width hint. h Integer to use as the preferred height hint.