• Heading font error using awthemes

    From lamuzzachiodi@gmail.com@21:1/5 to All on Sat Aug 12 12:13:48 2023
    Long story: i want to apply style to a text widget, more specifically color to backgroung when disabled. Searching for, the easy way would seems to be..
    Short Story : Using awthemes with tree (code based on the tk8.6 demo of tree ,"A multi-column list of countries" ) give this error :

    font "" doesn't exist
    font "" doesn't exist
    while executing
    "font measure $font $name"
    (...etc...)

    Tracing the error, the variable font come from [ttk::style lookup Heading -font].
    When using with others styles, font take tha value "TkHeadingFont" but with awthemes is empty and i don't found it at all in any style of it.
    Is this a bug in awthemes ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Christian Werner@21:1/5 to lamuzz... on Sat Aug 12 23:43:54 2023
    lamuzz... wrote:
    ...
    When using with others styles, font take tha value "TkHeadingFont" but with awthemes is empty and i don't found it at all in any style of it.
    Is this a bug in awthemes ?

    Most likely missing font options in some ttk::style configure, see a possible fix here: https://www.androwish.org/home/info/5bff5197070b08a4

    HTH,
    Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From lamuzzachiodi@gmail.com@21:1/5 to All on Sun Aug 13 11:30:48 2023
    That fixed the problem.
    Thanks, Christian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harald Oehlmann@21:1/5 to All on Mon Aug 14 14:41:21 2023
    Am 13.08.2023 um 20:30 schrieb lamuzz...@gmail.com:
    That fixed the problem.
    Thanks, Christian

    Thanks, Christian, to maintain this abandoned great project !

    I appreciate,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harald Oehlmann@21:1/5 to All on Wed Aug 16 13:10:42 2023
    Am 14.08.2023 um 14:41 schrieb Harald Oehlmann:
    Am 13.08.2023 um 20:30 schrieb lamuzz...@gmail.com:
    That fixed the problem.
    Thanks, Christian

    Thanks, Christian, to maintain this abandoned great project !

    I appreciate,
    Harald

    Added reference to:
    https://wiki.tcl-lang.org/page/awthemes

    Thanks,
    Harald

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)