gtkIconThemeLookupIcon: gtkIconThemeLookupIcon

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Looks up a named icon and returns a structure containing information such as the filename of the icon. The icon can then be rendered into a pixbuf using gtkIconInfoLoadIcon. (gtkIconThemeLoadIcon combines these two steps if all you need is the pixbuf.)

Usage

1
gtkIconThemeLookupIcon(object, icon.name, size, flags)

Arguments

object

a GtkIconTheme

icon.name

the name of the icon to lookup

size

desired icon size

flags

flags modifying the behavior of the icon lookup

Details

Since 2.4

Value

[GtkIconInfo] a GtkIconInfo structure containing information about the icon, or NULL if the icon wasn't found.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.