A thumbnail object is used for displaying the thumbnail of an image
or video. You must have compiled Elementary with Ethumb_Client
support. Also, Ethumb’s DBus service must be present and
auto-activated in order to have thumbnails generated. You must also
have a session bus, not a system one.
Once the thumbnail object becomes visible, it will check if there is a previously generated thumbnail image for the file set on it. If not, it will start generating this thumbnail.
Different configuration settings will cause different thumbnails to be generated even on the same file.
Generated thumbnails are stored under $HOME/.thumbnails/. Check
Ethumb’s documentation to change this path, and to see other
configuration options.
clicked - This is called when a user has clicked the
thumbnail object without dragging it around.
clicked,double - This is called when a user has double-clicked
the thumbnail object.
press - This is called when a user has pressed down over the
thumbnail object.
generate,start - The thumbnail generation has started.
generate,stop - The generation process has stopped.
generate,error - The thumbnail generation failed.
load,error - The thumbnail image loading failed.
default
noframe
Play animation once
Keep playing animation until stop is requested
Stop playing the animation
128x128 as defined by FreeDesktop.Org standard
256x256 as defined by FreeDesktop.Org standard
PNG as defined by FreeDesktop.Org standard
JPEGs are often smaller and faster to read/write
EFL’s own storage system, supports key parameter
keep original proportion between width and height
ignore aspect and foce it to match thumbnail’s width and height
keep aspect but crop (cut) the largest dimension
keep orientation as pixel data is
rotate 90° clockwise
rotate 180°
rotate 90° counter-clockwise
flip horizontally
flip vertically
transpose
transverse
use orientation from metadata (EXIF-only currently)
parent (efl.evas.Object) – The parent object
**kwargs – All the remaining keyword arguments are interpreted as properties of the instance