The "event" signal is emitted when any GdkEvent is captured by the connected widget's underlying GdkWindow.

All event signals return false until the event has been propagated to the widget that will handle it, at which point they return true, the event is no longer propagated and the signal is no longer fired.

Each event causes two signal emissions; the generic event signal described here, and the specific event signal that is being called, such as the "key-press-event" signal. The "event" signal itself is unlikely to be used directly on its own account very often.

All event signals carry the event that caused the signal to be fired as the first parameter after the connecting widget. You may add as many parameters as you like that contain data specific to your application.

You can limit or extend the events that are captured by a windowed widget by setting one or more GdkEventMask flags for the widget. See add_events() , and set_events() .

Callback function

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.