Class Elementary

    Definition

    Namespace:
    ElmSharp
    Assembly:
    ElmSharp.dll

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

    public static class Elementary
    Inheritance
    object
    Elementary

    Properties

    View Source

    AppBaseScale

    Gets or sets the base scale of the application.

    Declaration
    public static double AppBaseScale { get; set; }
    Property Value
    Type Description
    double
    View Source

    BringInScrollFriction

    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
    Type Description
    double
    View Source

    CanFocusHighlight

    Gets or sets the enable status of the focus highlight.

    Declaration
    public static bool CanFocusHighlight { get; set; }
    Property Value
    Type Description
    bool
    View Source

    FingerSize

    Gets or sets the configured finger size.

    Declaration
    public static int FingerSize { get; set; }
    Property Value
    Type Description
    int
    View Source

    FocusAutoScrollMode

    Gets or sets the focus on autoscroll mode.

    Declaration
    public static FocusAutoScrollMode FocusAutoScrollMode { get; set; }
    Property Value
    Type Description
    FocusAutoScrollMode
    View Source

    IsFocusHighlightAnimation

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

    Declaration
    public static bool IsFocusHighlightAnimation { get; set; }
    Property Value
    Type Description
    bool
    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
    Type Description
    bool
    View Source

    Scale

    Gets or sets the global scaling factor.

    Declaration
    public static double Scale { get; set; }
    Property Value
    Type Description
    double

    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.

    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.

    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.

    View Source

    FlushAllCashe()

    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 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()
    View Source

    FlushAllThemes()

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

    Declaration
    public static void FlushAllThemes()
    View Source

    FlushTheme()

    Flushes the current theme.

    Declaration
    public static void FlushTheme()
    View Source

    FreeTheme()

    Frees a theme.

    Declaration
    public static void FreeTheme()
    View Source

    Initialize()

    Initializes Elementary.

    Declaration
    public static void Initialize()
    View Source

    Run()

    Runs the elementary's main loop.

    Declaration
    public static void Run()
    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.

    View Source

    SetPolicy(uint, int)

    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
    uint policy

    The policy identifier.

    int value

    The policy value, which depends on the identifier.

    Returns
    Type Description
    bool
    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.

    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".

    View Source

    Shutdown()

    Shuts down Elementary.

    Declaration
    public static void Shutdown()
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX