return mPeriod;
}
+bool WidgetView::CancelTouchEvent()
+{
+ if( mObjectView )
+ {
+ return mObjectView.CancelTouchEvent();
+ }
+
+ return false;
+}
+
void WidgetView::SetPreviewEnabled( bool enabled )
{
mPreviewEnabled = enabled;
double GetPeriod() const;
/**
+ * @copydoc Dali::WidgetView::WidgetView::CancelTouchEvent
+ */
+ bool CancelTouchEvent();
+
+ /**
* @copydoc Dali::WidgetView::WidgetView::SetPreviewEnabled
*/
void SetPreviewEnabled( bool enabled );
return Dali::WidgetView::GetImplementation( *this ).GetPeriod();
}
+bool WidgetView::CancelTouchEvent()
+{
+ return Dali::WidgetView::GetImplementation( *this ).CancelTouchEvent();
+}
+
void WidgetView::SetPreviewEnabled( bool enabled )
{
Dali::WidgetView::GetImplementation( *this ).SetPreviewEnabled( enabled );
double GetPeriod() const;
/**
+ * @brief Cancels touch event procedure.
+ * If you call this function after feed the touch down event, the widget will get ON_HOLD events.
+ * If a widget gets ON_HOLD event, it will not do anything even if you feed touch up event.
+ *
+ * @since_tizen 3.0
+ * @privlevel public
+ * @privilege %http://tizen.org/privilege/widget.viewer
+ * @return true on success, false otherwise.
+ */
+ bool CancelTouchEvent();
+
+ /**
* @brief Sets whether to enable or disable the preview of the widget
*
* @since_tizen 3.0