Class Elementary

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

The Elementary is a general elementary, a VERY SIMPLE toolkit.

C#
Copy
public static class Elementary
Inheritance
Elementary

Properties

View Source

AppBaseScale

Gets or sets the base scale of the application.

Declaration
C#
Copy
public static double AppBaseScale { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

BringInScrollFriction

Gets or sets the amount of inertia, a scroller imposes during a region to bring animations.

Declaration
C#
Copy
public static double BringInScrollFriction { get; set; }
Property Value
Type Description
System.Double
API Level: preview
View Source

CanFocusHighlight

Gets or sets the enable status of the focus highlight.

Declaration
C#
Copy
public static bool CanFocusHighlight { get; set; }
Property Value
Type Description
Boolean
API Level: preview
View Source

FingerSize

Gets or sets the configured finger size.

Declaration
C#
Copy
public static int FingerSize { get; set; }
Property Value
Type Description
System.Int32
API Level: preview
View Source

FocusAutoScrollMode

Gets or sets the focus on autoscroll mode.

Declaration
C#
Copy
public static FocusAutoScrollMode FocusAutoScrollMode { get; set; }
Property Value
Type Description
FocusAutoScrollMode
API Level: preview
View Source

IsFocusHighlightAnimation

Gets or sets the enable status of the focus highlight animation.

Declaration
C#
Copy
public static bool IsFocusHighlightAnimation { get; set; }
Property Value
Type Description
Boolean
API Level: preview
View Source

IsMirrored

Gets or sets the system mirrored mode. This determines the default mirrored mode of widgets.

Declaration
C#
Copy
public static bool IsMirrored { get; set; }
Property Value
Type Description
Boolean
API Level: preview
View Source

Scale

Gets or sets the global scaling factor.

Declaration
C#
Copy
public static double Scale { get; set; }
Property Value
Type Description
System.Double
API Level: preview

Methods

View Source

AddThemeOverlay(String)

Prepends a theme overlay to the list of overlays.

Declaration
C#
Copy
public static void AddThemeOverlay(string filePath)
Parameters
Type Name Description
System.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
C#
Copy
public static void DeleteThemeExtention(string item)
Parameters
Type Name Description
System.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
C#
Copy
public static void DeleteThemeOverlay(string filePath)
Parameters
Type Name Description
System.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
C#
Copy
public static void FlushAllCache()
API Level: preview
View Source

FlushAllConfig()

Flushes all the configuration settings, and then applies those settings to all applications using elementary on the current display.

Declaration
C#
Copy
public static void FlushAllConfig()
API Level: preview
View Source

FlushAllThemes()

This flushes all the themes (default and specific ones).

Declaration
C#
Copy
public static void FlushAllThemes()
API Level: preview
View Source

FlushTheme()

Flushes the current theme.

Declaration
C#
Copy
public static void FlushTheme()
API Level: preview
View Source

FreeTheme()

Frees a theme.

Declaration
C#
Copy
public static void FreeTheme()
API Level: preview
View Source

Initialize()

Initializes Elementary.

Declaration
C#
Copy
public static void Initialize()
API Level: preview
View Source

Run()

Runs the elementary's main loop.

Declaration
C#
Copy
public static void Run()
API Level: preview
View Source

SetLanguage(String)

Changes the language of the current application.

Declaration
C#
Copy
public 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
View Source

SetPolicy(UInt32, Int32)

Sets a new policy's value (for a given policy group/identifier).

Declaration
C#
Copy
public static bool SetPolicy(uint policy, int value)
Parameters
Type Name Description
System.UInt32 policy

The policy identifier.

System.Int32 value

The policy value, which depends on the identifier.

Returns
Type Description
Boolean
API Level: preview
View Source

SetTheme(String)

Sets the theme search order for the given theme.

Declaration
C#
Copy
public 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
View Source

Shutdown()

Shuts down Elementary.

Declaration
C#
Copy
public static void Shutdown()
API Level: preview