Package: gtk

Accessor gtk-status-icon-size

Lambda List

gtk-status-icon-size (object)

Syntax

(gtk-status-icon-size object) => size

Arguments

object -- a gtk-status-icon widget
size -- an integer with the size of the icon

Details

Accessor of the size slot of the gtk-status-icon class.

The slot access function gtk-status-icon-size gets the size in pixels that is available for the image.

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 the function gtk-status-icon-is-embedded.

Warning

The function gtk-status-icon-size has been deprecated since version 3.14 and should not be used in newly written code.
 

See also

2021-7-22