def __init__(self, parent=None):
tk.Tk.__init__(self, parent)
self.parent = parent
self.log_text = tkst.ScrolledText(self, state=tk.DISABLED)
self.log_text.configure(font='TkFixedFont')
self.log_text.pack(side=tk.LEFT, padx=5, pady=5)
self.start_button = ttk.Button(parent, text='Start ConsoleMini', state=tk.NORMAL,
command=self.start_twitch_bits_info)
self.start_button.pack(side=tk.TOP, padx=12, pady=12)
self.stop_button = ttk.Button(parent, text='Stop ConsoleMini', state=tk.DISABLED,
command=self.stop_twitch_bits_info)
self.stop_button.pack(side=tk.TOP, padx=12, pady=12)
self.update_button = ttk.Button(parent, text='Manual update JSON', state=tk.DISABLED,
command=self.manual_update_json)
self.update_button.pack(side=tk.TOP, padx=12, pady=12)
评论列表
文章目录