Tk Source Code

Artifact [05bb6bba]
Login

Artifact 05bb6bbabccfa4153a998f9aa2c55a46e304e44fc1b4ca29bb402646cb125d48:

Attachment "demo-snb.tcl" to ticket [2782346f] added by bll 2020-01-03 17:58:25.
package require Tk

source snb.tcl

::scrollnotebook .nb -maxtabs 4
pack .nb -expand 1 -fill both
foreach k {a b c d e f g h} {
  ttk::frame .$k
  .nb add .$k -text [string repeat $k 10]
}
.nb hide .c