Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error with Bwidget Notebook and Blt busy

Status
Not open for further replies.

fabien

Technical User
Sep 25, 2001
299
AU
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!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top