Class NUIWidgetApplication

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll
API Level:
4

Represents an application that have UI screen. The NUIWidgetApplication class has a default stage.

C#
Copy
public class NUIWidgetApplication : CoreApplication, IDisposable
Inheritance
System.Object
NUIWidgetApplication
Implements
System.IDisposable

Constructors

View Source

NUIWidgetApplication(Dictionary<Type, String>)

The constructor for multi widget class and instance.

Declaration
C#
Copy
public NUIWidgetApplication(Dictionary<Type, string> widgetTypes)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<Tizen.System.Type, System.String> widgetTypes

List of derived widget class type.

View Source

NUIWidgetApplication(Type)

The default constructor.

Declaration
C#
Copy
public NUIWidgetApplication(Type widgetType)
Parameters
Type Name Description
Tizen.System.Type widgetType

Derived widget class type.

Remarks

Widget ID will be replaced as the application ID.

View Source

NUIWidgetApplication(Type, String)

The default constructor with stylesheet.

Declaration
C#
Copy
public NUIWidgetApplication(Type widgetType, string styleSheet)
Parameters
Type Name Description
Tizen.System.Type widgetType

Derived widget class type.

System.String styleSheet

The styleSheet url.

Remarks

Widget ID will be replaced as the application ID.

API Level: 4

Methods

View Source

Exit()

Exit NUIWidgetApplication.

Declaration
C#
Copy
public override void Exit()
Overrides
API Level: 4
View Source

OnCreate()

Overrides this method if want to handle OnCreate behavior.

Declaration
C#
Copy
protected override void OnCreate()
Overrides
API Level: 4
View Source

OnLocaleChanged(LocaleChangedEventArgs)

Overrides this method if want to handle OnLocaleChanged behavior.

Declaration
C#
Copy
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
Type Name Description
LocaleChangedEventArgs e
Overrides
API Level: 4
View Source

OnLowBattery(LowBatteryEventArgs)

Overrides this method if want to handle OnLowBattery behavior.

Declaration
C#
Copy
protected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
Type Name Description
LowBatteryEventArgs e
Overrides
API Level: 4
View Source

OnLowMemory(LowMemoryEventArgs)

Overrides this method if want to handle OnLowMemory behavior.

Declaration
C#
Copy
protected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
Type Name Description
LowMemoryEventArgs e
Overrides
API Level: 4
View Source

OnPreCreate()

Overrides this method if want to handle OnPreCreate behavior.

Declaration
C#
Copy
protected virtual void OnPreCreate()
API Level: 4
View Source

OnRegionFormatChanged(RegionFormatChangedEventArgs)

Overrides this method if want to handle OnRegionFormatChanged behavior.

Declaration
C#
Copy
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type Name Description
RegionFormatChangedEventArgs e
Overrides
API Level: 4
View Source

OnTerminate()

Overrides this method if want to handle OnTerminate behavior.

Declaration
C#
Copy
protected override void OnTerminate()
Overrides
API Level: 4
View Source

Run(String[])

Run NUIWidgetApplication.

Declaration
C#
Copy
public override void Run(string[] args)
Parameters
Type Name Description
System.String[] args

Arguments from commandline.

Overrides
API Level: 4

Implements

System.IDisposable