1 /** 2 * @defgroup Elm_Thumb Thumbnail 3 * @ingroup Elementary 4 * 5 * @image html thumb_inheritance_tree.png 6 * @image latex thumb_inheritance_tree.eps 7 * 8 * @image html img/widget/thumb/preview-00.png 9 * @image latex img/widget/thumb/preview-00.eps 10 * 11 * A thumbnail object is used for displaying the thumbnail of an image 12 * or video. You must have compiled Elementary with @c Ethumb_Client 13 * support. Also, Ethumb's DBus service must be present and 14 * auto-activated in order to have thumbnails generated. You must also 15 * have a @b session bus, not a @b system one. 16 * 17 * Once the thumbnail object becomes visible, it will check if there 18 * is a previously generated thumbnail image for the file set on 19 * it. If not, it will start generating this thumbnail. 20 * 21 * Different configuration settings will cause different thumbnails to 22 * be generated even on the same file. 23 * 24 * Generated thumbnails are stored under @c $HOME/.thumbnails/. Check 25 * Ethumb's documentation to change this path, and to see other 26 * configuration options. 27 * 28 * If you set formatting features such as, aspect, size, format, 29 * orientation, crop, compression, or quality after the thumbnail 30 * has been shown, it needs to be reloaded with elm_thumb_reload. 31 * 32 * This widget emits the following signals: 33 * - @c "clicked" - This is called when a user has clicked the 34 * thumbnail object without dragging it around. 35 * - @c "clicked,double" - This is called when a user has double-clicked 36 * the thumbnail object. 37 * - @c "press" - This is called when a user has pressed down over the 38 * thumbnail object. 39 * - @c "generate,start" - The thumbnail generation has started. 40 * - @c "generate,stop" - The generation process has stopped. 41 * - @c "generate,error" - The thumbnail generation failed. 42 * - @c "load,error" - The thumbnail image loading failed. 43 * 44 * Available styles: 45 * - @c "default" 46 * - @c "noframe" 47 * 48 * An example of use of thumbnail: 49 * 50 * - @ref thumb_example_01 51 */ 52 53 /** 54 * @addtogroup Elm_Thumb 55 * @{ 56 */ 57 58 #include "elm_thumb_common.h" 59 #ifndef EFL_NOLEGACY_API_SUPPORT 60 #include "elm_thumb_legacy.h" 61 #endif 62 /** 63 * @} 64 */ 65