home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2006 April
/
SGP.iso
/
dema
/
Keepsake-Demo-en-li-v1.0.exe
/
res
/
bin
/
prime
/
oz'label.tcl
< prev
next >
Wrap
Text File
|
2005-10-29
|
587b
|
21 lines
proc oz'label::property {this args} {
set optstring {
{text ""}
{font ""}
{fsize 10}
{color "1 1 1"}
{center 1}
}
array set v [cmdline::getopt $args $optstring]
if {$v(text?)} {oz'label::text $this $v(text)}
if {$v(center?)} {oz'label::center $this $v(center)}
if {$v(font?)} {oz'label::font $this $v(font)}
if {$v(fsize?)} {oz'label::fsize $this $v(fsize)}
if {$v(color?)} {oz'label::color $this $v(color.0) $v(color.1) $v(color.2)}
eval "oz'widget::property $this $args"
}