6 public static class Elementary
8 private static readonly string _themeFilePath = "/usr/share/edje/elm-sharp/elm-sharp-theme.edj";
10 public static void Initialize()
12 Interop.Elementary.elm_init(0, null);
13 if (File.Exists(_themeFilePath))
15 Interop.Elementary.elm_theme_overlay_add(IntPtr.Zero, _themeFilePath);
19 public static void Shutdown()
21 Interop.Elementary.elm_shutdown();
24 public static void Run()
26 Interop.Elementary.elm_run();
29 public static double GetSystemScrollFriction()
31 return Interop.Elementary.elm_config_scroll_bring_in_scroll_friction_get();
34 public static void SetSystemScrollFriction(double timeSet)
36 Interop.Elementary.elm_config_scroll_bring_in_scroll_friction_set(timeSet);