events.custom module

Provides a way to create custom events.

class events.custom.CustomEvent(**kwargs)[source]

Bases: object

Class inherited to create custom events.

__init__(**kwargs)[source]

Called on instantiation.

fire()[source]

Fire the event with the stored variable values.

reset()[source]

Reset all event variable values to their default values.

name

Return the name of the event.