Package: gtk

Function gtk-icon-info-base-scale

Lambda List

gtk-icon-info-base-scale (info)

Arguments

info -- a gtk-icon-info instance

Return Value

An integer with the base scale.

Details

Gets the base scale for the icon. The base scale is a scale for the icon that was specified by the icon theme creator. For instance an icon drawn for a high DPI screen with window scale 2 for a base size of 32 will be 64 pixels tall and have a base scale of 2.

Example

(gtk-icon-theme-lookup-icon (gtk-icon-theme-default) "battery" 0 0)
=> #.(SB-SYS:INT-SAP #X01D3F840)
(gtk-icon-info-base-scale *)
=> 1    
 

See also

2021-11-28