(在Tkinter中窗口部件类没有分级;所有的窗口部件类在树中都是兄弟。) ...,支持XBM;
create_image 绘制图片,支持GIF(x,y,image,anchor);
create_line 绘制支线;
create_oval...; 绘制椭圆;
create_polygon 绘制多边形(坐标依次罗列,不用加括号,还有参数,fill,outline);
create_rectangle 绘制矩形...((a,b,c,d),值为左上角和右下角的坐标);
create_text 绘制文字(字体参数font,);
create_window 绘制窗口;
delete...10、菜单Menu
参数:
tearoff 分窗,0为在原窗,1为点击分为两个窗口
bg,fg 背景,前景
borderwidth