def show_quickpanel(captions, entries, show_cancel=False):
 if show_cancel:
  Quickpanel = CancelEntriesQuickpanel
 else:
  Quickpanel = EntriesQuickpanel
 Quickpanel(captions, entries).show_quickpanel()

def show_quickpanel ( captions , entries , show_cancel = False ) : if show_cancel : Quickpanel = CancelEntriesQuickpanel else : Quickpanel = EntriesQuickpanel Quickpanel ( captions , entries ) . show_quickpanel ( )
creates a panel to navigate between the entries .