MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / _styled_win

Function _styled_win

scripts/kconfig/menuconfig.py:2843–2850  ·  view source on GitHub ↗
(style)

Source from the content-addressed store, hash-verified

2841
2842
2843def _styled_win(style):
2844 # Returns a new curses window with style 'style' and space as the fill
2845 # character. The initial dimensions are (1, 1), so the window needs to be
2846 # sized and positioned separately.
2847
2848 win = curses.newwin(1, 1)
2849 _set_style(win, style)
2850 return win
2851
2852
2853def _set_style(win, style):

Callers 5

_initFunction · 0.85
_input_dialogFunction · 0.85
_key_dialogFunction · 0.85
_jump_to_dialogFunction · 0.85
_info_dialogFunction · 0.85

Calls 1

_set_styleFunction · 0.85

Tested by

no test coverage detected