def connect_action_bool(action, fn):
 action.triggered[bool].connect(fn)

def connect_action_bool ( action , fn ) : action . triggered [ bool ] . connect ( fn )
connect a triggered action to a function .