Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I'm all for computer dating, but I wouldn't want one to marry my sister.


devel / comp.lang.tcl / Re: Bold font in ttk::checkbutton with -style Toolbutton

SubjectAuthor
* Bold font in ttk::checkbutton with -style ToolbuttonAlexandru
+- Re: Bold font in ttk::checkbutton with -style Toolbuttongreg
`* Re: Bold font in ttk::checkbutton with -style Toolbuttonnemethi
 `- Re: Bold font in ttk::checkbutton with -style ToolbuttonAlexandru

1
Bold font in ttk::checkbutton with -style Toolbutton

<0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=22558&group=comp.lang.tcl#22558

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:564a:b0:63c:edce:c71e with SMTP id mh10-20020a056214564a00b0063cedcec71emr9989qvb.3.1692079122664;
Mon, 14 Aug 2023 22:58:42 -0700 (PDT)
X-Received: by 2002:a17:90a:e2ca:b0:269:32cb:3321 with SMTP id
fr10-20020a17090ae2ca00b0026932cb3321mr230862pjb.0.1692079122405; Mon, 14 Aug
2023 22:58:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Mon, 14 Aug 2023 22:58:41 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=88.128.92.10; posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 88.128.92.10
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com>
Subject: Bold font in ttk::checkbutton with -style Toolbutton
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Tue, 15 Aug 2023 05:58:42 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1346
 by: Alexandru - Tue, 15 Aug 2023 05:58 UTC

How can I set bold font in a ttk::checkbutton styled with "-style Toolbutton"?
I can define a new style with bold text with:
ttk::style configure Bold.TButton -font MPbold
But then the new style will will not have the "Toolbutton" style.
I need some kind o copy the "Toolbutton" style and then just modify the font.

Thanks
Alexandru

Re: Bold font in ttk::checkbutton with -style Toolbutton

<0333ed7a-839a-4a45-aff8-bfa53217bbe2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=22559&group=comp.lang.tcl#22559

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:622a:1a90:b0:403:a6f7:aa16 with SMTP id s16-20020a05622a1a9000b00403a6f7aa16mr139730qtc.10.1692085966844;
Tue, 15 Aug 2023 00:52:46 -0700 (PDT)
X-Received: by 2002:a17:90a:c901:b0:268:b599:92ff with SMTP id
v1-20020a17090ac90100b00268b59992ffmr2774488pjt.1.1692085966472; Tue, 15 Aug
2023 00:52:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 15 Aug 2023 00:52:45 -0700 (PDT)
In-Reply-To: <0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=185.250.212.58; posting-account=99ziWAoAAADLScDbI_CyfIcpa_gFZ0zh
NNTP-Posting-Host: 185.250.212.58
References: <0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0333ed7a-839a-4a45-aff8-bfa53217bbe2n@googlegroups.com>
Subject: Re: Bold font in ttk::checkbutton with -style Toolbutton
From: gregor.ebbing@googlemail.com (greg)
Injection-Date: Tue, 15 Aug 2023 07:52:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2380
 by: greg - Tue, 15 Aug 2023 07:52 UTC

Alexandru schrieb am Dienstag, 15. August 2023 um 07:58:46 UTC+2:
> How can I set bold font in a ttk::checkbutton styled with "-style Toolbutton"?
> I can define a new style with bold text with:
> ttk::style configure Bold.TButton -font MPbold
> But then the new style will will not have the "Toolbutton" style.
> I need some kind o copy the "Toolbutton" style and then just modify the font.
>
> Thanks
> Alexandru

In Manual 8.7:
https://www.tcl.tk/man/tcl8.7/TkCmd/ttk_style.html
DEFINITIONS: ... The “.” style is the theme root style on which derived styles are based.

or
https://tkdocs.com/tutorial/styles.html

# a example:
package require Tk

ttk::button .b0 -text Hello
ttk::button .b1 -text Hello
ttk::button .b2 -text Hello
ttk::button .b3 -text Hello
pack .b0 .b1 .b2 .b3

ttk::style configure Bold.TButton -font MPbold
ttk::style configure Emergency.Bold.TButton -foreground red -padding 10
ttk::style configure Emergency.TButton -foreground red -padding 10

..b1 configure -style "Bold.TButton"
..b2 configure -style "Emergency.TButton"
..b3 configure -style "Emergency.Bold.TButton"

Re: Bold font in ttk::checkbutton with -style Toolbutton

