Method: Curses::Window#bkgdset

Defined in:
ext/curses/curses.c

#bkgdset(ch) ⇒ Object

Manipulate the background of the current window with character Integer ch

see also Curses.bkgdset



2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'ext/curses/curses.c', line 2882

static VALUE
window_bkgdset(VALUE obj, VALUE ch)
{
#ifdef HAVE_WBKGDSET
    struct windata *winp;

    GetWINDOW(obj,winp);
    wbkgdset(winp->window, OBJ2CHTYPE(ch));
#endif
    return Qnil;
}