gtkStyleAttach {RGtk2} | R Documentation |
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.
gtkStyleAttach(object, window)
|
[GtkStyle ] a GtkStyle . |
|
[GdkWindow ] a GdkWindow . |
[GtkStyle
] Either style
, or a newly-created GtkStyle
.
If the style is newly created, the style parameter
will be dereferenced, and the new style will have
a reference count belonging to the caller.
Derived by RGtkGen from GTK+ documentation