Home
last modified time | relevance | path

Searched refs:color_content (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_curses.py883 self.assertEqual(curses.color_content(curses.COLOR_BLACK), (0, 0, 0))
884 curses.color_content(0)
886 curses.color_content(maxcolor)
889 self.assertRaises(ValueError, curses.color_content, color)
896 old = curses.color_content(0)
903 self.assertEqual(curses.color_content(0), (0, 0, 0))
905 self.assertEqual(curses.color_content(0), (1000, 1000, 1000))
908 old = curses.color_content(maxcolor)
912 self.assertEqual(curses.color_content(maxcolor), (0, 500, 1000))
/external/python/cffi/demo/
D_curses.py651 def color_content(color): function
654 if lib.color_content(color, r, g, b) == lib.ERR:
/external/python/cpython2/Lib/test/
Dtest_curses.py272 curses.color_content(1)
/external/python/cpython3/Modules/
D_cursesmodule.c156 #define _COLOR_CONTENT_FUNC color_content
/external/python/cpython2/Modules/
D_cursesmodule.c1747 if (color_content(color, &r, &g, &b) != ERR) in PyCurses_Color_Content()
/external/python/cpython2/Doc/library/
Dcurses.rst104 .. function:: color_content(color_number)
/external/python/cpython3/Doc/library/
Dcurses.rst112 .. function:: color_content(color_number)
/external/python/cpython3/Doc/whatsnew/
D3.10.rst978 by :func:`curses.color_content`, :func:`curses.init_color`,