Class WidgetViewManager
Definition
- Assembly:
- Tizen.NUI.dll
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, IDisposable
- Inheritance
- Implements
-
System.ComponentModel.INotifyPropertyChangedSystem.IDisposable
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 |
Methods
View SourceAddWidget(string, string, int, int, float)
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. |
int | width | The widget width. |
int | height | The widget height. |
float | updatePeriod | The period of updating contents of the widget. |
Returns
Type | Description |
---|---|
WidgetView | A handle to WidgetView. |
Dispose(DisposeTypes)
To make WidgetViewManager instance be disposed.
Declaration
protected override void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable