Constraints are items located in option -constraint
.
yes
if noprint is set, otherwise returns no
These constraints are realized:
obj method group constraint {{what {}} {how info}} { set constr [$self cget -constraint] if {$what eq ""} then { set constr } elseif {$how eq "info"} then { expr {$what in [$self cget -constraint] ? yes : no} } elseif {$how eq "toggle"} then { if {[$self constraint $what]} then { $self constraint $what no } else { $self constraint $what yes } } elseif {$how} then { if {$what ni $constr} then { lappend constr $what $self configure -constraint $constr } } else { set index [lsearch $constr $what] $self configure -constraint [lreplace $constr $index $index] } }
© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z