Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The Elementary is a general elementary, a VERY SIMPLE toolkit.
public static class Elementary : object
- Inheritance
-
Properties
View Source
AppBaseScale
Gets or sets the base scale of the application.
Declaration
public static double AppBaseScale { get; set; }
Property Value
API Level: preview
View Source
Gets or sets the amount of inertia, a scroller imposes during a region to bring animations.
Declaration
public static double BringInScrollFriction { get; set; }
Property Value
API Level: preview
View Source
CanFocusHighlight
Gets or sets the enable status of the focus highlight.
Declaration
public static bool CanFocusHighlight { get; set; }
Property Value
API Level: preview
View Source
FingerSize
Gets or sets the configured finger size.
Declaration
public static int FingerSize { get; set; }
Property Value
API Level: preview
Declaration
public static FocusAutoScrollMode FocusAutoScrollMode { get; set; }
Property Value
API Level: preview
View Source
IsFocusHighlightAnimation
Gets or sets the enable status of the focus highlight animation.
Declaration
public static bool IsFocusHighlightAnimation { get; set; }
Property Value
API Level: preview
View Source
IsMirrored
Gets or sets the system mirrored mode.
This determines the default mirrored mode of widgets.
Declaration
public static bool IsMirrored { get; set; }
Property Value
API Level: preview
View Source
Scale
Gets or sets the global scaling factor.
Declaration
public static double Scale { get; set; }
Property Value
API Level: preview
Methods
View Source
AddThemeOverlay(String)
Prepends a theme overlay to the list of overlays.
Declaration
public static void AddThemeOverlay(string filePath)
Parameters
Type |
Name |
Description |
String |
filePath |
The edje file path to be used.
|
API Level: preview
View Source
DeleteThemeExtention(String)
Deletes a theme extension from the list of extensions.
Declaration
public static void DeleteThemeExtention(string item)
Parameters
Type |
Name |
Description |
String |
item |
The name of the theme extension.
|
API Level: preview
View Source
DeleteThemeOverlay(String)
Deletes a theme overlay from the list of overlays.
Declaration
public static void DeleteThemeOverlay(string filePath)
Parameters
Type |
Name |
Description |
String |
filePath |
The name of the theme overlay.
|
API Level: preview
View Source
FlushAllCache()
Flushes all the cache.
Frees all data that was in cache and is not currently being used, to reduce memory usage. This frees Edje's, Evas', and Eet's cache.
Declaration
public static void FlushAllCache()
API Level: preview
Declaration
public static void FlushAllCashe()
View Source
FlushAllConfig()
Flushes all the configuration settings, and then applies those settings to all applications using elementary on the current display.
Declaration
public static void FlushAllConfig()
API Level: preview
View Source
FlushAllThemes()
This flushes all the themes (default and specific ones).
Declaration
public static void FlushAllThemes()
API Level: preview
Declaration
public static void FlushTheme()
API Level: preview
Declaration
public static void FreeTheme()
API Level: preview
View Source
GetProfile()
Gets the elementary's profile in use.
Declaration
public static string GetProfile()
Returns
API Level: preview
Declaration
public static double GetScale()
Returns
API Level: preview
View Source
Gets the amount of inertia that a scroller imposes during region to bring animations.
Declaration
public static double GetSystemScrollFriction()
Returns
API Level: preview
Declaration
public static void Initialize()
API Level: preview
View Source
ReloadConfig()
Reloads the elementary's configuration, bounded to the current selected profile.
Declaration
public static void ReloadConfig()
API Level: preview
Declaration
API Level: preview
View Source
SetLanguage(String)
Changes the language of the current application.
Declaration
public static void SetLanguage(string language)
Parameters
Type |
Name |
Description |
String |
language |
The language to set must be the full name of the locale.
|
API Level: preview
View Source
SetPolicy(UInt32, Int32)
Sets a new policy's value (for a given policy group/identifier).
Declaration
public static bool SetPolicy(uint policy, int value)
Parameters
Type |
Name |
Description |
UInt32 |
policy |
The policy identifier.
|
Int32 |
value |
The policy value, which depends on the identifier.
|
Returns
API Level: preview
View Source
SetScale(Double)
Sets the global scaling factor.
Declaration
public static void SetScale(double scale)
Parameters
Type |
Name |
Description |
Double |
scale |
|
API Level: preview
View Source
Sets the amount of inertia that a scroller imposes during the region bring animations.
Declaration
public static void SetSystemScrollFriction(double timeSet)
Parameters
Type |
Name |
Description |
Double |
timeSet |
|
API Level: preview
View Source
SetTheme(String)
Sets the theme search order for the given theme.
Declaration
public static void SetTheme(string theme)
Parameters
Type |
Name |
Description |
String |
theme |
Theme search string.
|
API Level: preview
Declaration
public static void Shutdown()
API Level: preview
View Source
ThemeOverlay()
Prepends a theme overlay to the list of overlays.
Declaration
public static void ThemeOverlay()
API Level: preview
Events
View Source
EvasObjectRealized
EvasObjectRealized will be triggered when the EvasObject is realized.
Declaration
public static event EventHandler EvasObjectRealized
Event Type
Type |
Description |
EventHandler |
|
API Level: preview
View Source
ItemObjectRealized
ItemObjectRealized will be triggered when the ItemObject is realized.
Declaration
public static event EventHandler ItemObjectRealized
Event Type
Type |
Description |
EventHandler |
|
API Level: preview