Class NUIWidgetApplication
Definition
- Assembly:
- Tizen.NUI.dll
Represents an application that have UI screen. The NUIWidgetApplication class has a default stage.
C#Copypublic class NUIWidgetApplication : CoreApplication, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
View Source
NUIWidgetApplication(Dictionary<Type, string>)
The constructor for multi widget class and instance.
Declaration
C#Copypublic NUIWidgetApplication(Dictionary<Type, string> widgetTypes)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<TKey, TValue><Tizen.System.Type, string> | widgetTypes | List of derived widget class type. |
Declaration
C#Copypublic 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.
Declaration
C#Copypublic 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
Declaration
C#Copypublic override void Exit()
Overrides
Declaration
C#Copyprotected override void OnCreate()
Overrides
View Source
OnLocaleChanged(LocaleChangedEventArgs)
Overrides this method if want to handle OnLocaleChanged behavior.
Declaration
C#Copyprotected override void OnLocaleChanged(LocaleChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LocaleChangedEventArgs | e |
Overrides
View Source
OnLowBattery(LowBatteryEventArgs)
Overrides this method if want to handle OnLowBattery behavior.
Declaration
C#Copyprotected override void OnLowBattery(LowBatteryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowBatteryEventArgs | e |
Overrides
View Source
OnLowMemory(LowMemoryEventArgs)
Overrides this method if want to handle OnLowMemory behavior.
Declaration
C#Copyprotected override void OnLowMemory(LowMemoryEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
LowMemoryEventArgs | e |
Overrides
Declaration
C#Copyprotected virtual void OnPreCreate()
View Source
OnRegionFormatChanged(RegionFormatChangedEventArgs)
Overrides this method if want to handle OnRegionFormatChanged behavior.
Declaration
C#Copyprotected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RegionFormatChangedEventArgs | e |
Overrides
Declaration
C#Copyprotected override void OnTerminate()
Overrides
Declaration
C#Copypublic override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Arguments from commandline. |
Overrides
Implements
System.IDisposable