Tk Source Code

Artifact [05116ee0]
Login

Artifact 05116ee0a35de266331844f29b672bdbf4a06c6c:

Attachment "textFont.tcl" to ticket [852669ff] added by vincentdarley 2003-12-03 02:01:33.
pack [text .t]
font create no -family [lindex [.t cget -font] 0] -size 24
font create bi -family [lindex [.t cget -font] 0] -size 24
font configure bi -weight bold -slant italic
.t tag configure bi -font bi
.t tag configure no -font no
.t insert 1.0 abcd {} efgh bi ijkl\n {}
.t insert end abcd no efgh bi ijkl no
console show