IconTheme.getForScreen

Gets the icon theme object associated with screen; if this function has not previously been called for the given screen, a new icon theme object will be created and associated with the screen. Icon theme objects are fairly expensive to create, so using this function is usually a better choice than calling than IconTheme.new and setting the screen yourself; by using this function a single icon theme object will be shared between users.

class IconTheme
static
getForScreen

Parameters

screen Screen

Return Value

Type: IconTheme

A unique gtk.IconTheme associated with the given screen. This icon theme is associated with the screen and can be used as long as the screen is open. Do not ref or unref it.

Meta