This demo has two windows, both with different values for "durations" option.

Minimize, maximize, restore and show windows to feel the different durations applied.