PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

clicked | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

clicked

The "clicked" signal is emitted at the midpoint between pressing and releasing the mouse-button. This is the most commonly used GtkButton signal, and holds an advantage over the other signals listed here in that it also responds to enter or spacebar keypresses as though they were mouse-clicks. Signals that have this property are wrappers for an internal GtkWidget signal named 'activate_signal'; all interactive widgets contain one such method/signal pair, with appropriate keyboard bindings.

Note that the "clicked" signal will not fire when the mouse-button is released after the cursor has left the widget's region. The activate type of signals are by nature region-specific.

Use one of the connect() methods in order to emit the signal and connect it to your function. The connected function is known as the callback or signal-handler function:

For further information about connecting signals, refer to the Signals and Callbacks chapter in the PHP-GTK Userguide.

Callback function

忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「clicked」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | clicked」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: