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#
Copy
public class WidgetViewManager : BaseHandle, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IDisposable
Inheritance
System.Object
Tizen.NUI.Binding.BindableObject
Tizen.NUI.Binding.Element
WidgetViewManager
Implements
System.ComponentModel.INotifyPropertyChanged
System.IDisposable

Constructors

View Source

WidgetViewManager(NUIApplication, String)

Creates a new widgetView manager object.

Declaration
C#
Copy
public WidgetViewManager(NUIApplication nuiApplication, string appId)
Parameters
Type Name Description
NUIApplication nuiApplication
System.String appId
API Level: 3

Methods

View Source

AddWidget(String, String, Int32, Int32, Single)

Creates a new widget view object.

Declaration
C#
Copy
public WidgetView AddWidget(string widgetId, string contentInfo, int width, int height, float updatePeriod)
Parameters
Type Name Description
System.String widgetId

The widget ID.

System.String contentInfo

Contents that will be given to the widget instance.

System.Int32 width

The widget width.

System.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
View Source

Dispose(DisposeTypes)

To make WidgetViewManager instance be disposed.

Declaration
C#
Copy
protected override void Dispose(DisposeTypes type)
Parameters
Type Name Description
DisposeTypes type
Overrides
API Level: 3

Implements

System.ComponentModel.INotifyPropertyChanged
System.IDisposable