ncurses_getmouse
Opis
bool ncurses_getmouse ( array &mevent )Ostrzeżenie |
Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko. |
ncurses_getmouse() reads mouse event out of queue.
Parametry
mevent
Event options will be delivered in this parameter which has to be an array, passed by reference (see example below).
On success an associative array with following keys will be delivered:
"id" : Id to distinguish multiple devices
"x" : screen relative x-position in character cells
"y" : screen relative y-position in character cells
"z" : currently not supported
"mmask" : Mouse action
Zwracane wartości
Returns FALSE if a mouse event is actually visible in the given window, otherwise returns TRUE.
Poprzedni | Spis treści | Następny |
ncurses_getmaxyx | Początek rozdziału |