|
From: Damon C. <da...@tc...> - 2007-03-20 17:58:57
|
> I think there are 2 misconceptions here ...
>
> 1. all dialogs should be transient.
>
> No, there are many cases for startup dialogs where you have no parent.
>
> 2. Tk should "best guess" everything.
>
> I think this is an acceptable area to expect the user to provide their
> own -parent to get the behavior, if desired.
>
> For those reasons, I went with a user-required -parent.
This is where I thought a little helper proc could come in handy for
people. Leave the parent as blank by default but provide an easy way
for users to get the "best guess" parent. Meh. I don't really care.
I'll write my code to do my thing. I'm just trying to help the other
guy out. 0-]
Damon
|