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.
public class WidgetViewManager : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
- Inheritance
- Implements
Constructors
View SourceWidgetViewManager(NUIApplication, String)
Creates a new widgetView manager object.
Declaration
public WidgetViewManager(NUIApplication nuiApplication, string appId)
Parameters
Type | Name | Description |
---|---|---|
NUIApplication | nuiApplication | |
String | appId |
API Level: 3
Methods
View SourceAddWidget(String, String, Int32, Int32, Single)
Creates a new widget view object.
Declaration
public 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. |