downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

newt_suspend> <newt_set_help_callback
[edit] Last updated: Wed, 19 Jun 2013

view this page in

newt_set_suspend_callback

(PECL newt >= 0.1)

newt_set_suspend_callback ユーザーがサスペンドキーを押した際に起動するコールバック関数を設定する

説明

void newt_set_suspend_callback ( callable $function , mixed $data )

ユーザーがサスペンドキー(通常は ^Z)を押した際に起動するコールバック関数を 設定します。コールバックが登録されていない場合、サスペンドのキー入力は 無視されます。

パラメータ

function

ひとつの引数 data を受け取るコールバック関数。

data

コールバック関数に渡されるデータ。

返り値

値を返しません。

参考

  • newt_suspend() - 端末を元の状態に戻すよう、newt に通知する
  • newt_resume() - newt_suspend をコールした後に newt インターフェイスの使用を再開する



add a note add a note User Contributed Notes newt_set_suspend_callback - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites