jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=994d32f2a8338654e3e985ef5cecdebbcd7b8e62

commit 994d32f2a8338654e3e985ef5cecdebbcd7b8e62
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Mon Sep 18 13:55:59 2017 +0900

    gfx: Add comment about visibility
---
 src/lib/efl/interfaces/efl_gfx.eo | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/lib/efl/interfaces/efl_gfx.eo 
b/src/lib/efl/interfaces/efl_gfx.eo
index fe8ea35a1c..6daca53eff 100644
--- a/src/lib/efl/interfaces/efl_gfx.eo
+++ b/src/lib/efl/interfaces/efl_gfx.eo
@@ -90,11 +90,26 @@ interface Efl.Gfx {
          }
       }
       @property visible {
+         [[The visibility of a canvas object.
+
+           All canvas objects will become visible by default just before
+           render. This means that it is not required to call @.visible.set
+           after creating an object unless you want to create it without
+           showing it. Note that this behavior is new since 1.21, and only
+           applies to canvas objects created with the EO API (i.e. not the
+           legacy C-only API). Other types of Gfx objects may or may not be
+           visible by default.
+
+           Note that many other parameters can prevent a visible object from
+           actually being "visible" on screen. For instance if its color
+           is fully transparent, or its parent is hidden, or it is clipped out,
+           etc...
+         ]]
          set {
-            [[Makes the given Evas object visible or invisible.]]
+            [[Shows or hides this object.]]
          }
          get {
-            [[Retrieves whether or not the given Evas object is visible.]]
+            [[Retrieves whether or not the given canvas object is visible.]]
          }
          values {
             v: bool; [[$true if to make the object visible, $false otherwise]]

-- 


Reply via email to