Method TrayIcon():create() Foundation

Allocates resources for the TrayIcon instance.

Syntax
:create() --> self
Return

This method returns self.

Description

Allocates resource for the TrayIcon instance. Once created, the instance can be used for displaying notifications or displaying an icon in the notification area. To do this, use the method :setIcon() followed by a call to :show().

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.