Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
solid_fill.cpython-313.pyc27 linesDownload Raw Back to __pycache__
1�

2��j���N�SSKJr SSKJr SSKJrJr SSKJr "SS\5r	g)	�)�annotations)�SolidCanvas�)�
SHADE_SYMBOLS�Sizing)�Widgetc�^�\rSrSrSrSrSr\"\R/5r3\rS	S4U4Sjjjr
SU4SjjrSS
SjjrSrU=r$)�	SolidFill�	z95A box widget that fills an area with a single character6FTc�.>�[TU]5 Xlg)z�7:param fill_char: character to fill area with8:type fill_char: bytes or unicode9 10>>> SolidFill("8")11<SolidFill box widget '8'>12N)�super�__init__�	fill_char)�selfr�	__class__s  ��]D:\code\apps\devtools\python\user_packages\Python313\site-packages\urwid/widget/solid_fill.pyr�SolidFill.__init__s���	����"��c�N>�/[TU]5Q[UR5P$)N)r
�_repr_words�reprr)rrs �rr�SolidFill._repr_wordss$���=���$�&�=��T�^�^�(<�=�=rc�6�Uup4[URX45$)z�13Render the Fill as a canvas and return it.14 15>>> SolidFill().render((4, 2)).text  # ... = b in Python 316[...'    ', ...'    ']17>>> SolidFill("#").render((5, 3)).text18[...'#####', ...'#####', ...'#####']19)rr)r�size�focus�maxcol�maxrows     r�render�SolidFill.render"s������4�>�>�6�:�:r)r)� )r�str�return�None)r"z	list[str])F)rztuple[int, int]r�boolr"r)�__name__�20__module__�__qualname__�__firstlineno__�__doc__�_selectable�ignore_focus�	frozensetr�BOX�_sizingr�Symbolsrrr�__static_attributes__�
__classcell__)rs@rr21r22	sc�����K��L������%�G��G�	#�	#�>��;��;��;�23�	;�;rr24N)25�26__future__r�urwid.canvasr�	constantsrr�widgetrr27�rr�<module>r7s��"�$�,��';��';r
codekingpro/portable-devtools · Team Ai