IBM Worklight v5.0.5 > Develop IBM Worklight applications > Development guidelines for desktop and web environments
Specify the application taskbar for Adobe AIR applications
Unlike Windows desktop gadgets and Apple Dashboard widgets, Adobe AIR applications can be displayed on the system taskbar. Widgets that are opened for a short time (for example, to perform a specific task) and are then closed should normally have a taskbar button. Conversely, widgets that remain constantly open on the desktop should not have a taskbar button, to save the space required by the button. Instead, such widgets have a tray icon that allows access to the widget.
If the taskbar button is not displayed, IBM Worklight adds a tray icon for the widget. You can use the tray icon to minimize the application, restore it, and close it.
To control whether your desktop widget is displayed on the taskbar, specify the <air> element in the application descriptor. If the <air> element is not specified, the taskbar button is displayed.
To display a taskbar button for the widget, set:
<air showInTaskbar="always" />
To not display a taskbar button for the widget, set:
<air showInTaskbar="never" />
Parent Development guidelines for desktop and web environments