width属性

width属性

表示注意事项的width,单位为像素。

例子


comment1.width = 10

定义:

@property
def width(self):
    ...
@width.setter
def width(self, value):
    ...

也可以看看