Method: Curses::Window#begx
- Defined in:
- ext/curses/curses.c
#begx ⇒ Object
A getter for the beginning column (X coord) of the window
2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 |
# File 'ext/curses/curses.c', line 2316 static VALUE window_begx(VALUE obj) { struct windata *winp; int x, RB_UNUSED_VAR(y); GetWINDOW(obj, winp); #ifdef getbegyx getbegyx(winp->window, y, x); #else x = winp->window->_begx; #endif return INT2FIX(x); } |