def create_inspector(win, ctx, *l):
 ctx.inspector = Inspector(win=win)
 win.bind(children=ctx.inspector.on_window_children, on_keyboard=ctx.inspector.keyboard_shortcut)

def create_inspector ( win , ctx , * l ) : ctx . inspector = Inspector ( win = win ) win . bind ( children = ctx . inspector . on_window_children , on_keyboard = ctx . inspector . keyboard_shortcut )
create an inspector instance attached to the *ctx* and bound to the windows :meth:~kivy .