Hi all,
As many of my messages are sent to the newgroup, and didn’t reach the
mailing list, I repost them. Sorry if some of you have seen them
already.
The TkDialog’s constructor do not accept a parent widget, as every other
TkWindow descendant do (through TkWindow’s constructor).
This is a problem, as it seems that if I have multiple toplevels, and
show a dialog, the dialog’s parent widget (currently, always ‘.’) will
be raised. So, showing a dialog from a form will raise another form! 
Maybe, for backward compatibility (but not for sanity), the parent could
be TkDialog.initialize()'s 2nd, optional argument? Or should I complain
on the tcl list? 
Bye,
Ferenc
Hidetoshi NAGAI wrote:
Hi,
From: Ferenc Engard ferenc@engard.hu
Subject: tkdialog wrapper problem
Date: Fri, 14 Nov 2003 08:35:50 +0900
Message-ID: 3FB41553.7176C587@engard.hu
The TkDialog’s constructor do not accept a parent widget, as every other
TkWindow descendant do (through TkWindow’s constructor).
(snip)
Maybe, for backward compatibility (but not for sanity), the parent could
be TkDialog.initialize()'s 2nd, optional argument? Or should I complain
on the tcl list? 
Thank you for your report.
I edited tkdialog.rb and committed.
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/tkdialog.rb?cvsroot=src&r1=1.8&r2=1.9
Does it satisfy you? 
By all means, thanks a lot! :-))) Anyway, it look like a bit
incompatible from the previous version. Isn’t it dissatisfy some people?
Ferenc