Manuál PHP | ||
---|---|---|
Předcházející | Další |
ncurses_getmouse
Popis
bool ncurses_getmouse ( array &mevent )Varování |
Tato funkce je EXPERIMENTÁLNÍ. Chování této funkce, její název a všechno ostatní, co je zde zdokumentováno, se v budoucích verzích PHP může BEZ OHLÁŠENÍ změnit. Berte to v úvahu a používejte tuto funkci na vlastní nebezpečí. |
ncurses_getmouse() reads mouse event out of queue.
Seznam parametrů
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
Návratové hodnoty
Returns FALSE if a mouse event is actually visible in the given window, otherwise returns TRUE.
Předcházející | Domů | Další |
ncurses_getmaxyx | Nahoru |