Tizen Native API
4.0
|
WidgetView is a class for displaying the widget image and controlling the widget. Input events that WidgetView gets are delivered to the widget. More...
Classes | |
struct | Property |
An enumeration of properties belonging to the WidgetView class. More... | |
Public Types | |
enum | PropertyRange |
The start and end property ranges for this control. More... | |
typedef Signal< void(WidgetView) > | WidgetViewSignalType |
WidgetView signal type. | |
Public Member Functions | |
WidgetView () | |
Creates an empty handle. | |
WidgetView (const WidgetView &handle) | |
Copy constructor. | |
WidgetView & | operator= (const WidgetView &handle) |
Assignment operator. | |
~WidgetView () | |
Destructor. | |
bool | PauseWidget () |
Pauses a given widget. | |
bool | ResumeWidget () |
Resume a given widget. | |
bool | CancelTouchEvent () |
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. | |
void | ActivateFaultedWidget () |
Activate a widget in faulted state. A widget in faulted state MUST be activated before adding the widget. | |
bool | TerminateWidget () |
Terminates a widget instance. | |
WidgetViewSignalType & | WidgetAddedSignal () |
This signal is emitted when the widget is added. | |
WidgetViewSignalType & | WidgetDeletedSignal () |
This signal is emitted when the widget is deleted. | |
WidgetViewSignalType & | WidgetCreationAbortedSignal () |
This signal is emitted when the widget creation is aborted. | |
WidgetViewSignalType & | WidgetContentUpdatedSignal () |
This signal is emitted when the widget content is updated. | |
WidgetViewSignalType & | WidgetUpdatePeriodChangedSignal () |
This signal is emitted when the widget update period is changed. | |
WidgetViewSignalType & | WidgetFaultedSignal () |
This signal is emitted when the widget process is not running. | |
Static Public Member Functions | |
static WidgetView | New (const std::string &widgetId, const std::string &contentInfo, int width, int height, float updatePeriod) |
Create widget view. | |
static WidgetView | DownCast (BaseHandle handle) |
Downcast a handle to WidgetView handle. |
WidgetView is a class for displaying the widget image and controlling the widget. Input events that WidgetView gets are delivered to the widget.
Signals | Signal Name | Method | |-----------------------------|----------------------------------------| | widgetAdded | WidgetAddedSignal() | | widgetDeleted | WidgetDeletedSignal() | | widgetCreationAborted | WidgetCreationAbortedSignal() | | widgetContentUpdated | WidgetContentUpdatedSignal() | | widgetUpdatePeriodChanged | WidgetUpdatePeriodChangedSignal() | | widgetFaulted | WidgetFaultedSignal() |
typedef Signal< void ( WidgetView ) > Dali::WidgetView::WidgetView::WidgetViewSignalType |
WidgetView signal type.
The start and end property ranges for this control.
Reimplemented from Dali::Toolkit::Control.
Creates an empty handle.
Dali::WidgetView::WidgetView::WidgetView | ( | const WidgetView & | handle | ) |
Copy constructor.
[in] | handle | The handle to copy from. |
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
Activate a widget in faulted state. A widget in faulted state MUST be activated before adding the widget.
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.
static WidgetView Dali::WidgetView::WidgetView::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcast a handle to WidgetView handle.
If the BaseHandle points is a WidgetView the downcast returns a valid handle. If not the returned handle is left empty.
[in] | handle | Handle to an object |
Reimplemented from Dali::Toolkit::Control.
static WidgetView Dali::WidgetView::WidgetView::New | ( | const std::string & | widgetId, |
const std::string & | contentInfo, | ||
int | width, | ||
int | height, | ||
float | updatePeriod | ||
) | [static] |
Create widget view.
[in] | widgetId | The widget id. |
[in] | contentInfo | Contents that will be given to the widget instance. |
[in] | width | The widget width. |
[in] | height | The widget height. |
[in] | updatePeriod | The period of updating contents of the widget. |
WidgetView& Dali::WidgetView::WidgetView::operator= | ( | const WidgetView & | handle | ) |
Assignment operator.
[in] | handle | The handle to copy from. |
Pauses a given widget.
Resume a given widget.
Terminates a widget instance.
This signal is emitted when the widget is added.
This signal is emitted when the widget content is updated.
This signal is emitted when the widget creation is aborted.
This signal is emitted when the widget is deleted.
This signal is emitted when the widget process is not running.
This signal is emitted when the widget update period is changed.