diff options
author | pius.lee <pius.lee@samsung.com> | 2017-06-12 22:25:53 +0900 |
---|---|---|
committer | pius.lee <pius.lee@samsung.com> | 2017-06-12 22:29:30 +0900 |
commit | 07698f1af82458a85f56882991f64bceb2d2215f (patch) | |
tree | c042f43eeeb018f50c81969739a897076b27e9b7 /ElmSharp | |
parent | 6f52c5b31628ab79d50d4b8c20389e26090952da (diff) | |
download | elm-sharp-07698f1af82458a85f56882991f64bceb2d2215f.tar.gz elm-sharp-07698f1af82458a85f56882991f64bceb2d2215f.tar.bz2 elm-sharp-07698f1af82458a85f56882991f64bceb2d2215f.zip |
Change using Handle to Realhandle in Accessibility
Change Handle to Realhandle in AccessibilityObject.
Handle makes buggy action on widgets like Check.
Change-Id: Ic211af7ad83fe263bd50a4bb3b06cd47b64f4915
Signed-off-by: pius.lee <pius.lee@samsung.com>
Diffstat (limited to 'ElmSharp')
-rwxr-xr-x | ElmSharp/ElmSharp/AccessibleObject.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/ElmSharp/ElmSharp/AccessibleObject.cs b/ElmSharp/ElmSharp/AccessibleObject.cs index 092abf6..08eedcb 100755 --- a/ElmSharp/ElmSharp/AccessibleObject.cs +++ b/ElmSharp/ElmSharp/AccessibleObject.cs @@ -46,11 +46,11 @@ namespace ElmSharp.Accessible { get { - return (ReadingInfoType)Interop.Elementary.elm_atspi_accessible_reading_info_type_get(Handle); + return (ReadingInfoType)Interop.Elementary.elm_atspi_accessible_reading_info_type_get(RealHandle); } set { - Interop.Elementary.elm_atspi_accessible_reading_info_type_set(Handle, + Interop.Elementary.elm_atspi_accessible_reading_info_type_set(RealHandle, (Interop.Elementary.Elm_Accessible_Reading_Info_Type)value); } } @@ -62,11 +62,11 @@ namespace ElmSharp.Accessible { get { - return (AccessRole)Interop.Elementary.elm_atspi_accessible_role_get(Handle); + return (AccessRole)Interop.Elementary.elm_atspi_accessible_role_get(RealHandle); } set { - Interop.Elementary.elm_atspi_accessible_role_set(Handle, + Interop.Elementary.elm_atspi_accessible_role_set(RealHandle, (Interop.Elementary.Elm_Atspi_Role)value); } } @@ -78,11 +78,11 @@ namespace ElmSharp.Accessible { get { - return Interop.Elementary.elm_atspi_accessible_can_highlight_get(Handle); + return Interop.Elementary.elm_atspi_accessible_can_highlight_get(RealHandle); } set { - Interop.Elementary.elm_atspi_accessible_can_highlight_set(Handle, value); + Interop.Elementary.elm_atspi_accessible_can_highlight_set(RealHandle, value); } } @@ -96,11 +96,11 @@ namespace ElmSharp.Accessible { get { - return Interop.Elementary.elm_atspi_accessible_translation_domain_get(Handle); + return Interop.Elementary.elm_atspi_accessible_translation_domain_get(RealHandle); } set { - Interop.Elementary.elm_atspi_accessible_translation_domain_set(Handle, value); + Interop.Elementary.elm_atspi_accessible_translation_domain_set(RealHandle, value); } } @@ -111,11 +111,11 @@ namespace ElmSharp.Accessible { get { - return Interop.Elementary.elm_atspi_accessible_name_get(Handle); + return Interop.Elementary.elm_atspi_accessible_name_get(RealHandle); } set { - Interop.Elementary.elm_atspi_accessible_name_set(Handle, value); + Interop.Elementary.elm_atspi_accessible_name_set(RealHandle, value); } } @@ -126,11 +126,11 @@ namespace ElmSharp.Accessible { get { - return Interop.Elementary.elm_atspi_accessible_description_get(Handle); + return Interop.Elementary.elm_atspi_accessible_description_get(RealHandle); } set { - Interop.Elementary.elm_atspi_accessible_description_set(Handle, value); + Interop.Elementary.elm_atspi_accessible_description_set(RealHandle, value); } } @@ -153,12 +153,12 @@ namespace ElmSharp.Accessible if (value == null) { _nameProvider = null; - Interop.Elementary.elm_atspi_accessible_name_cb_set(Handle, null, IntPtr.Zero); + Interop.Elementary.elm_atspi_accessible_name_cb_set(RealHandle, null, IntPtr.Zero); } else { _nameProvider = new AccessibleInfoProvider(value); - Interop.Elementary.elm_atspi_accessible_name_cb_set(Handle, _nameProviderInternal, IntPtr.Zero); + Interop.Elementary.elm_atspi_accessible_name_cb_set(RealHandle, _nameProviderInternal, IntPtr.Zero); } } } @@ -182,12 +182,12 @@ namespace ElmSharp.Accessible if (value == null) { _descriptionProvider = null; - Interop.Elementary.elm_atspi_accessible_description_cb_set(Handle, null, IntPtr.Zero); + Interop.Elementary.elm_atspi_accessible_description_cb_set(RealHandle, null, IntPtr.Zero); } else { _descriptionProvider = new AccessibleInfoProvider(value); - Interop.Elementary.elm_atspi_accessible_description_cb_set(Handle, _descriptionProviderInternal, IntPtr.Zero); + Interop.Elementary.elm_atspi_accessible_description_cb_set(RealHandle, _descriptionProviderInternal, IntPtr.Zero); } } } @@ -216,7 +216,7 @@ namespace ElmSharp.Accessible void IAccessibleObject.AppendRelation(IAccessibleRelation relation) { if (relation.Target == null) throw new ArgumentException("Target of Accessibility relation can not be null"); - Interop.Elementary.elm_atspi_accessible_relationship_append(Handle, relation.Type, relation.Target.Handle); + Interop.Elementary.elm_atspi_accessible_relationship_append(RealHandle, relation.Type, relation.Target.Handle); } /// <summary> @@ -226,7 +226,7 @@ namespace ElmSharp.Accessible void IAccessibleObject.RemoveRelation(IAccessibleRelation relation) { if (relation.Target == null) throw new ArgumentException("Target of Accessibility relation can not be null"); - Interop.Elementary.elm_atspi_accessible_relationship_remove(Handle, relation.Type, relation.Target.Handle); + Interop.Elementary.elm_atspi_accessible_relationship_remove(RealHandle, relation.Type, relation.Target.Handle); } /// <summary> @@ -234,7 +234,7 @@ namespace ElmSharp.Accessible /// </summary> public void Highlight() { - Interop.Elementary.elm_atspi_component_highlight_grab(Handle); + Interop.Elementary.elm_atspi_component_highlight_grab(RealHandle); } /// <summary> @@ -242,7 +242,7 @@ namespace ElmSharp.Accessible /// </summary> public void Unhighlight() { - Interop.Elementary.elm_atspi_component_highlight_clear(Handle); + Interop.Elementary.elm_atspi_component_highlight_clear(RealHandle); } } } |