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-rewrit...
.hc
----------------------------------------------------------------------------
All information should be free. - the hacker ethic
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-rewrit...
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
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-rewrit...
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=...
.hc
----------------------------------------------------------------------------
Access to computers should be unlimited and total. - the hacker ethic