Grupos de Google ya no admite nuevas publicaciones ni suscripciones de Usenet. El contenido anterior sigue siendo visible.

ttk::dialog equivalent in tcl 8.6

Visto 84 veces
Saltar al primer mensaje no leído

markbw...@gmail.com

no leída,
4 dic 2018, 18:24:254/12/18
a
I have a simple testcase that verifies that ttk is available in my application. It worked fine while the app was based on tcl 8.4. Now that we've moved to tcl 8.6, part of the script doesn't work. That part is effectively the call to "ttk::dialog". Other ttk:: commands do work, such as ttk::themes and ttk::setTheme. From what I've found online, ttk functionality was rolled into tk for 8.5. My question, is there an equivalent command in 8.6 that does something like what ttk::dialog did in 8.4, or is that completely gone?

pal...@yahoo.com

no leída,
4 dic 2018, 21:34:104/12/18
a
You can try the original ttk dialog implementation available at https://chiselapp.com/user/pooryorick/repository/tile/dir?ci=f2f73d90fe442e01&name=library

In all likelihood it will still work.

markbw...@gmail.com

no leída,
4 dic 2018, 22:24:144/12/18
a
Thanks for the suggestion. My preference is to just use what's available in tk 8.6, so the real question if there is an equivalent feature there that does what ttk::dialog did, or not.

Rich

no leída,
5 dic 2018, 1:37:325/12/18
a
Could you replace ttk::dialog with tk_dialog, which is available in
8.6?

Christian Gollwitzer

no leída,
5 dic 2018, 1:55:165/12/18
a
Am 05.12.18 um 04:24 schrieb markbw...@gmail.com:
> Thanks for the suggestion. My preference is to just use what's available in tk 8.6, so the real question if there is an equivalent feature there that does what ttk::dialog did, or not.
>

What are you using it for? Usually in my programs I either use
"tk_messageBox" for short-ish communication and otherwise a toplevel
with my own elements packed into it. What is/was the use for this dialog
function?

Christian

markbw...@gmail.com

no leída,
6 dic 2018, 11:50:436/12/18
a
Thank you for this, tk_dialog is probably what will work for me.
0 mensajes nuevos