Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/lib-tk/tkCommonDialog.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@s!ddlTddd��YZdS(i�(t*tDialogcBs5eZdZdd�Zd�Zd�Zd�ZRS(cKsTtdkrtd�n||_||_|rP|jd�rP|d|_ndS(Ng���@s$this module requires Tk 4.2 or newertparent(t	TkVersiontTclErrortmastertoptionstget(tselfRR((s+/sys/lib/python2.7/lib-tk/tkCommonDialog.pyt__init__s		cCsdS(N((R((s+/sys/lib/python2.7/lib-tk/tkCommonDialog.pyt_fixoptionsscCs|S(N((Rtwidgettresult((s+/sys/lib/python2.7/lib-tk/tkCommonDialog.pyt
_fixresultscKs�x'|j�D]\}}||j|<q
W|j�t|j�}z:|jj|j|j|j��}|j	||�}Wdy|j
�WnnXX|S(N(titemsRR
tFrameRttktcalltcommandt_optionsR
tdestroy(RRtktvtwts((s+/sys/lib/python2.7/lib-tk/tkCommonDialog.pytshow"s
$N(t__name__t
__module__tNoneRR	R
R
R(((s+/sys/lib/python2.7/lib-tk/tkCommonDialog.pyR
s
		N((tTkinterR(((s+/sys/lib/python2.7/lib-tk/tkCommonDialog.pyt<module>s


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.