Class TaskbarService
Definition
- Namespace:
- Tizen.NUI.WindowSystem.Shell
- Assembly:
- Tizen.NUI.WindowSystem.dll
Class for the Tizen taskbar service.
public class TaskbarService : IDisposable
- Inheritance
-
objectTaskbarService
Constructors
View SourceTaskbarService(TizenShell, IWindowProvider, PlaceType)
Creates a new Taskbar Service handle.
Declaration
public TaskbarService(TizenShell tzShell, IWindowProvider win, TaskbarService.PlaceType type = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TizenShell | tzShell | The TizenShell instance. |
| IWindowProvider | win | The window provider for the taskbar service. |
| TaskbarService.PlaceType | type | The selected, predefined location on the screen the Taskbar should be placed on the screen. |
TaskbarService(TizenShell, Window, PlaceType)
Creates a new Taskbar Service handle.
Declaration
public TaskbarService(TizenShell tzShell, Window win, TaskbarService.PlaceType type = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TizenShell | tzShell | The TizenShell instance. |
| Window | win | The window to provide service of the taskbar. |
| TaskbarService.PlaceType | type | The type to be placed on the screen. |
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(DisposeTypes)
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| DisposeTypes | type |
~TaskbarService()
Destructor.
Declaration
protected ~TaskbarService()
SetPlaceType(PlaceType)
Set the current place type. The window manager can use this to determine the geometry of another applications.
Declaration
public void SetPlaceType(TaskbarService.PlaceType type)
Parameters
| Type | Name | Description |
|---|---|---|
| TaskbarService.PlaceType | type | The type of placement, enumeration for the place type. |
SetSize(uint, uint)
Set the size of the taskbar.
This may be different from the actual size. The window manager can use this to
determine the geometry of another applications.
Declaration
public void SetSize(uint width, uint height)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | width | The width of the taskbar area. |
| uint | height | The height of the taskbar area. |