Re: Revive Tk



On Thu, 11 Jun 2009, Georgios Petasis wrote:

O/H Robert Heller ??????:
At Thu, 11 Jun 2009 14:01:12 +0300 Georgios Petasis
<petasis@xxxxxxxxxxxxxxxxx> wrote:

O/H dkf ??????:
On 10 June, 18:36, Don Porter <d...@xxxxxxxx> wrote:
One possible workaround would be to [load] Tk in a slave interp.
Then when it's made dead in one, you can [load] Tk again in a new
slave interp to get going again.
The other workaround is to withdraw the "." window and only let the
user close its children. That works pretty well in my experience, and
is something I'd recommend for all complex applications. (It can also
make working with widget pathnames easier in practice...)

Donal.
You may have problems with some dialogs though :-)

Not if you are careful to *always* use the -parent option available for
all of the tk_<mumble> functions.

Or wrap the dialogs into other procs, that set -parent to the window that has

....

Back after 2 weeks.

THX to all.

--
Gerhard Reithofer
Tech-EDV Support Forum - http://support.tech-edv.co.at
.



Relevant Pages

  • Re: Revive Tk
    ... Then when it's made dead in one, you can [load] Tk again in a new ... slave interp to get going again. ... But it is a tricky point with this approach. ...
    (comp.lang.tcl)
  • Re: Revive Tk
    ... Then when it's made dead in one, you can [load] Tk again in a new ... slave interp to get going again. ... make working with widget pathnames easier in practice...) ...
    (comp.lang.tcl)
  • Re: £299 - What if....
    ... >Dont you remember M$ offering a load of free stuff to people who paid over ... Indeed, I got a Dead or Alive 3, a Fusion Frenzy and a second controller ...
    (uk.games.video.xbox)
  • Re: My Evil Twin
    ... As someone else already pointed out, it seems like your slow fall ... Priests can do it with levitate. ... the load screen delay where I'm dead right away. ...
    (alt.games.warcraft)
  • Re: LoadImages fails after X number of loads on same images
    ... Loadimage has a valid path for a image but it fails to load it. ... This loads a bitmap. ... the char datatype is dead, the use of fixed-size buffers is dead, and the use of sprintf ...
    (microsoft.public.vc.mfc)