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#Copypublic class NUIWidgetApplication : CoreApplication
- Inheritance
Constructors
NUIWidgetApplication(Dictionary<Type, String>)
The constructor for multi widget class and instance.
Declaration
C#Copypublic NUIWidgetApplication(Dictionary<Type, string> widgetTypes)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<Tizen.System.Type, String> | widgetTypes | List of derived widget class type. |
API Level: 4
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.
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.
API Level: 4
Methods
Declaration
C#Copypublic void AddWidgetType(Dictionary<Type, string> widgetTypes)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<Tizen.System.Type, String> | widgetTypes | Derived widget class type. |
API Level: 4
Declaration
C#Copypublic void AddWidgetType(Type widgetType)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Type | widgetType | Derived widget class type. |
Declaration
C#Copypublic override void Exit()
Overrides
API Level: 4
Declaration
C#Copypublic void FlushUpdateMessages()
Remarks
This function will relayout forcibily. This function is used for advanced developer. It will make main-thread overhead if you call this function frequencely.
Declaration
C#Copyprotected override void OnCreate()
Overrides
API Level: 4
OnDeviceOrientationChanged(DeviceOrientationEventArgs)
This method is to handle behavior when the device orientation is changed.
When device is rotated to ccw or cw, this event occurs. In addition, this event is different to window orientation changed event. The window orientation event is for per a window and occurs when some flags should be set before.
Declaration
C#Copyprotected override void OnDeviceOrientationChanged(DeviceOrientationEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DeviceOrientationEventArgs | e | The device orientation changed event argument |
Overrides
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
API Level: 4
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
API Level: 4
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
API Level: 4
Declaration
C#Copyprotected virtual void OnPreCreate()
API Level: 4
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
API Level: 4
Declaration
C#Copyprotected override void OnTerminate()
Overrides
API Level: 4
Declaration
C#Copypublic override void Run(string[] args)
Parameters
Type | Name | Description |
---|---|---|
String[] | args | Arguments from commandline. |