Class NUIWidgetApplication
Definition
- Assembly:
- Tizen.NUI.dll
Represents an application that have UI screen. The NUIWidgetApplication class has a default stage.
public class NUIWidgetApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View SourceNUIWidgetApplication(Type, string)
The default constructor with stylesheet.
Declaration
public NUIWidgetApplication(Type widgetType, string styleSheet)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Type | widgetType | Derived widget class type. |
string | styleSheet | The styleSheet url. |
Remarks
Widget ID will be replaced as the application ID.
NUIWidgetApplication(Type)
The default constructor.
Declaration
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.
Methods
View SourceExit()
Exit NUIWidgetApplication.
Declaration
public override void Exit()
Overrides
View SourceOnCreate()
Overrides this method if want to handle OnCreate behavior.
Declaration
protected override void OnCreate()
Overrides
View SourceOnLocaleChanged(LocaleChangedEventArgs)
Overrides this method if want to handle OnLocaleChanged behavior.
Declaration
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LocaleChangedEventArgs | e |
Overrides
View SourceOnLowBattery(LowBatteryEventArgs)
Overrides this method if want to handle OnLowBattery behavior.
Declaration
protected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowBatteryEventArgs | e |
Overrides
View SourceOnLowMemory(LowMemoryEventArgs)
Overrides this method if want to handle OnLowMemory behavior.
Declaration
protected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowMemoryEventArgs | e |
Overrides
View SourceOnPreCreate()
Overrides this method if want to handle OnPreCreate behavior.
Declaration
protected virtual void OnPreCreate()
OnRegionFormatChanged(RegionFormatChangedEventArgs)
Overrides this method if want to handle OnRegionFormatChanged behavior.
Declaration
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RegionFormatChangedEventArgs | e |
Overrides
View SourceOnTerminate()
Overrides this method if want to handle OnTerminate behavior.
Declaration
protected override void OnTerminate()
Overrides
View SourceRun(string[])
Run NUIWidgetApplication.
Declaration
public override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from commandline. |