aboutsummaryrefslogtreecommitdiff
path: root/test/toxy/lbpict.wid
blob: 6378f8ef4a4a5da94ad38d65ad330610ed2f8d62 (plain)
1
2
3
4
5
6
7
8
9
proc ::toxy::lbpict {path fname} {
    if {[catch {$path config -image [image create photo -file $fname]} res]} {
	puts stderr [concat failed ::toxy::lbpict: $res]
    }
}

#> lbpict label

::toxy::lbpict .- .#fname