• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ruby-104/ruby/ext/curses/

Lines Matching +refs:mouse +refs:scroll +refs:delay

56 /* supports only ncurses mouse routines */
851 * to scroll one line in the direction of the first line.
1255 rb_raise(rb_eRuntimeError, "no such mouse event");
1260 rb_raise(rb_eSecurityError, "Insecure: operation on untainted mouse");\
1291 * Returns coordinates of the mouse.
1293 * This will read and pop the mouse event data off the queue
1365 static VALUE func_name (VALUE mouse) \
1368 GetMOUSE(mouse, mdata); \
1375 * Returns the current mouse id
1381 * Returns the current mouse's X coordinate
1387 * Returns the current mouse's Y coordinate
1393 * Returns the current mouse's Z coordinate
1399 * Returns the current mouse's button state. Use this with the button state
1409 * call-seq: timeout=(delay)
1412 * - If delay is negative, blocking read is used (i.e., waits indefinitely for input).
1413 * - If delay is zero, then non-blocking read is used (i.e., read returns ERR if no input is waiting).
1414 * - If delay is positive, then read blocks for delay milliseconds, and returns ERR if there is still no input.
1418 curses_timeout(VALUE obj, VALUE delay)
1421 timeout(NUM2INT(delay));
2137 * scroll one line in the direction of the first line. Only the text of the
2178 * Document-method: Curses::Window.scroll
2189 return (scroll(winp->window) == OK) ? Qtrue : Qfalse;
2446 * When in no-delay mode Curses::Window#getch is a non-blocking call. If no
2449 * When in delay mode (+bool+ is +false+ which is the default),
2474 * call-seq: timeout=(delay)
2477 * - If delay is negative, blocking read is used (i.e., waits indefinitely for input).
2478 * - If delay is zero, then non-blocking read is used (i.e., read returns ERR if no input is waiting).
2479 * - If delay is positive, then read blocks for delay milliseconds, and returns ERR if there is still no input.
2483 window_timeout(VALUE obj, VALUE delay)
2488 wtimeout(winp->window,NUM2INT(delay));
2639 * * Curses::MouseEvent - class for collecting mouse events
2685 * * mouse.rb
2686 * :include: mouse.rb
2864 rb_define_method(cWindow, "scroll", window_scroll, 0);
3137 * mouse button 1 down
3147 * mouse button 1 up
3157 * mouse button 1 clicked
3167 * mouse button 1 double clicked
3177 * mouse button 1 triple clicked
3187 * mouse button 2 down
3197 * mouse button 2 up
3207 * mouse button 2 clicked
3217 * mouse button 2 double clicked
3227 * mouse button 2 triple clicked
3237 * mouse button 3 down
3247 * mouse button 3 up
3257 * mouse button 3 clicked
3267 * mouse button 3 double clicked
3277 * mouse button 3 triple clicked
3287 * mouse button 4 down
3297 * mouse button 4 up
3307 * mouse button 4 clicked
3317 * mouse button 4 double clicked
3327 * mouse button 4 triple clicked
3377 * report mouse movement