set_execute_on_all_layers

keypress.set_execute_on_all_layers(q)

If True, callbacks of this container are executed even if the associated layer is not visible.

(By default, callbacks are only executed if the associated layer is visible!)

Parameters:

q (bool) – True if callbacks should be executed irrespective of the visible layer.