diff options
Diffstat (limited to 'ElmSharp/Interop/Interop.Elementary.Win.cs')
-rw-r--r-- | ElmSharp/Interop/Interop.Elementary.Win.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ElmSharp/Interop/Interop.Elementary.Win.cs b/ElmSharp/Interop/Interop.Elementary.Win.cs index 345e918..89af78e 100644 --- a/ElmSharp/Interop/Interop.Elementary.Win.cs +++ b/ElmSharp/Interop/Interop.Elementary.Win.cs @@ -58,6 +58,18 @@ internal static partial class Interop internal static extern void elm_win_alpha_set(IntPtr obj, bool alpha); [DllImport(Libraries.Elementary)] + internal static extern IntPtr _elm_win_role_get(IntPtr obj); + + internal static string elm_win_role_get(IntPtr obj) + { + var text = _elm_win_role_get(obj); + return Marshal.PtrToStringAnsi(text); + } + + [DllImport(Libraries.Elementary)] + internal static extern void elm_win_role_set(IntPtr obj, string role); + + [DllImport(Libraries.Elementary)] internal static extern void elm_win_autodel_set(IntPtr obj, bool autodel); [DllImport(Libraries.Elementary)] |