Function GodotObject.notification

Send a given notification to the object, which will also trigger a call to the notification method of all classes that the object inherits from. If reversed is true, notification is called first on the object's own class, and then up to its successive parent classes. If reversed is false, notification is called first on the highest ancestor (GodotObject itself), and then down to its successive inheriting classes.

void notification (
  const(long) what,
  const(bool) reversed = false
) nothrow @nogc;