评论 (3)
#2 – yoleg 于 2019-03-09
@andypugh The kw argument means that any attributes or child tags that are not listed in the arguments get passed along to Tk’s Frame class. So any valid Frame arguments become valid options. The docstring I added already contains a couple of examples: highlightthickness="10" and highlightbackground="#CCCCCC". The pyvcp_label class already does the same thing with Tk’s Label class (and personally I think all the classes should do this).
#3 – andypugh 于 2019-03-10
Thanks for the pull request.
#1 – andypugh 于 2019-03-09
Looks reasonable, but can you give an example of what the kw argument does?