Panel.userptr()

Returns the user pointer for the panel. This might be any Python object.

Related Reading

curses.panel — A panel stack extension for curses