| Deutsch English Français Italiano |
|
<1026h25$grt0$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Alan Grunwald <nospam.nurdglaw@gmail.com> Newsgroups: comp.lang.tcl Subject: Re: A ttk::style question Date: Mon, 9 Jun 2025 12:36:33 +0100 Organization: A noiseless patient Spider Lines: 34 Message-ID: <1026h25$grt0$1@dont-email.me> References: <uv3c4klohi6et3drn1ti1f3anrgad6f9if@4ax.com> <nnd$0c504007$24a43a5d@093397a8d71f62a1> <a38c4kdmqai81p6e7i6edc07qf54lmr1ot@4ax.com> <1026g1o$it9s$1@tota-refugium.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 09 Jun 2025 13:37:42 +0200 (CEST) Injection-Info: dont-email.me; posting-host="770e1507432dc3257021ff3330630fc7"; logging-data="552864"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+80FcxjoUeqCH7gdUEjQ/hcd0UpCHr7cg=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:AaRHZLfhKYaaMF/plD3EZBwA7fA= Content-Language: en-US In-Reply-To: <1026g1o$it9s$1@tota-refugium.de> Bytes: 2384 On 09/06/2025 12:20, nemethi wrote: > Am 09.06.25 um 01:51 schrieb Helmut Giese: >> Hi Schelte, >> you saved my day, many thanks (and so fast, too). >> Maybe one more question: >> Is there some source (tutorial, collection of texts, or similar) >> where one could learn the basics of working with styles? Anthing? >> Thanks again >> Helmut >> >>> On 09/06/2025 00:44, Helmut Giese wrote: >>>> I want to configure the font of a ttk::radiobutton - but how? >>> >>> Assuming you don't want all your radiobuttons to have the special font, >>> invent a name for a style that inherits from the normal style for a >>> radiobutton; TRadiobutton. Configure the font for that derived style. >>> Then use that style for your radiobutton: >>> >>> ttk::style configure Fixed.TRadiobutton -font TkFixedFont >>> ttk::radiobutton .b -style Fixed.TRadiobutton -text Hello >>> >>> >>> Schelte. >> > > See https://tkdocs.com/tutorial/styles.html by Mark Roseman. > That's great, Csaba, thank you. I've been looking for ages for something that explained Ttk styles in a way that was natural to me, and this may well be it. Is there any thing similar to explain how to modify layouts? (Assuming it's possible.) Alan