Class Elementary
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The Elementary is a general elementary, a VERY SIMPLE toolkit.
C#Copypublic static class Elementary
- Inheritance
-
System.ObjectElementary
Properties
Declaration
C#Copypublic static double AppBaseScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: preview
BringInScrollFriction
Gets or sets the amount of inertia, a scroller imposes during a region to bring animations.
Declaration
C#Copypublic static double BringInScrollFriction { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: preview
Declaration
C#Copypublic static bool CanFocusHighlight { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
Declaration
C#Copypublic static int FingerSize { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
API Level: preview
Declaration
C#Copypublic static FocusAutoScrollMode FocusAutoScrollMode { get; set; }
Property Value
Type | Description |
---|---|
FocusAutoScrollMode |
API Level: preview
IsFocusHighlightAnimation
Gets or sets the enable status of the focus highlight animation.
Declaration
C#Copypublic static bool IsFocusHighlightAnimation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
IsMirrored
Gets or sets the system mirrored mode. This determines the default mirrored mode of widgets.
Declaration
C#Copypublic static bool IsMirrored { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
API Level: preview
Declaration
C#Copypublic static double Scale { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
API Level: preview
Methods
Declaration
C#Copypublic static void AddThemeOverlay(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The edje file path to be used. |
API Level: preview
Declaration
C#Copypublic static void DeleteThemeExtention(string item)
Parameters
Type | Name | Description |
---|---|---|
System.String | item | The name of the theme extension. |
API Level: preview
Declaration
C#Copypublic static void DeleteThemeOverlay(string filePath)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The name of the theme overlay. |
API Level: preview
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
C#Copypublic static void FlushAllCache()
API Level: preview
FlushAllConfig()
Flushes all the configuration settings, and then applies those settings to all applications using elementary on the current display.
Declaration
C#Copypublic static void FlushAllConfig()
API Level: preview
Declaration
C#Copypublic static void FlushAllThemes()
API Level: preview
Declaration
C#Copypublic static void FlushTheme()
API Level: preview
Declaration
C#Copypublic static void FreeTheme()
API Level: preview
Declaration
C#Copypublic static void Initialize()
API Level: preview
Declaration
C#Copypublic static void Run()
API Level: preview
Declaration
C#Copypublic static void SetLanguage(string language)
Parameters
Type | Name | Description |
---|---|---|
System.String | language | The language to set must be the full name of the locale. |
API Level: preview
SetPolicy(UInt32, Int32)
Sets a new policy's value (for a given policy group/identifier).
Declaration
C#Copypublic static bool SetPolicy(uint policy, int value)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | policy | The policy identifier. |
Int32 | value | The policy value, which depends on the identifier. |
Returns
Type | Description |
---|---|
Boolean |
API Level: preview
Declaration
C#Copypublic static void SetTheme(string theme)
Parameters
Type | Name | Description |
---|---|---|
System.String | theme | Theme search string. |
Remarks
This sets the search string for the theme in path-notation from the first theme to search, to last, delimited by the : character. For example, "shiny:/path/to/file.edj:default".
API Level: preview
Declaration
C#Copypublic static void Shutdown()
API Level: preview
Events
EvasObjectRealized
EvasObjectRealized will be triggered when the EvasObject is realized.
Declaration
C#Copypublic static event EventHandler EvasObjectRealized
Event Type
Type | Description |
---|---|
System.EventHandler |
API Level: preview
ItemObjectRealized
ItemObjectRealized will be triggered when the ItemObject is realized.
Declaration
C#Copypublic static event EventHandler ItemObjectRealized
Event Type
Type | Description |
---|---|
System.EventHandler |