Gambas Documentation - /comp/gb.ncurses/window/background

# Window.Background (gb.ncurses)

Property Background As Integer

Returns or sets the background color of the Window, i.e. one of the constants in Color. Changes take place on the entire content, not only for subsequent operations as it would be with using .Attributes.Color.

Changes to this property affect the Window's color pair and thus potentially other parts of the screen. Refer to the Color class for discussion.

### Examples

    ' Scare MS people >:-)
    Window.Background = Color.Blue
    Window.Foreground = Color.White

### See also

- Color,

- Attributes,

- Foreground