用法:
class tkinter.tix.Tk(screenName=None, baseName=None, className='Tix')
Tix 的頂級小部件,主要代表應用程序的主窗口。它有一個相關的 Tcl 解釋器。
tkinter.tix
模塊中的類是tkinter
中的類的子類。前者導入後者,因此要在 Tkinter 中使用tkinter.tix
,您隻需導入一個模塊即可。通常,您可以隻導入tkinter.tix
,並將對tkinter.Tk
的頂級調用替換為tix.Tk
:from tkinter import tix from tkinter.constants import * root = tix.Tk()
相關用法
- Python tkinter.tix.tixCommand用法及代碼示例
- Python tkinter.ttk.Style.map用法及代碼示例
- Python tkinter.ttk.Style.theme_settings用法及代碼示例
- Python tkinter.ttk.Style.layout用法及代碼示例
- Python tkinter.ttk.Style.configure用法及代碼示例
- Python tkinter.ttk.Style.lookup用法及代碼示例
- Python torch.distributed.rpc.rpc_async用法及代碼示例
- Python torch.nn.InstanceNorm3d用法及代碼示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代碼示例
- Python tf.compat.v1.distribute.MirroredStrategy.experimental_distribute_dataset用法及代碼示例
- Python torchaudio.transforms.Fade用法及代碼示例
- Python tf.compat.v1.data.TFRecordDataset.interleave用法及代碼示例
- Python tf.summary.scalar用法及代碼示例
- Python tf.linalg.LinearOperatorFullMatrix.matvec用法及代碼示例
- Python tf.linalg.LinearOperatorToeplitz.solve用法及代碼示例
- Python tf.raw_ops.TPUReplicatedInput用法及代碼示例
- Python tf.raw_ops.Bitcast用法及代碼示例
- Python tf.compat.v1.distributions.Bernoulli.cross_entropy用法及代碼示例
- Python Pandas tseries.offsets.CustomBusinessHour.onOffset用法及代碼示例
- Python torch.special.gammaincc用法及代碼示例
注:本文由純淨天空篩選整理自python.org大神的英文原創作品 tkinter.tix.Tk。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。