编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « UI\Area::onDraw
  • UI\Area::onMouse »
  • PHP Manual
  • UI\Area
  • Key Callback

UI\Area::onKey

(PHP 7, UI 0.9.9)

UI\Area::onKey — Key Callback

说明

protected UI\Area::onKey ( string $key , int $ext , int $flags )

Shall be executed on key events

参数

key

The key pressed

ext

The extended key pressed

flags

Event modifiers

返回值

相关文章
php callbackfilteriterator calls the callback with the current value the current key and the inner iterator as argumentsphp ui areaphp ui radio controlphp ui font descriptorphp ui key identifiersphp gnupg 函数 add a key for signingphp ncurses 函数 enables/disable 8 bit meta key informationphp newt 函数 set a callback function which gets invoked when user presses the suspend keyphp oci8 函数 unregister a user defined callback function for oracle database tafphp swoole client add callback functions triggered by events.php ui area draw callbackphp ui area key callbackphp ui area mouse callbackphp ui area redraw areaphp ui area area scrollphp ui area set sizephp ui controls check toggle callbackphp ui executor execution callbackphp ui menuitem on click callbackphp ui window closing callback
关注编程学问公众号
编程学问网 湘ICP备20001732号