tkdialog wrapper problem

F

Ferenc Engard

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
 
H

Hidetoshi NAGAI

Hi,

From: Ferenc Engard <[email protected]>
Subject: tkdialog wrapper problem
Date: Fri, 14 Nov 2003 08:35:50 +0900
Message-ID: said:
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? :)
 
F

Ferenc Engard

H

Hidetoshi NAGAI

Hi,

From: Ferenc Engard <[email protected]>
Subject: Re: tkdialog wrapper problem
Date: Sun, 16 Nov 2003 09:08:19 +0900
Message-ID: said:
By all means, thanks a lot! :))) Anyway, it look like a bit
incompatible from the previous version. Isn't it dissatisfy some people?

Please tell me the incompatible case.
Because I want to keep upper compatibility as far as I can.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,165
Latest member
JavierBrak
Top