Tizen Native API
5.0
|
WidgetViewManager manages addition of WidgetView controls. More...
Public Member Functions | |
WidgetViewManager () | |
Creates an WidgetViewManager handle. | |
WidgetViewManager (const WidgetViewManager &handle) | |
Copy constructor. | |
WidgetViewManager & | operator= (const WidgetViewManager &handle) |
Assignment operator. | |
~WidgetViewManager () | |
Destructor. | |
WidgetView | AddWidget (const std::string &widgetId, const std::string &contentInfo, int width, int height, float updatePeriod) |
Creates a new widget view object. | |
Static Public Member Functions | |
static WidgetViewManager | New (Application application, const std::string &appId) |
Create widget view manager. | |
static WidgetViewManager | DownCast (BaseHandle handle) |
Downcast a handle to WidgetViewManager handle. |
WidgetViewManager manages addition of WidgetView controls.
This class provides the functionality of adding the widget views and controlling the widgets.
Creates an WidgetViewManager handle.
Calling member functions with an uninitialised handle is not allowed.
Dali::WidgetView::WidgetViewManager::WidgetViewManager | ( | const WidgetViewManager & | 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.
WidgetView Dali::WidgetView::WidgetViewManager::AddWidget | ( | const std::string & | widgetId, |
const std::string & | contentInfo, | ||
int | width, | ||
int | height, | ||
float | updatePeriod | ||
) |
Creates a new widget view object.
[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. |
static WidgetViewManager Dali::WidgetView::WidgetViewManager::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcast a handle to WidgetViewManager handle.
If the BaseHandle points is a WidgetViewManager the downcast returns a valid handle. If not the returned handle is left empty.
[in] | handle | Handle to an object |
static WidgetViewManager Dali::WidgetView::WidgetViewManager::New | ( | Application | application, |
const std::string & | appId | ||
) | [static] |
Create widget view manager.
[in] | application | Application class for the widget view manager. |
[in] | appId | App ID of app with widget viewer dali. |
WidgetViewManager& Dali::WidgetView::WidgetViewManager::operator= | ( | const WidgetViewManager & | handle | ) |
Assignment operator.
[in] | handle | The handle to copy from. |