Re: Tklib tooltip usage problem with configure

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Tklib tooltip usage problem with configure
De : mark (at) *nospam* qtrac.eu (Mark Summerfield)
Groupes : comp.lang.tcl
Date : 27. Jun 2024, 11:29:51
Autres entêtes
Message-ID : <hFednZkwE_iCouD7nZ2dnZfqn_WdnZ2d@brightview.co.uk>
References : 1 2 3 4
User-Agent : Pan/0.154 (Izium; 517acf4)
On Thu, 27 Jun 2024 11:48:38 +0200, nemethi wrote:

[snip]
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?

In my experience *every* Tk app is far too small for me. For example, I
use gitk but fortunately it lets you set all the fonts. For others I am
able to add in the [tk scaling] if statement or simply can't use them.

I'm using Tcl/Tk 9.0b2 on Linux 6.1 amd64 Debian/Linux 12 (bookworm) with
Xfce 4.18 (GTK 3.24).

$ wish9
% puts $tk::scalingPct
100
% puts [tk scaling]
1.3333333333333333

I don't know if I am using Xorg or Wayland. My display is 1920x1200 (16:10
aspect ratio)

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