Presentation is loading. Please wait.

Presentation is loading. Please wait.

Innovation Intelligence ® Feb 2013. Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. GUI design Controls Toplevel.

Similar presentations


Presentation on theme: "Innovation Intelligence ® Feb 2013. Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. GUI design Controls Toplevel."— Presentation transcript:

1 Innovation Intelligence ® Feb 2013

2 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

3 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. toplevel Option: -borderwidth -background -relief -width -height

4 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. frame Option: -borderwidth -background -padx -pady -relief -height -width

5 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. button Option: -background -relief -text -command -width -height -state

6 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. label Option: -background -relief -text -width -height -state -image

7 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. labelframe Option: -background -relief -text -width -height -font -labelanchor -labelwidget

8 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. entry Option: -textvariable -text -width -font

9 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. checkbutton Option: -text -variable -width -state -textvariable -command

10 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. radiobutton Option: -text -variable -value -command

11 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Geometry manager pack

12 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Geometry manager grid

13 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

14 Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. Q & A Questions?


Download ppt "Innovation Intelligence ® Feb 2013. Copyright © 2012 Altair Engineering, Inc. Proprietary and Confidential. All rights reserved. GUI design Controls Toplevel."

Similar presentations


Ads by Google