appid_label = customtkinter.CTkLabel(self, text="AppID:", font=('Helvetica', 14), width=1, height=1) appid_label.grid(row=23, column=2, columnspan=20, rowspan=2, sticky=W) selected_games_dlcs = customtkinter.CTkLabel(self, text="Selected Games/DLCs", font=('Calibri', 14), width...
问customtkinter -使用主框架以外的其他类创建框架,然后将其分配给主框架。EN我正在尝试在其他类中创建...
问启用和禁用多个复选框CustomTkinterEN在html标签中设置按钮被禁用,可以使用如下代码 在jquery中可以...
问在tkinter/customtkinter中使用实例属性和类方法的范围问题ENclass Animal(object): # 类对象 age = 0 # 公有类属性 __like = None # 私有类属性 def __init__(self): # 魔法方法 self.name = 'haha' # 公有实例属性 self.__sex = 'man' # 私有实例属性 ...
self.header_frame.columnconfigure(2, weight=0) self.header_frame.columnconfigure(3, weight=0) # Add this line for the new column # Logo and title self.logo_frame = ctk.CTkFrame(self.header_frame, fg_color="#F1F3FF") self.logo_frame.grid(row=0, column=0, sticky="w") try...
问_tkinter.TclError:无法删除Tcl命令- customtkinter -定制提示EN前端设计是把源代码综合为对应的门级网...
(customtkinter.CTk): def __init__(self): super().__init__() self.title("CTkScrollableFrame example") self.grid_rowconfigure(0, weight=1) self.columnconfigure(2, weight=1) # create scrollable checkbox frame self.scrollable_checkbox_frame = ScrollableCheckBoxFrame(master=self, width=200, ...
(self.main_frame, fg_color="#F1F3FF") self.header_frame.grid(row=0, column=0, sticky="ew", pady=(0, 20)) self.header_frame.columnconfigure(0, weight=1) self.header_frame.columnconfigure(1, weight=0) self.header_frame.columnconfigure(2, weight=0) self.header_frame.columnconfigure(3...
我正在使用 Customtkinter 开发 GUI,我将在文本框中输入多个输入,使用 .place() 我让文本框显示在框架内我想要的位置。 但是我希望文本框更长- 我尝试使用 .pack(ipadx=90, ipady=10) 这是我所追求的尺寸,但是如果我实现这个,文本框的位置会发生变化 - 我似乎只能使用 .pack() 或.place(),但是如果我只...
self.grid_rowconfigure(0, weight=1) # 列方向のマスのレイアウトを設定する self.grid_columnconfigure(0, weight=1) # フレームのラベルを表示 self.label = customtkinter.CTkLabel(self, text=self.header_name, font=(FONT_TYPE, 11)) self.label.grid(row=0, column=0, padx=20, sticky="...