[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vic typo?
Hi, I've been messing around with vic, and came across what I think is a
typo, though I'm fairly incompetent with Tcl, so maybe it's a way to
change class variables, though I doubt it, but at the time I'm hunting for
that syntax anyway. :)
mash/tcl/vic/ui-visualframe.tcl line 216
$self set_dither Gray
theres a function named set-dither, so its simply a -/_ typo.
Class foo {
blah 1
}
i haven't been able to find a very indepth tcl reference online, so i'm
mostly learning from code examples
to reference a class var, i use
set foo [$self get_option blah]
is this the best way to do this?
how do change the value of blah?
set blah 2 ?
im using that but blah seems to revert back to 1 once i leave the
function.
also, are there any good tcl tutorials online that go into depth about
this stuff?
thanks,
chris