Innovation Intelligence ® Feb 2013
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. GUI design Controls Toplevel Frame Button Label labelframe Entry Checkbutton Radiobutton Tk_messageBox Geometry manager Pack Grid
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. toplevel Option: -borderwidth -background -relief -width -height
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. frame Option: -borderwidth -background -padx -pady -relief -height -width
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. button Option: -background -relief -text -command -width -height -state
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. label Option: -background -relief -text -width -height -state -image
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. labelframe Option: -background -relief -text -width -height -font -labelanchor -labelwidget
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. entry Option: -textvariable -text -width -font
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. checkbutton Option: -text -variable -width -state -textvariable -command
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. radiobutton Option: -text -variable -value -command
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Geometry manager pack
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Geometry manager grid
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Exercise: how to create a window like this? 需要的命令: toplevel button frame -option background grid or pack
Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Q & A Questions?