gtkStyleRenderIcon: gtkStyleRenderIcon

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

Description

Renders the icon specified by source at the given size according to the given parameters and returns the result in a pixbuf.

Usage

1
2
gtkStyleRenderIcon(object, source, direction, state, size, widget = NULL, 
    detail = NULL)

Arguments

object

a GtkStyle

source

the GtkIconSource specifying the icon to render

direction

a text direction

state

a state

size

(type int) the size to render the icon at. A size of (GtkIconSize)-1 means render at the size of the source and don't scale.

widget

the widget. [ allow-none ]

detail

a style detail. [ allow-none ]

Value

[GdkPixbuf] a newly-created GdkPixbuf containing the rendered icon

Author(s)

Derived by RGtkGen from GTK+ documentation


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