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, IDynamicResourceHandler, IElement, INameScope, IElementController, System.IDisposable
Inheritance
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

Properties

View Source

Instance

Gets the singleton of the WidgetViewManager object.

Declaration
C#
Copy
public static WidgetViewManager Instance { get; }
Property Value
Type Description
WidgetViewManager
API Level: 6

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

ReleaseSwigCPtr(Runtime.InteropServices.HandleRef)

Declaration
C#
Copy
protected override void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type Name Description
Tizen.System.Runtime.InteropServices.HandleRef swigCPtr
Overrides
View Source

RemoveWidget(WidgetView)

Remove a widget view object.

Declaration
C#
Copy
public bool RemoveWidget(WidgetView widgetView)
Parameters
Type Name Description
WidgetView widgetView

widgetView to remove

Returns
Type Description
Boolean

True on success, false otherwise.

Implements

Extension Methods