On Jan 12, 2010, at 3:02 AM, IOhannes m zmoelnig wrote:


hi.

Hans-Christoph Steiner wrote:

Hey IOhannes,


Any reason not to use the "tkwait visibility .pdwindow.tcl.entry"
option? I think its preferable because it keeps things symmetic, i.e.
grab/ungrab. It'll only cause the GUI to pause, 'pd' will still keep
loading.

http://pure-data.svn.sourceforge.net/viewvc/pure-data/branches/pd-gui-rewrite/0.43/src/pdtk_canvas.tcl?r1=12959&r2=12957&pathrev=12959

the reason for not enabling it by default is, that i did not know
whether there would be any side effects.
e.g. if the pdwindow was not there at all (either iconified or totally
disabled - think kiosk mode), would the "tkwait" wait forever and/or
block the the entire gui process?

anyhow, in order to enable it one only has to set the "false" to "true"
(or change the entire code to
<snip>
tkwait visibility .pdwindow.tcl.entry
grab set -global .pdwindow.tcl.entry
</snip>

which is even simpler.

fgmasdr
IOhannes

I modified it a bit, so that the tkwait stuff only happens at startup, when the problem occurs:

http://pure-data.svn.sourceforge.net/viewvc/pure-data?view=rev&revision=12969

.hc


----------------------------------------------------------------------------

Access to computers should be unlimited and total.  - the hacker ethic



_______________________________________________
Pd-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/pd-dev

Reply via email to