RB.Shell::visibility-changing

def callback(shell, initial, visible, user_param1, ...)

Emitted before the visibility of the main window changes. The return value overrides the visibility setting. If multiple signal handlers are attached, the last one wins.

shell :

instance of RB.Shell that is emitting the signal

initial :

if True, this is the initial visibility for the window

visible :

new shell visibility

user_param1 :

first user parameter (if any) specified with the connect() method

... :

additional user parameters (if any)