Standard Options


There are six standard options (-width -height -padx -pady -borderwidth -background) which can be gathered together in a flowchart and form an equivalent to "CSS Box Model".

tk widget module

Border Style

A visual representation of different types of -relief:

tk-relief: flat
tk-relief: groove
tk-relief: raised
tk-relief: ridge
tk-relief: solid
tk-relief: sunken

See Also

  • Tk documentation of standard options: [L1 ]
  • options