Description

Values

  • code - The Lua program source code.
  • name - An optional name for this filter.

Getter

Gets the code of the filter program set on this object. May be null.

Since 1.18

Setter

Set a graphical filter program on this object.

Valid for Text and Image objects at the moment.

The argument passed to this function is a string containing a valid Lua program based on the filters API as described in the "EFL Graphics Filters" reference page.

Set to null to disable filtering.

Since 1.18

Signature

@property filter_program @pure_virtual {
    get {
        values {
            code: free(string, free);
            name: free(string, free) @optional;
        }
    }
    set {
        values {
            code: free(string, free);
            name: free(string, free) @optional;
        }
    }
}

C signature

void efl_gfx_filter_program_get(const Eo *obj, const char **code, const char **name);
void efl_gfx_filter_program_set(Eo *obj, const char *code, const char *name);

Implemented by

  • Efl.Gfx.Filter.filter_program