Skip to content
Gajdos Gábor edited this page Mar 24, 2022 · 1 revision

Delegate is an object that is used in the Account Manager to notify about events happening with orders, positions and other information displayed in the tables.

subscribe(object, member)

  1. object is an owner of member, and can be null for a function
  2. member is a method of object

Subscribes object::member to the event.

unsubscribe(object, member)

Unsubscribes object::member from the event.

Use the same object and member that you used in the subscribe function to unsubscribe from the event.

Clone this wiki locally