C
csjasnoch
Is it possible to initialize the tk variables so the effect is shown in
say buttons.
For example a checkbox:
check1 = TkVariable.new
TkCheckButton.new(buttonFrm){
variable check1
command active1ButtonChecked
}.pack('side'=>'left')
The idea is I want it to open as my file states it should... So I have
a string
0:0:0:1:0:1:0:0:0
so if these were some check box variables when the program starts there
is read and I want to initialize the 4th and 6th check box to
"checked" and the rest unchecked.
I also want to be able to do this with buttons with image binded.
Thank you for you help.
say buttons.
For example a checkbox:
check1 = TkVariable.new
TkCheckButton.new(buttonFrm){
variable check1
command active1ButtonChecked
}.pack('side'=>'left')
The idea is I want it to open as my file states it should... So I have
a string
0:0:0:1:0:1:0:0:0
so if these were some check box variables when the program starts there
is read and I want to initialize the 4th and 6th check box to
"checked" and the rest unchecked.
I also want to be able to do this with buttons with image binded.
Thank you for you help.