Hi!
I am using Bwidget Notebook and Blt busy functions:
in one of my proc I set
# invoke blt busy function
#blt::busy configure .mainframe -cursor "watch"
blt::busy hold . -cursor watch
update
blablala (series of loops)
#release busy
blt::busy release .
blt::busy forget .
Which is called via a button, When I click on it the cursor changes to a watch that's OK BUT I get an application error window with details:
can't read "data(realized)": no such variable
can't read "data(realized)": no such variable
while executing
"if {!$data(realized)} {
if { [set width [Widget::cget $path -width]] == 0 ||
[set height [Widget::cget $path -height]] == 0 } {
compute_..."
(procedure "NoteBook::_resize" line 5)
invoked from within
"NoteBook::_resize .#BWidgetClass#NoteBook"
(command bound to event)
Can someone pls help me find why?
In the same program I use BLT bgexec without any problems..
Thanks!
I am using Bwidget Notebook and Blt busy functions:
in one of my proc I set
# invoke blt busy function
#blt::busy configure .mainframe -cursor "watch"
blt::busy hold . -cursor watch
update
blablala (series of loops)
#release busy
blt::busy release .
blt::busy forget .
Which is called via a button, When I click on it the cursor changes to a watch that's OK BUT I get an application error window with details:
can't read "data(realized)": no such variable
can't read "data(realized)": no such variable
while executing
"if {!$data(realized)} {
if { [set width [Widget::cget $path -width]] == 0 ||
[set height [Widget::cget $path -height]] == 0 } {
compute_..."
(procedure "NoteBook::_resize" line 5)
invoked from within
"NoteBook::_resize .#BWidgetClass#NoteBook"
(command bound to event)
Can someone pls help me find why?
In the same program I use BLT bgexec without any problems..
Thanks!