Declaring a Widget Class
tixWidgetClass tixOnOff {
-classname TixOnOff
-superclass tixPrimitive
-flag {
-text -value
}
-configspec {
{-text text Text {On Off}}
{-value value Value off}
}
-method {
toggle
}
...
}
Previous slide
Next slide
Back to first slide
View graphic version