Method: Curses::Window#getbkgd

Defined in:
curses.c

#getbkgdObject



1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
# File 'curses.c', line 1358

static VALUE
window_getbkgd(VALUE obj)
{
#ifdef HAVE_WGETBKGD
  chtype c;
  struct windata *winp;

  GetWINDOW(obj,winp);
  return (c = getbkgd(winp->window) != ERR) ? CH2FIX(c) : Qnil;
#else
  return Qnil;
#endif
}