get_size


Description:

[ Version ( since = "2.10" ) ]
public int get_size ()

Gets the size in pixels that is available for the image.

Note:

Use Notification and Application to provide status notifications; there is no direct replacement for this function, as the representation of a notification is left to the platform

Stock icons and named icons adapt their size automatically if the size of the notification area changes. For other storage types, the size-changed signal can be used to react to size changes.

Note that the returned size is only meaningful while the status icon is embedded (see is_embedded).

Parameters:

this

a StatusIcon

Returns:

the size that is available for the image