[PD-cvs] pd/src desire.tk,1.1.2.462,1.1.2.463
chunlee
chunlee at users.sourceforge.net
Wed Sep 6 03:24:46 CEST 2006
- Previous message: [PD-cvs] pd/src desire.tk, 1.1.2.461, 1.1.2.462 objective.tcl, 1.1.2.21, 1.1.2.22
- Next message: [PD-cvs] externals/tb/chaos/src chaos.hpp, 1.10, 1.11 chua.hpp, 1.5, 1.6 driven_van_der_pol.hpp, 1.5, 1.6 duffing.hpp, 1.2, 1.3 latoomutgamma.hpp, 1.8, 1.9 linear_congruental.hpp, 1.3, 1.4 ode_base.hpp, 1.8, 1.9 tent_map.hpp, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19304
Modified Files:
Tag: devel_0_39
desire.tk
Log Message:
fix to [pd]
Index: desire.tk
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v
retrieving revision 1.1.2.462
retrieving revision 1.1.2.463
diff -C2 -d -r1.1.2.462 -r1.1.2.463
*** desire.tk 6 Sep 2006 00:51:26 -0000 1.1.2.462
--- desire.tk 6 Sep 2006 01:24:43 -0000 1.1.2.463
***************
*** 1105,1108 ****
--- 1105,1115 ----
def Canvas close {} {
+ if {$@subpatch} {
+ #can't wait till @mapped get updated till the update_object
+ set @mapped 0
+ pd .$self map 0
+ pd .$self close
+ return
+ }
switch [tk_messageBox -message [say save_changes?] -icon question -type yesnocancel -default cancel] {
yes {$self save; pd .$self close}
***************
*** 1380,1383 ****
--- 1387,1398 ----
}
+ def Canvas delete_window {} {
+ global window_list
+ set wl {}
+ foreach w $window_list {if {$w != $self} {lappend wl $w}}
+ set window_list $wl
+ destroy .$self
+ }
+
def Canvas delete {} {
global window_list
***************
*** 2457,2461 ****
--- 2472,2478 ----
puts "$self is a subpatch and is mapped --> $@mapped"
if {!$@mapped} {
+ #can't wait till @mapped get updated till the update_object
set @mapped 1
+ pd .$self map 1
$self init_window
$self redraw
***************
*** 2464,2468 ****
set c [$self widget]
focus $c
! return
}
}
--- 2481,2485 ----
set c [$self widget]
focus $c
! if {$id == $self} {return}
}
}
- Previous message: [PD-cvs] pd/src desire.tk, 1.1.2.461, 1.1.2.462 objective.tcl, 1.1.2.21, 1.1.2.22
- Next message: [PD-cvs] externals/tb/chaos/src chaos.hpp, 1.10, 1.11 chua.hpp, 1.5, 1.6 driven_van_der_pol.hpp, 1.5, 1.6 duffing.hpp, 1.2, 1.3 latoomutgamma.hpp, 1.8, 1.9 linear_congruental.hpp, 1.3, 1.4 ode_base.hpp, 1.8, 1.9 tent_map.hpp, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list