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

gtkStyleAttach

gtkStyleAttach


Description

Attaches a style to a window; this process allocates the colors and creates the GC's for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap.

Usage

gtkStyleAttach(object, window)

Arguments

object

a GtkStyle.

window

a GdkWindow.

Details

Since this function may return a new object, you have to use it in the following way: style = gtk_style_attach (style, window)

Value

[GtkStyle] Either style, or a newly-created GtkStyle. If the style is newly created, the style parameter will be unref'ed, and the new style will have a reference count belonging to the caller.

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.