connect

Binds a function to a Slot. A payload can be passed if the function to call is a data member function of the same or if the function accepts as its first parameter a reference to its type.

  1. void connect(Slot!F slot)
    package
    void
    connect
    (
    alias pred
    F
    )
    (
    auto ref Slot!F slot
    )
  2. void connect(Slot!F slot, T instance)

Parameters

pred

the function to bind.

slot Slot!F

the Slot that holds the function.

Meta