EventListener


Description:

[ CCode ( has_construct_function = false ) ]
public EventListener (owned EventListenerCB callback)

Creates a new EventListener associated with a specified callback.

Parameters:

callback

An EventListenerCB to be called when an event is fired.

callback_destroyed

A DestroyNotify called when the listener is freed and data associated with the callback should be freed. Can be NULL.

user_data

data to pass to the callback.

Returns:

A new EventListener.




2022 vala-language.org