例如我要初始化Scrollbarhbar=Scrollbar(orient='horizontal')怎么知道orient这个参数有什么属性help也没有列出参数的属性啊只列出了参数help(Scrollbar.__init__)Helponfunction__in...
例如 我要初始化Scrollbar
hbar = Scrollbar(orient='horizontal')
怎么知道orient这个参数有什么属性
help也没有列出参数的属性啊 只列出了参数
help(Scrollbar.__init__)
Help on function __init__ in module tkinter:
__init__(self, master=None, cnf={}, **kw)
Construct a scrollbar widget with the parent MASTER.
Valid resource names: activebackground, activerelief,
background, bd, bg, borderwidth, command, cursor,
elementborderwidth, highlightbackground,
highlightcolor, highlightthickness, jump, orient,
relief, repeatdelay, repeatinterval, takefocus,
troughcolor, width.
如何 call the method keys.
help(Scrollbar.config)
Help on function configure in module tkinter:
configure(self, cnf=None, **kw)
Configure resources of a widget.
The values for resources are specified as keyword
arguments. To get an overview about
the allowed keyword arguments call the method keys.
展开