From: Jean-Philippe Andre Date: Mon, 18 Sep 2017 04:55:59 +0000 (+0900) Subject: gfx: Add comment about visibility X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~2621 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=994d32f2a8338654e3e985ef5cecdebbcd7b8e62;p=platform%2Fupstream%2Fefl.git gfx: Add comment about visibility --- diff --git a/src/lib/efl/interfaces/efl_gfx.eo b/src/lib/efl/interfaces/efl_gfx.eo index fe8ea35..6daca53 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]]