Poison-ui

A cross-platform desktop/mobile UI engine written in D using dsfml

View project on GitHub

Dub version

poison.core.eventhandler

Source

Module for event handlers.

Authors:

  Jacob Jensen

License:

  https://github.com/PoisonEngine/poison-ui/blob/master/LICENSE

public:





public interface IBaseEventHandler;


A base event handler.


public class EventHandler(TEventArgs : EventArgs) : IBaseEventHandler


        public:



An event handler.


public this(void function(TEventArgs) f);


Creates a new event handler.

Parameters:

fThe function pointer.

public this(void delegate(TEventArgs) d);


Creates a new event handler.

Parameters:

dThe delegate.

public void opCall(TEventArgs e);


Operator overload for calling the event handler implicit.

Parameters:

eThe event args.

Generated by venom - Poison Engine's Documentation Generator