[Incrtcl-develop] [ incrtcl-Bugs-1539966 ] itk::Widget and itk::Toplevel fail with a path with spaces
by SourceForge.net other posts by this author
Aug 14 2006 5:35AM messages near this date
[Incrtcl-develop] [ incrtcl-Bugs-1541125 ] Crash on startup/error/exit
|
[Incrtcl-develop] [ incrtcl-Patches-1527656 ] Remove [update]s in several Iwidgets' widgets
Bugs item #1539966, was opened at 2006-08-14 14:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=113244&aid=1539966&group_id=13244
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Other
Group: 3.3.0
Status: Open
Resolution: None
Priority: 5
Submitted By: Cyan Ogilvie (cyan)
Assigned to: David Gravereaux (davygrvy)
Summary: itk::Widget and itk::Toplevel fail with a path with spaces
Initial Comment:
When a widget path is used that contains a space, like:
toplevel ".foo bar"
with a widget that inherits from itk::Toplevel or
itk::Widget, problems occur due to the <Destroy>
binding setup in the constructor. The following one
line change in Widget and Toplevel resolve the problem:
--- old/Widget.itk 2006-08-14 14:31:47.000000000 +0200
+++ Widget.itk 2006-07-31 02:01:37.000000000 +0200
@@ -47,7 +47,7 @@
} {
keep -background -cursor
}
- bind itk-delete-$itk_hull <Destroy>
"itcl::delete object $this"
+ bind itk-delete-$itk_hull <Destroy> [list
itcl::delete object $this]
set tags [bindtags $itk_hull]
bindtags $itk_hull [linsert $tags 0
itk-delete-$itk_hull]
--- old/Toplevel.itk 2006-08-14 14:31:47.000000000 +0200
+++ Toplevel.itk 2006-08-14 14:34:36.000000000 +0200
@@ -46,7 +46,7 @@
} {
keep -background -cursor -takefocus
}
- bind itk-delete-$itk_hull <Destroy>
"itcl::delete object $this"
+ bind itk-delete-$itk_hull <Destroy> [list
itcl::delete object $this]
set tags [bindtags $itk_hull]
bindtags $itk_hull [linsert $tags 0
itk-delete-$itk_hull]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=113244&aid=1539966&group_id=13244
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Incrtcl-develop mailing list
Incrtcl-develop@[...].net
https://lists.sourceforge.net/lists/listinfo/incrtcl-develop
|