MCPcopy Create free account
hub / github.com/bpython/bpython / render

Method render

bpython/urwid.py:362–368  ·  view source on GitHub ↗
(self, size, focus=False)

Source from the content-addressed store, hash-verified

360 return super().get_cursor_coords(*args, **kwargs)
361
362 def render(self, size, focus=False):
363 # XXX I do not want to have to do this, but listbox gets confused
364 # if I do not (getting None out of get_cursor_coords because
365 # we just became unselectable, then having this render a cursor)
366 if not self._bpy_selectable:
367 focus = False
368 return super().render(size, focus=focus)
369
370 def get_pref_col(self, size):
371 # Need to make this deal with us being nonselectable

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected