Re: Tklib tooltip usage problem with configure

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Tklib tooltip usage problem with configure
De : csaba.nemethi (at) *nospam* t-online.de (nemethi)
Groupes : comp.lang.tcl
Date : 27. Jun 2024, 10:48:38
Autres entêtes
Message-ID : <v5jchm$27cie$1@tota-refugium.de>
References : 1 2 3
User-Agent : Mozilla Thunderbird
Am 27.06.24 um 07:42 schrieb Mark Summerfield:
On Wed, 26 Jun 2024 20:17:44 +0200, nemethi wrote:
 [snip]
That blue/grey background and the error message generated by
"tooltip::tooltip configure" are caused by some bugs in version 1.8 of
the tooltip package.  These bugs are now fixed in the latest tooltip
version 1.8.2.  I suggest you to check out this new version, in which
the default tooltip background is lightyellow (again) and
"tooltip::tooltip configure" works as expected.
 Thanks, I just downloaded and installed from trunk and the background in
lightyellow.
 Incidentally, before installing Tcllib and Tklib I always have to edit
installer.tcl to add the line
 tk scaling 1.67
 I wish both contained this so I wouldn't need to:
 if {[info exists env(TK_SCALING)]} { tk scaling $env(TK_SCALING) }
Tk 9 uses a different strategy for the scaling-related stuff:  On X11 it retrieves the display's scaling level (100%, 125%, 150%, ...) from the system settings, assigns it to the public variable tk::scalingPct, and passes a value derived from the latter to "tk scaling" (see "man n tk_scalingPct").  Both $tk::scalingPct and [tk scaling] are used at many places in the Tk code and library scripts to make the widgets and standard dialogs scaling-aware.
Out of curiosity:  What is your desktop environment (GNOME/KDE/Cinnamon/MATE/Xfce)?  What is the display's scaling level? Are you using Xorg or Wayland?.  What are the values $tk::scalingPct and [tk scaling] immediately after starting wish?
--
Csaba Nemethi  https://www.nemethi.de  mailto:csaba.nemethi@t-online.de

Date Sujet#  Auteur
26 Jun 24 * Tklib tooltip usage problem with configure8Mark Summerfield
26 Jun 24 +- Re: Tklib tooltip usage problem with configure1Harald Oehlmann
26 Jun 24 `* Re: Tklib tooltip usage problem with configure6nemethi
27 Jun 24  `* Re: Tklib tooltip usage problem with configure5Mark Summerfield
27 Jun 24   `* Re: Tklib tooltip usage problem with configure4nemethi
27 Jun 24    `* Re: Tklib tooltip usage problem with configure3Mark Summerfield
27 Jun 24     `* Re: Tklib tooltip usage problem with configure2nemethi
27 Jun 24      `- Re: Tklib tooltip usage problem with configure1Mark Summerfield

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal