Good evening,
I use Itcl, but I've got many problem with it!
I'd like to know how can we access to $this or to a class variable in the '-command' option of a Tk button.
I've got another problem, when I create two objects car1 and car2 which belong to the same Itcl class, and when I acces to an Itcl variable of car1, from a C procedure using Tcl_GetVar(...), the result is not always the value of the car1's variable! The result is often the value of another object's variable, car2's variable...
I'm very Angry, could you help me before my computer fall down...
Thanx!
I use Itcl, but I've got many problem with it!
I'd like to know how can we access to $this or to a class variable in the '-command' option of a Tk button.
I've got another problem, when I create two objects car1 and car2 which belong to the same Itcl class, and when I acces to an Itcl variable of car1, from a C procedure using Tcl_GetVar(...), the result is not always the value of the car1's variable! The result is often the value of another object's variable, car2's variable...
I'm very Angry, could you help me before my computer fall down...
Thanx!