gdkWindowSetBackground {RGtk2}R Documentation

gdkWindowSetBackground

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

gdkWindowSetBackground(object, color)

Arguments

object [GdkWindow] a GdkWindow
color [GdkColor] 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


[Package RGtk2 version 2.12.5-3 Index]