button_press_event


Description:

[ Version ( since = "2.14" ) ]
public virtual signal bool button_press_event (EventButton event)

The button_press_event signal will be emitted when a button (typically from a mouse) is pressed.

Whether this event is emitted is platform-dependent. Use the activate and popup_menu signals in preference.

Parameters:

event

the EventButton which triggered this signal

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.




2022 vala-language.org