home.social

Search

1000 results for “tcl_tk”

  1. Python. Tkinter. В ожидании релиза 3.13

    Работая нал проектом svgwidgets я активно использовал функционал tk busy , который появился в релизе Tcl/Tk 8.6.0 . Мне стало интересно, а поддерживается ли этот функционал в Python-е, а точнее в Tkinter-е. Каково же было мое удивление узнать, что именно сейчас в Tkinter, который входит в состав Python версии 3.13 , добавляется функционал tk busy , который давно включен в tcl/tk . Релиз Python 3.13 ожидается в октябре этого года. Мне показалось, что будет полезно рассказать о функционале tk busy , а точнее о новых методов для виджетах в Tkinter . Вот эти методы - tk_busy_hold(), tk_busy_configure(), tk_busy_cget(), tk_busy_forget() и tk_busy_current() . Командаy tk busy предоставляет простой способ блокировки виджета от действий пользователя. Как работает методы блокировки tk_busy в Tkinter рассмотрим на примере. При этом будем использовать классические виджеты. Но для начала пришлось собрать из исходных кодов Python-3.13.0rc1.tgz дистрибутив Python-а. Все это было мною проделано в Linux на Mageia release 9. Итак, создадим некий графический интерфейс, в котором будет главное окно (mwin) размером 10 сантиметров на 6 сантиметров с виджетом панели (frame1), в которой будут размещены поле ввода данных (ent1) и кнопка (but1): bash-5.2$ /usr/local/bin64/python3.13 Python 3.13.0rc1 (main, Aug 21 2024, 15:48:04) [GCC 12.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

    habr.com/ru/articles/840320/

    #python3 #tkinter #tcl/tk #tk_busy #блокировка #виджеты

  2. Double achievement this evening:

    1. I managed to compile SCID on macOS Ventura (TCL/TK 8.6 was a pain to setup, and the Makefile needed some changes) 🎉
    2. Found a way to customise my fork to change the shape of the Editor arrows.

    If there's interest on how to tame SCID on the Mac, let me know and I will write a quick blog post.

    #chess #scid #tcl #tk #macOS

  3. @patricus Depending on your definition of "sane", you might find Tcl/Tk fits the bill. See tcl-lang.org and wiki.tcl-lang.org/welcome . Indentation is optional, you can write:

    if {$a > 0} {puts OK} else {puts "TOO LOW"; set a 1}

    or:

    if {$a > 0} {
    puts OK
    } else {
    puts "TOO LOW"
    set a 1
    }

    or:

    if {$a > 0} \
    {puts OK} \
    else \
    {puts "TOO LOW"
    set a 1}

    or even:

    eval [lreverse {{puts "TOO LOW"; set a 1} else {puts OK} {$a > 0} if}]
    🤪

    #programming #tcltk

  4. @patricus Depending on your definition of "sane", you might find Tcl/Tk fits the bill. See tcl-lang.org and wiki.tcl-lang.org/welcome . Indentation is optional, you can write:

    if {$a > 0} {puts OK} else {puts "TOO LOW"; set a 1}

    or:

    if {$a > 0} {
    puts OK
    } else {
    puts "TOO LOW"
    set a 1
    }

    or:

    if {$a > 0} \
    {puts OK} \
    else \
    {puts "TOO LOW"
    set a 1}

    or even:

    eval [lreverse {{puts "TOO LOW"; set a 1} else {puts OK} {$a > 0} if}]
    🤪

    #programming #tcltk

  5. @patricus Depending on your definition of "sane", you might find Tcl/Tk fits the bill. See tcl-lang.org and wiki.tcl-lang.org/welcome . Indentation is optional, you can write:

    if {$a > 0} {puts OK} else {puts "TOO LOW"; set a 1}

    or:

    if {$a > 0} {
    puts OK
    } else {
    puts "TOO LOW"
    set a 1
    }

    or:

    if {$a > 0} \
    {puts OK} \
    else \
    {puts "TOO LOW"
    set a 1}

    or even:

    eval [lreverse {{puts "TOO LOW"; set a 1} else {puts OK} {$a > 0} if}]
    🤪

    #programming #tcltk

  6. @patricus Depending on your definition of "sane", you might find Tcl/Tk fits the bill. See tcl-lang.org and wiki.tcl-lang.org/welcome . Indentation is optional, you can write:

    if {$a > 0} {puts OK} else {puts "TOO LOW"; set a 1}

    or:

    if {$a > 0} {
    puts OK
    } else {
    puts "TOO LOW"
    set a 1
    }

    or:

    if {$a > 0} \
    {puts OK} \
    else \
    {puts "TOO LOW"
    set a 1}

    or even:

    eval [lreverse {{puts "TOO LOW"; set a 1} else {puts OK} {$a > 0} if}]
    🤪

    #programming #tcltk

  7. @patricus Depending on your definition of "sane", you might find Tcl/Tk fits the bill. See tcl-lang.org and wiki.tcl-lang.org/welcome . Indentation is optional, you can write:

    if {$a > 0} {puts OK} else {puts "TOO LOW"; set a 1}

    or:

    if {$a > 0} {
    puts OK
    } else {
    puts "TOO LOW"
    set a 1
    }

    or:

    if {$a > 0} \
    {puts OK} \
    else \
    {puts "TOO LOW"
    set a 1}

    or even:

    eval [lreverse {{puts "TOO LOW"; set a 1} else {puts OK} {$a > 0} if}]
    🤪

    #programming #tcltk

  8. Облачные технологии. Неожиданный поворот

    В сентябре2025 на просторах Хабра была опубликована статья «Облачные сервисы на Tcl/Tk» . Спустя полчаса после опубликования появился комментарий от CloudTk-JeffSmith , который приятно удивил меня:

    habr.com/ru/articles/986070/

    #интернет #облачные_сервисы #tcl #cloudtk #vpn #docker #cloud #cloud_hosting #облачные_технологии #облачная_платформа

  9. Облачные технологии. Неожиданный поворот

    В сентябре2025 на просторах Хабра была опубликована статья «Облачные сервисы на Tcl/Tk» . Спустя полчаса после опубликования появился комментарий от CloudTk-JeffSmith , который приятно удивил меня:

    habr.com/ru/articles/986070/

    #интернет #облачные_сервисы #tcl #cloudtk #vpn #docker #cloud #cloud_hosting #облачные_технологии #облачная_платформа

  10. Облачные технологии. Неожиданный поворот

    В сентябре2025 на просторах Хабра была опубликована статья «Облачные сервисы на Tcl/Tk» . Спустя полчаса после опубликования появился комментарий от CloudTk-JeffSmith , который приятно удивил меня:

    habr.com/ru/articles/986070/

    #интернет #облачные_сервисы #tcl #cloudtk #vpn #docker #cloud #cloud_hosting #облачные_технологии #облачная_платформа

  11. Облачные технологии. Неожиданный поворот

    В сентябре2025 на просторах Хабра была опубликована статья «Облачные сервисы на Tcl/Tk» . Спустя полчаса после опубликования появился комментарий от CloudTk-JeffSmith , который приятно удивил меня:

    habr.com/ru/articles/986070/

    #интернет #облачные_сервисы #tcl #cloudtk #vpn #docker #cloud #cloud_hosting #облачные_технологии #облачная_платформа

  12. Древний язык программирования обновился спустя 27 лет. Что нового в Tcl/Tk 9.0?

    Несколько дней назад был представлен релиз Tcl/Tk 9.0 , динамического языка программирования. Он распространяется вместе с кроссплатформенной библиотекой базовых элементов графического интерфейса Tk. Релиз стал первым крупным обновлением с 1 997 года (я был там, Гэндальф) и включает множество улучшений, которые добавляют современные возможности для разработчиков. Давайте посмотрим, что там у нас нового!

    habr.com/ru/companies/selectel

    #selectel #язык_программирования #tlk #история_it

  13. @dekkzz78
    i use it in my project.
    tcl/tk is a god combo to develop basics UI in linux.

  14. move to github :
    github.com/htopkill/Xwriter

    i have nothing wrong with , it works fine for me, but if i want to scale up , i need to go where i can find developpers

  15. 🐍🚀 Out now: Python 3.14.5 final!

    ♻️ This now has the new (old) garbage collector, and the official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

    discuss.python.org/t/python-3-

    #Python #Python314 #release

  16. 🐍🚀 Out now: Python 3.14.5 final!

    ♻️ This now has the new (old) garbage collector, and the official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

    discuss.python.org/t/python-3-

    #Python #Python314 #release

  17. 🐍🚀 Out now: Python 3.14.5 final!

    ♻️ This now has the new (old) garbage collector, and the official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

    discuss.python.org/t/python-3-

    #Python #Python314 #release

  18. 🐍🚀 Out now: Python 3.14.5 final!

    ♻️ This now has the new (old) garbage collector, and the official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

    discuss.python.org/t/python-3-

    #Python #Python314 #release

  19. 🐍🚀 Out now: Python 3.14.5 final!

    ♻️ This now has the new (old) garbage collector, and the official macOS installer has been updated to use Tcl/Tk 9.0.3 instead of 8.6.17.

    discuss.python.org/t/python-3-

    #Python #Python314 #release

  20. @rocketsoup "If you were going to write a modest cross-platform UI application that will still work on a 2046 computer, what would you write it in?" - Tcl/Tk of course, which still runs GUI applications written 30 years ago (including on platforms which didn't exist then) !
    tcl-lang.org
    #tcltk #gui #programming

  21. @rocketsoup "If you were going to write a modest cross-platform UI application that will still work on a 2046 computer, what would you write it in?" - Tcl/Tk of course, which still runs GUI applications written 30 years ago (including on platforms which didn't exist then) !
    tcl-lang.org
    #tcltk #gui #programming

  22. @rocketsoup "If you were going to write a modest cross-platform UI application that will still work on a 2046 computer, what would you write it in?" - Tcl/Tk of course, which still runs GUI applications written 30 years ago (including on platforms which didn't exist then) !
    tcl-lang.org
    #tcltk #gui #programming

  23. @rocketsoup "If you were going to write a modest cross-platform UI application that will still work on a 2046 computer, what would you write it in?" - Tcl/Tk of course, which still runs GUI applications written 30 years ago (including on platforms which didn't exist then) !
    tcl-lang.org
    #tcltk #gui #programming

  24. @rocketsoup "If you were going to write a modest cross-platform UI application that will still work on a 2046 computer, what would you write it in?" - Tcl/Tk of course, which still runs GUI applications written 30 years ago (including on platforms which didn't exist then) !
    tcl-lang.org
    #tcltk #gui #programming

  25. @jaywilson1988 @ebassi Do you have a source for this you can point to? I'm a big Tcl/Tk fan, but am resigned to it remaining a minority interest.
    #tcltk #gtk

  26. @jaywilson1988 @ebassi Do you have a source for this you can point to? I'm a big Tcl/Tk fan, but am resigned to it remaining a minority interest.
    #tcltk #gtk

  27. @jaywilson1988 @ebassi Do you have a source for this you can point to? I'm a big Tcl/Tk fan, but am resigned to it remaining a minority interest.
    #tcltk #gtk

  28. @jaywilson1988 @ebassi Do you have a source for this you can point to? I'm a big Tcl/Tk fan, but am resigned to it remaining a minority interest.
    #tcltk #gtk

  29. @jaywilson1988 @ebassi Do you have a source for this you can point to? I'm a big Tcl/Tk fan, but am resigned to it remaining a minority interest.
    #tcltk #gtk

  30. I've heard recently that there are plans to deprecate #gnome #gtk in favour of #tcltk. My source said that by 2027, most projects will have migrated from GTK to Tcl/Tk. Are you prepared for the switch over? @ebassi