diff options
Diffstat (limited to 'ElmSharp/ElmSharp/Widget.cs')
-rw-r--r--[-rwxr-xr-x] | ElmSharp/ElmSharp/Widget.cs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ElmSharp/ElmSharp/Widget.cs b/ElmSharp/ElmSharp/Widget.cs index daa5731..d18e047 100755..100644 --- a/ElmSharp/ElmSharp/Widget.cs +++ b/ElmSharp/ElmSharp/Widget.cs @@ -221,6 +221,52 @@ namespace ElmSharp } /// <summary> + /// Sets or gets whether a widget and its children are focusable or not. + /// </summary> + public bool AllowTreeFocus + { + get + { + return Interop.Elementary.elm_object_tree_focus_allow_get(RealHandle); + } + set + { + Interop.Elementary.elm_object_tree_focus_allow_set(RealHandle, value); + } + } + + /// <summary> + /// Sets or gets the widget's mirrored mode. + /// </summary> + public bool IsMirroredMode + { + get + { + return Interop.Elementary.elm_object_mirrored_get(RealHandle); + } + set + { + Interop.Elementary.elm_object_mirrored_set(RealHandle, value); + } + } + + /// <summary> + /// Sets or gets the widget's mirrored mode setting. + /// When widget set automatic mode(true), it follows the system mirrored mode. + /// </summary> + public bool IsAutoMirroredMode + { + get + { + return Interop.Elementary.elm_object_mirrored_automatic_get(RealHandle); + } + set + { + Interop.Elementary.elm_object_mirrored_automatic_set(RealHandle, value); + } + } + + /// <summary> /// Sets the widget to be focused or not. /// </summary> /// <param name="isFocus">Weather be focused</param> |