From 9057f42453e2db4f5491607bf11736cb20991bcc Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Tue, 24 Feb 2015 09:30:09 +0900 Subject: [PATCH] evas: Add more notes about size_hint APIs. Stop asking why size hint may or may not work on elementary widget. --- src/lib/evas/canvas/evas_object.eo | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/lib/evas/canvas/evas_object.eo b/src/lib/evas/canvas/evas_object.eo index 27472c5245..afbaa27d5e 100644 --- a/src/lib/evas/canvas/evas_object.eo +++ b/src/lib/evas/canvas/evas_object.eo @@ -14,6 +14,9 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface) Values @c -1 will be treated as unset hint components, when queried by managers. + @note Smart objects(such as elementary) can have their own size hint + policy. So calling this API may or may not affect the size of smart objects. + Example: @dontinclude evas-hints.c @skip evas_object_size_hint_max_set @@ -54,6 +57,9 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface) Values @c 0 will be treated as unset hint components, when queried by managers. + @note Smart objects(such as elementary) can have their own size hint + policy. So calling this API may or may not affect the size of smart objects. + @see evas_object_size_hint_request_get() */ } get { @@ -135,6 +141,9 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface) Values @c 0 will be treated as unset hint components, when queried by managers. + @note Smart objects(such as elementary) can have their own size hint + policy. So calling this API may or may not affect the size of smart objects. + Example: @dontinclude evas-hints.c @skip evas_object_size_hint_min_set @@ -327,6 +336,9 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface) the object's container will ignore the aspect and scale @p obj to occupy the whole available area, for any given policy. + @note Smart objects(such as elementary) can have their own size hint + policy. So calling this API may or may not affect the size of smart objects. + @see evas_object_size_hint_aspect_get() for more information. */ } get { @@ -499,6 +511,9 @@ abstract Evas.Object (Eo.Base, Evas.Common_Interface) This is not a size enforcement in any way, it's just a hint that should be used whenever appropriate. + @note Smart objects(such as elementary) can have their own size hint + policy. So calling this API may or may not affect the size of smart objects. + @see evas_object_size_hint_padding_get() for more information */ } get {