Method: Curses::Window#begy
- Defined in:
- ext/curses/curses.c
#begy ⇒ Object
A getter for the beginning line (Y coord) of the window
2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 |
# File 'ext/curses/curses.c', line 2296
static VALUE
window_begy(VALUE obj)
{
struct windata *winp;
int RB_UNUSED_VAR(x), y;
GetWINDOW(obj, winp);
#ifdef getbegyx
getbegyx(winp->window, y, x);
#else
y = winp->window->_begy;
#endif
return INT2FIX(y);
}
|