Matlab GUI,颜色对话框,设置按钮背景颜色
时间:2025-08-14 15:37来源:本站 作者:admin666 点击:
次
import tkinterwindow = tkinter.Tk()width = 600height = 400screen_width = window.winfo_screenwidth()screen_height = window.winfo_screenheight()x = screen_width/2-width/2y = screen_height/2-height/2window.geometry(%dx%d+%d+%d%(width,height,x,y
import tkinter
window = tkinter.Tk()
width = 600
height = 400
screen_width = window.winfo_screenwidth()
screen_height = window.winfo_screenheight()
x = screen_width/2-width/2
y = screen_height/2-height/2
window.geometry("%dx%d+%d+%d"%(width,height,x,y))
d
(责任编辑:蚂蚁团队) |
织梦二维码生成器
------分隔线----------------------------