- Timestamp:
- Jun 12, 2012 6:48:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/builder/scripts/hierlist.tcl
r2081 r3035 371 371 # ---------------------------------------------------------------------- 372 372 itcl::body Rappture::Hierlist::dd_get_source {widget x y} { 373 # convert from screen coords to canvas coords (for scrollbars) 374 set x [$widget canvasx $x] 375 set y [$widget canvasy $y] 376 373 377 set data "" 374 foreach id [$ itk_component(area)find overlapping $x $y $x $y] {375 foreach tag [$ itk_component(area)gettags $id] {378 foreach id [$widget find overlapping $x $y $x $y] { 379 foreach tag [$widget gettags $id] { 376 380 # search for a tag like item:NNN and make sure it's selected 377 381 if {[regexp {^item:([0-9]+)$} $tag match node]
Note: See TracChangeset
for help on using the changeset viewer.