Class WidgetViewManager
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 3
WidgetViewManager manages addition of WidgetView controls. This class provides the functionality of adding the widget views and controlling the widgets.
C#Copypublic class WidgetViewManager : BaseHandle, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic WidgetViewManager(NUIApplication nuiApplication, string appId)
Parameters
Type | Name | Description |
---|---|---|
NUIApplication | nuiApplication | |
String | appId |
API Level: 3
Properties
Declaration
C#Copypublic static WidgetViewManager Instance { get; }
Property Value
Type | Description |
---|---|
WidgetViewManager |
API Level: 6
Methods
Declaration
C#Copypublic WidgetView AddWidget(string widgetId, string contentInfo, int width, int height, float updatePeriod)
Parameters
Type | Name | Description |
---|---|---|
String | widgetId | The widget ID. |
String | contentInfo | Contents that will be given to the widget instance. |
Int32 | width | The widget width. |
Int32 | height | The widget height. |
Single | updatePeriod | The period of updating contents of the widget. |
Returns
Type | Description |
---|---|
WidgetView | A handle to WidgetView. |
API Level: 3
Declaration
C#Copyprotected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |
Overrides
Declaration
C#Copypublic bool RemoveWidget(WidgetView widgetView)
Parameters
Type | Name | Description |
---|---|---|
WidgetView | widgetView | widgetView to remove |
Returns
Type | Description |
---|---|
Boolean | True on success, false otherwise. |