tkdialog wrapper problem

Ask a Question related to Ruby, Design and Development.

  1. #1

    Default tkdialog wrapper problem

    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


    Ferenc Engard Guest

  2. Similar Questions and Discussions

    1. Wrapper
      Hi All, Does anybody know if it is possible to create a .aspx wrapper as opposed to a html page? All the best
    2. Problem creating wrapper
      Hi I have been asked by our web host to build a wrapper for a third party component we wish to use on our web application. The reason behind this...
    3. tkdialog wrapper improvement
      Hello, The TkDialog's constructor do not accept a parent widget, as every other TkWindow descendant do (through TkWindow's constructor). This...
    4. How do I create a wrapper
      I work in an environment with a few system admins and we would like to create a "wrapper" so that when someone issues su -, they get a message...
    5. Anyone know of a ASP.NET wrapper for HTMLTidy?
      I am looking for a asp.net wrapper for HTMLTidy. I found a com wrapper for it here: http://perso.wanadoo.fr/ablavier/TidyCOM/ But i'd like a .net...
  3. #2

    Default Re: tkdialog wrapper problem

    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.

    [url]http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/tkdialog.rb?cvsroot=src&r1=1.8&r2=1.9[/url]

    Does it satisfy you? :-)
    --
    Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)

    Hidetoshi NAGAI Guest

  4. #3

    Default Re: tkdialog wrapper problem

    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.
    >
    > [url]http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ext/tk/lib/tkdialog.rb?cvsroot=src&r1=1.8&r2=1.9[/url]
    >
    > 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


    Ferenc Engard Guest

  5. #4

    Default Re: tkdialog wrapper problem

    Hi,

    From: Ferenc Engard <ferenc@engard.hu>
    Subject: Re: tkdialog wrapper problem
    Date: Sun, 16 Nov 2003 09:08:19 +0900
    Message-ID: <3FB6BFF4.D376B047@engard.hu>
    > 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.
    --
    Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)


    Hidetoshi NAGAI Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139