gdkWindowSetBackground: gdkWindowSetBackground

Description Usage Arguments Details Author(s)

View source: R/gdkFuncs.R

Description

Sets the background color of window. (However, when using GTK+, set the background of a widget with gtkWidgetModifyBg - if you're an application - or gtkStyleSetBackground - if you're implementing a custom widget.)

Usage

1
gdkWindowSetBackground(object, color)

Arguments

object

a GdkWindow

color

an allocated GdkColor

Details

The color must be allocated; gdkRgbFindColor is the best way to allocate a color.

See also gdkWindowSetBackPixmap.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on May 30, 2017, 5:53 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code