Description

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 Efl.Gfx.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...

Values

  • v - true if to make the object visible, false otherwise

Getter

Retrieves whether or not the given canvas object is visible.

Setter

Shows or hides this object.

Signature

@property visible @pure_virtual {
    get {
        values {
            v: bool;
        }
    }
    set {
        values {
            v: bool;
        }
    }
}

C signature

Eina_Bool efl_gfx_visible_get(const Eo *obj);
void efl_gfx_visible_set(Eo *obj, Eina_Bool v);

Implemented by

  • Efl.Gfx.visible