Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkStyleRenderIcon

gtkStyleRenderIcon


Description

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

Usage

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

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.