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
Tizen.NUI.Binding.Element
WidgetViewManager
Implements

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
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
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

Implements