python模块tkinter的window-methods

demo
原文

1. args

1
2
3
4
5
6
7
8
attributes(*args) # Sets or gets window attributes.
# args
alpha=
disabled=
modified=
titlepath=
toolwindow=
topmost=

2. methods

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
client(name=None) [#]
colormapwindows(*wlist) [#]
command(value=None)
deiconify()
iconify()
iconname(newName=None) [#]
iconmask(bitmap=None) [#]
iconposition(x=None, y=None) [#]
iconwindow(window=None) [#]
geometry(geometry=None) [#]
resizable(width=None, height=None) [#]
iconbitmap(bitmap=None) [#]
maxsize(width=None, height=None) [#]
minsize(width=None, height=None) [#]
overrideredirect(flag=None) [#]
positionfrom(who=None) [#]
sizefrom(who=None) [#]
state(newstate=None) [#] iconic,withdraw,icon,normal
title(string=None) [#]
withdraw() [#] # Removes the window from the screen (without destroying it). To redraw the window, use deiconify.

×

纯属好玩

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

文章目录
  1. 1. 1. args
  2. 2. 2. methods
,