Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   has_mouse.3x    ( 3 )

интерфейс курсора мыши с помощью библиотеки Curses (mouse interface through curses)

  Name  |  Synopsis  |  Description  |    Return value    |  Portability  |  Bugs  |  See also  |

Возвращаемое значение (Return value)

getmouse and ungetmouse return the integer ERR upon failure or OK upon successful completion:

getmouse returns an error.

• If no mouse driver was initialized, or if the mask parameter is zero,

• It also returns an error if no more events remain in the queue.

ungetmouse returns an error if the FIFO is full.

mousemask returns the mask of reportable events.

mouseinterval returns the previous interval value, unless the terminal was not initialized. In that case, it returns the maximum interval value (166).

wenclose and wmouse_trafo are boolean functions returning TRUE or FALSE depending on their test result.