1class @beta Efl.Ui.Theme extends Efl.Object 2{ 3 [[Efl Ui Theme class]] 4 c_prefix: efl_ui_theme; 5 data: Efl_Ui_Theme_Data; 6 methods { 7 @property default @static { 8 [[This is the default theme. 9 10 All widgets use the default theme implicitly unless a specific theme 11 is set. 12 ]] 13 get { 14 } 15 values { 16 theme: Efl.Ui.Theme; [[The default theme handle]] 17 } 18 } 19 extension_add { 20 [[Appends a theme extension to the list of extensions. 21 This is intended when an application needs more styles of widgets or new 22 widget themes that the default does not provide (or may not provide). The 23 application has "extended" usage by coming up with new custom style names 24 for widgets for specific uses, but as these are not "standard", they are 25 not guaranteed to be provided by a default theme. This means the 26 application is required to provide these extra elements itself in specific 27 Edje files. This call adds one of those Edje files to the theme search 28 path to be searched after the default theme. The use of this call is 29 encouraged when default styles do not meet the needs of the application. 30 Use this call instead of @.overlay_add for almost all cases. 31 ]] 32 params { 33 item: string; [[The Edje file path to be used]] 34 } 35 } 36 extension_del { 37 [[Deletes a theme extension from the list of extensions. 38 ]] 39 params { 40 item: string; [[The Edje file path not to be used]] 41 } 42 } 43 overlay_add { 44 [[Prepends a theme overlay to the list of overlays. 45 Use this if your application needs to provide some custom overlay theme 46 (An Edje file that replaces some default styles of widgets) where adding 47 new styles, or changing system theme configuration is not possible. Do 48 NOT use this instead of a proper system theme configuration. Use proper 49 configuration files, profiles, environment variables etc. to set a theme 50 so that the theme can be altered by simple configuration by a user. Using 51 this call to achieve that effect is abusing the API and will create lots 52 of trouble. 53 ]] 54 params { 55 item: string; [[The Edje file path to be used]] 56 } 57 } 58 overlay_del { 59 [[Delete a theme overlay from the list of overlays. 60 ]] 61 params { 62 item: string; [[The Edje file path not to be used]] 63 } 64 } 65 } 66 implements { 67 Efl.Object.constructor; 68 Efl.Object.destructor; 69 } 70} 71