Fix CircleHandle in CircleSpinner.
Fix Handle to CircleHandle in CircleScroller.IsEnabled.
Change-Id: I8f722975e3d1469352a3d5791c6ef947f01f2a89
{
var handle = base.CreateHandle(parent);
- _circleHandle = Interop.Eext.eext_circle_object_datetime_add(RealHandle == IntPtr.Zero ? Handle : RealHandle , CircleSurface.Handle);
+ _circleHandle = Interop.Eext.eext_circle_object_datetime_add(RealHandle == IntPtr.Zero ? handle : RealHandle , CircleSurface.Handle);
return handle;
}
protected override IntPtr CreateHandle(EvasObject parent)
{
var handle = base.CreateHandle(parent);
- _circleHandle = Interop.Eext.eext_circle_object_genlist_add(RealHandle == IntPtr.Zero ? Handle : RealHandle, CircleSurface.Handle);
+ _circleHandle = Interop.Eext.eext_circle_object_genlist_add(RealHandle == IntPtr.Zero ? handle : RealHandle, CircleSurface.Handle);
return handle;
}
{
get
{
- return !Interop.Eext.eext_circle_object_disabled_get(Handle);
+ return !Interop.Eext.eext_circle_object_disabled_get(CircleHandle);
}
set
{
- Interop.Eext.eext_circle_object_disabled_set(Handle, !value);
+ Interop.Eext.eext_circle_object_disabled_set(CircleHandle, !value);
}
}
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = base.CreateHandle(parent);
- _circleHandle = Interop.Eext.eext_circle_object_scroller_add(RealHandle == IntPtr.Zero ? Handle : RealHandle, CircleSurface.Handle);
+ _circleHandle = Interop.Eext.eext_circle_object_scroller_add(RealHandle == IntPtr.Zero ? handle : RealHandle, CircleSurface.Handle);
return handle;
}
}
/// <summary>
/// Gets the handle for Circle Widget.
/// </summary>
- public virtual IntPtr CircleHandle => RealHandle;
+ public virtual IntPtr CircleHandle => _circleHandle;
/// <summary>
/// Gets the handle for Circle Surface used in this widget
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = base.CreateHandle(parent);
- _circleHandle = Interop.Eext.eext_circle_object_spinner_add(RealHandle == IntPtr.Zero ? Handle : RealHandle, CircleSurface.Handle);
+ _circleHandle = Interop.Eext.eext_circle_object_spinner_add(RealHandle == IntPtr.Zero ? handle : RealHandle, CircleSurface.Handle);
return handle;
}
}