Class WidgetViewManager

    Definition

    Namespace:
    Tizen.NUI
    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, IDisposable
    Inheritance
    object
    BaseHandle
    WidgetViewManager
    Implements
    System.IDisposable

    Constructors

    View Source

    WidgetViewManager(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 Source

    AddWidget(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.

    View Source

    Dispose(DisposeTypes)

    To make WidgetViewManager instance be disposed.

    Declaration
    protected override void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    Overrides
    BaseHandle.Dispose(DisposeTypes)

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX