2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @defgroup Elm_Thumb Thumbnail
|
2012-04-16 18:35:46 -07:00
|
|
|
* @ingroup Elementary
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
2012-06-05 15:41:21 -07:00
|
|
|
* @image html thumb_inheritance_tree.png
|
|
|
|
* @image latex thumb_inheritance_tree.eps
|
|
|
|
*
|
2011-12-29 23:20:48 -08:00
|
|
|
* @image html img/widget/thumb/preview-00.png
|
|
|
|
* @image latex img/widget/thumb/preview-00.eps
|
|
|
|
*
|
2012-05-16 10:20:42 -07:00
|
|
|
* A thumbnail object is used for displaying the thumbnail of an image
|
|
|
|
* or video. You must have compiled Elementary with @c 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 @b session bus, not a @b 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 @c $HOME/.thumbnails/. Check
|
|
|
|
* Ethumb's documentation to change this path, and to see other
|
|
|
|
* configuration options.
|
|
|
|
*
|
2013-08-11 21:19:32 -07:00
|
|
|
* If you set formatting features such as, aspect, size, format,
|
|
|
|
* orientation, crop, compression, or quality after the thumbnail
|
|
|
|
* has been shown, it needs to be reloaded with elm_thumb_reload.
|
|
|
|
*
|
2012-05-16 12:04:10 -07:00
|
|
|
* This widget emits the following signals:
|
2012-05-16 10:20:42 -07:00
|
|
|
* - @c "clicked" - This is called when a user has clicked the
|
|
|
|
* thumbnail object without dragging it around.
|
|
|
|
* - @c "clicked,double" - This is called when a user has double-clicked
|
|
|
|
* the thumbnail object.
|
|
|
|
* - @c "press" - This is called when a user has pressed down over the
|
|
|
|
* thumbnail object.
|
|
|
|
* - @c "generate,start" - The thumbnail generation has started.
|
|
|
|
* - @c "generate,stop" - The generation process has stopped.
|
|
|
|
* - @c "generate,error" - The thumbnail generation failed.
|
|
|
|
* - @c "load,error" - The thumbnail image loading failed.
|
|
|
|
*
|
|
|
|
* Available styles:
|
|
|
|
* - @c "default"
|
|
|
|
* - @c "noframe"
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* An example of use of thumbnail:
|
|
|
|
*
|
|
|
|
* - @ref thumb_example_01
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2016-03-16 08:05:31 -07:00
|
|
|
* @addtogroup Elm_Thumb
|
2011-12-29 23:20:48 -08:00
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
#include "elm_thumb_common.h"
|
|
|
|
#ifndef EFL_NOLEGACY_API_SUPPORT
|
|
|
|
#include "elm_thumb_legacy.h"
|
|
|
|
#endif
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|