Description

Values

  • file - The image file path.
  • key - The image key in file (if its an Eet one), or null, otherwise.

Getter

Retrieve the source file from where an image object is to fetch the real image data (it may be an Eet file, besides pure image ones).

You must not modify the strings on the returned pointers.

Use null pointers on the file components you're not interested in: they'll be ignored by the function.

Setter

Set the source file from where an image object must fetch the real image data (it may be an Eet file, besides pure image ones).

If the file supports multiple data stored in it (as Eet files do), you can specify the key to be used as the index of the image in this file.

Overridden from Efl.File.file (get, set).

Signature

@property file {
    get {
        values {
            file: free(string, free);
            key: free(string, free);
        }
    }
    set {
        values {
            file: free(string, free);
            key: free(string, free);
        }
        return: bool;
    }
}

C signature

void efl_file_get(const Eo *obj, const char **file, const char **key);
Eina_Bool efl_file_set(Eo *obj, const char *file, const char *key);

Implemented by