<ubfav1$435f$1@tota-refugium.de>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=22560&group=comp.lang.tcl#22560

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.tota-refugium.de!.POSTED!not-for-mail
From: csaba.nemethi@t-online.de (nemethi)
Newsgroups: comp.lang.tcl
Subject: Re: Bold font in ttk::checkbutton with -style Toolbutton
Date: Tue, 15 Aug 2023 09:54:09 +0200
Message-ID: <ubfav1$435f$1@tota-refugium.de>
References: <0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 15 Aug 2023 07:54:09 -0000 (UTC)
Injection-Info: tota-refugium.de;
logging-data="134319"; mail-complaints-to="abuse@news.tota-refugium.de"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.13.0
Cancel-Lock: sha1:t0rgr4DUm5sqzlF+WO1v+5WFAK0=
X-User-ID: eJwFwQkBwDAIA0BLpBAeOR0M/xJ6R3V4hznduFxV6Vt1ulhwi0CK5m+J2TNEzXh0QlA6350H+7wQTg==
Content-Language: en-US
In-Reply-To: <0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com>
 by: nemethi - Tue, 15 Aug 2023 07:54 UTC

Am 15.08.23 um 07:58 schrieb Alexandru:
> How can I set bold font in a ttk::checkbutton styled with "-style Toolbutton"?
> I can define a new style with bold text with:
> ttk::style configure Bold.TButton -font MPbold
> But then the new style will will not have the "Toolbutton" style.
> I need some kind o copy the "Toolbutton" style and then just modify the font.
>
> Thanks
> Alexandru

Try

ttk::style configure Bold.Toolbutton -font MPbold
....
ttk::checkbutton .ckbtn -style Bold.Toolbutton ...

--
Csaba Nemethi https://www.nemethi.de mailto:csaba.nemethi@t-online.de

Re: Bold font in ttk::checkbutton with -style Toolbutton

<ce38321e-a439-4fb4-b8c0-76241d1ff805n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=22563&group=comp.lang.tcl#22563

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ae9:df43:0:b0:767:e807:e4fe with SMTP id t64-20020ae9df43000000b00767e807e4femr117707qkf.4.1692090266703;
Tue, 15 Aug 2023 02:04:26 -0700 (PDT)
X-Received: by 2002:a05:6a00:2ea0:b0:682:5630:4b11 with SMTP id
fd32-20020a056a002ea000b0068256304b11mr6237292pfb.0.1692090266323; Tue, 15
Aug 2023 02:04:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 15 Aug 2023 02:04:25 -0700 (PDT)
In-Reply-To: <ubfav1$435f$1@tota-refugium.de>
Injection-Info: google-groups.googlegroups.com; posting-host=88.128.92.50; posting-account=glPZ8goAAADztwA3kVEZPMKXCGydx5DU
NNTP-Posting-Host: 88.128.92.50
References: <0e92f11d-794d-430e-98cc-ed81571958c5n@googlegroups.com> <ubfav1$435f$1@tota-refugium.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ce38321e-a439-4fb4-b8c0-76241d1ff805n@googlegroups.com>
Subject: Re: Bold font in ttk::checkbutton with -style Toolbutton
From: alexandru.dadalau@meshparts.de (Alexandru)
Injection-Date: Tue, 15 Aug 2023 09:04:26 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1987
 by: Alexandru - Tue, 15 Aug 2023 09:04 UTC

nemethi schrieb am Dienstag, 15. August 2023 um 09:54:14 UTC+2:
> Am 15.08.23 um 07:58 schrieb Alexandru:
> > How can I set bold font in a ttk::checkbutton styled with "-style Toolbutton"?
> > I can define a new style with bold text with:
> > ttk::style configure Bold.TButton -font MPbold
> > But then the new style will will not have the "Toolbutton" style.
> > I need some kind o copy the "Toolbutton" style and then just modify the font.
> >
> > Thanks
> > Alexandru
> Try
>
> ttk::style configure Bold.Toolbutton -font MPbold
> ...
> ttk::checkbutton .ckbtn -style Bold.Toolbutton ...
>
> --
> Csaba Nemethi https://www.nemethi.de mailto:csaba....@t-online.de

Thank you both.
My mistake was indeed, that I used Bold.TButton instead Bold.Toolbutton.
Problem solved.

Regards
Alexandru


devel / comp.lang.tcl / Re: Bold font in ttk::checkbutton with -style Toolbutton

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor