Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Beam me up, Scotty!


devel / comp.lang.tcl / Tcl/Tk 8.7 systray eg problems

SubjectAuthor
* Tcl/Tk 8.7 systray eg problemsMark
`* Re: Tcl/Tk 8.7 systray eg problemsHarald Oehlmann
 `* Re: Tcl/Tk 8.7 systray eg problemsMark
  +* Re: Tcl/Tk 8.7 systray eg problemsHarald Oehlmann
  |`* Re: Tcl/Tk 8.7 systray eg problemsMark
  | `- Re: Tcl/Tk 8.7 systray eg problemsHarald Oehlmann
  `- Re: Tcl/Tk 8.7 systray eg problemsChristian Gollwitzer

1
Tcl/Tk 8.7 systray eg problems

<26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:7f01:0:b0:3f8:20a:1c73 with SMTP id f1-20020ac87f01000000b003f8020a1c73mr369995qtk.5.1686038071301;
Tue, 06 Jun 2023 00:54:31 -0700 (PDT)
X-Received: by 2002:a05:622a:1a08:b0:3f1:fb02:8331 with SMTP id
f8-20020a05622a1a0800b003f1fb028331mr374957qtb.9.1686038070992; Tue, 06 Jun
2023 00:54:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 6 Jun 2023 00:54:30 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=31.125.17.241; posting-account=C1gZvwoAAAAojE_ZgHdwZjGSuZg6QpNd
NNTP-Posting-Host: 31.125.17.241
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
Subject: Tcl/Tk 8.7 systray eg problems
From: m.n.summerfield@googlemail.com (Mark)
Injection-Date: Tue, 06 Jun 2023 07:54:31 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mark - Tue, 6 Jun 2023 07:54 UTC

I've just installed the Tcl/Tk 8.7a's.
In https://www.tcl.tk/man/tcl8.7/TkCmd/systray.html two egs are given.
The first one fails with:

Error in startup script: systray not created
while executing
"tk systray configure -image book_page -text "Updated sample" \
-button1 {puts "Different output from the tk systray"} \
-button3 {puts "and more dif..."
(file "/tmp/a.tcl" line 3)

But the second one works. However, the second one also creates a spurious main window, so I think the complete second example should be this:

#!/usr/bin/env wish
image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw==
tk systray create -image book -text "tk systray sample" \
-button1 {puts "Here is the tk systray output"} \
-button3 {puts "here is alternate output"}
wm withdraw .

(Note that the line starting `image create` is a single line up to and including the `==` at the end.)

Re: Tcl/Tk 8.7 systray eg problems

<u5n19n$n3b2$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl/Tk 8.7 systray eg problems
Date: Tue, 6 Jun 2023 12:20:40 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <u5n19n$n3b2$1@dont-email.me>
References: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Jun 2023 10:20:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="044b07f02b017c9b59569f5b432bd8a5";
logging-data="757090"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OZxilty4c0qVNNPp+sYRo"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Cancel-Lock: sha1:rofxNkUEhv8lzITusfFqDWy6rUk=
In-Reply-To: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
Content-Language: en-GB
 by: Harald Oehlmann - Tue, 6 Jun 2023 10:20 UTC

Am 06.06.2023 um 09:54 schrieb Mark:
> I've just installed the Tcl/Tk 8.7a's.
> In https://www.tcl.tk/man/tcl8.7/TkCmd/systray.html two egs are given.
> The first one fails with:
>
> Error in startup script: systray not created
> while executing
> "tk systray configure -image book_page -text "Updated sample" \
> -button1 {puts "Different output from the tk systray"} \
> -button3 {puts "and more dif..."
> (file "/tmp/a.tcl" line 3)
>
> But the second one works. However, the second one also creates a spurious main window, so I think the complete second example should be this:
>
> #!/usr/bin/env wish
> image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw==
> tk systray create -image book -text "tk systray sample" \
> -button1 {puts "Here is the tk systray output"} \
> -button3 {puts "here is alternate output"}
> wm withdraw .
>
> (Note that the line starting `image create` is a single line up to and including the `==` at the end.)

Hi Mark,
it would be great, if you could try:
- TCL fossil main (9.0) or fossil core-8-branch (8.7)
- Tk fossil main (8.7) branch
You should compile on your own. Some wizards are able to extract the
binaries from the github actions, but not me.
I suppose, many bugs are already fixed there.

If you are on Windows, TWAPI has great systray capabilities.

Thank you and take care,
Harald

Re: Tcl/Tk 8.7 systray eg problems

<1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ad4:4e89:0:b0:618:8410:f02f with SMTP id dy9-20020ad44e89000000b006188410f02fmr197125qvb.0.1686049151198;
Tue, 06 Jun 2023 03:59:11 -0700 (PDT)
X-Received: by 2002:a05:620a:198a:b0:74d:33a7:1049 with SMTP id
bm10-20020a05620a198a00b0074d33a71049mr464724qkb.14.1686049150964; Tue, 06
Jun 2023 03:59:10 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 6 Jun 2023 03:59:10 -0700 (PDT)
In-Reply-To: <u5n19n$n3b2$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=31.125.17.241; posting-account=C1gZvwoAAAAojE_ZgHdwZjGSuZg6QpNd
NNTP-Posting-Host: 31.125.17.241
References: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com> <u5n19n$n3b2$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
Subject: Re: Tcl/Tk 8.7 systray eg problems
From: m.n.summerfield@googlemail.com (Mark)
Injection-Date: Tue, 06 Jun 2023 10:59:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Mark - Tue, 6 Jun 2023 10:59 UTC

On Tuesday, June 6, 2023 at 11:20:43 AM UTC+1, Harald Oehlmann wrote:
> Am 06.06.2023 um 09:54 schrieb Mark:
> > I've just installed the Tcl/Tk 8.7a's.
> > In https://www.tcl.tk/man/tcl8.7/TkCmd/systray.html two egs are given.
> > The first one fails with:
> >
> > Error in startup script: systray not created
> > while executing
> > "tk systray configure -image book_page -text "Updated sample" \
> > -button1 {puts "Different output from the tk systray"} \
> > -button3 {puts "and more dif..."
> > (file "/tmp/a.tcl" line 3)
> >
> > But the second one works. However, the second one also creates a spurious main window, so I think the complete second example should be this:
> >
> > #!/usr/bin/env wish
> > image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw==
> > tk systray create -image book -text "tk systray sample" \
> > -button1 {puts "Here is the tk systray output"} \
> > -button3 {puts "here is alternate output"}
> > wm withdraw .
> >
> > (Note that the line starting `image create` is a single line up to and including the `==` at the end.)
> Hi Mark,
> it would be great, if you could try:
> - TCL fossil main (9.0) or fossil core-8-branch (8.7)
> - Tk fossil main (8.7) branch
> You should compile on your own. Some wizards are able to extract the
> binaries from the github actions, but not me.
> I suppose, many bugs are already fixed there.
>
> If you are on Windows, TWAPI has great systray capabilities.
>
> Thank you and take care,
> Harald

Hi Harald,

I tried with Tcl8.7/Tk8.7 and Tcl9.0/Tk8.7. In both cases I had to add the `wm withdraw .` command. Here's the code I used:

#!/usr/bin/env wish
puts "Tcl v$tcl_version/Tk v$tk_version"
image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw=tk systray create -image book -text "tk systray sample" \
-button1 {puts "Here is the tk systray output"} \
-button3 {puts "Quit"; exit }
wm withdraw .

Re: Tcl/Tk 8.7 systray eg problems

<u5n45u$nein$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl/Tk 8.7 systray eg problems
Date: Tue, 6 Jun 2023 13:09:51 +0200
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <u5n45u$nein$1@dont-email.me>
References: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
<u5n19n$n3b2$1@dont-email.me>
<1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 6 Jun 2023 11:09:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="044b07f02b017c9b59569f5b432bd8a5";
logging-data="768599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+XKkqSh/+e8wjaZNA1DRiA"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Cancel-Lock: sha1:uA6xcQQEHEjk4qJDLEwFkXE2Iz4=
Content-Language: en-GB
In-Reply-To: <1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
 by: Harald Oehlmann - Tue, 6 Jun 2023 11:09 UTC

Am 06.06.2023 um 12:59 schrieb Mark:
> On Tuesday, June 6, 2023 at 11:20:43 AM UTC+1, Harald Oehlmann wrote:
>> Am 06.06.2023 um 09:54 schrieb Mark:
>>> I've just installed the Tcl/Tk 8.7a's.
>>> In https://www.tcl.tk/man/tcl8.7/TkCmd/systray.html two egs are given.
>>> The first one fails with:
>>>
>>> Error in startup script: systray not created
>>> while executing
>>> "tk systray configure -image book_page -text "Updated sample" \
>>> -button1 {puts "Different output from the tk systray"} \
>>> -button3 {puts "and more dif..."
>>> (file "/tmp/a.tcl" line 3)
>>>
>>> But the second one works. However, the second one also creates a spurious main window, so I think the complete second example should be this:
>>>
>>> #!/usr/bin/env wish
>>> image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw==
>>> tk systray create -image book -text "tk systray sample" \
>>> -button1 {puts "Here is the tk systray output"} \
>>> -button3 {puts "here is alternate output"}
>>> wm withdraw .
>>>
>>> (Note that the line starting `image create` is a single line up to and including the `==` at the end.)
>> Hi Mark,
>> it would be great, if you could try:
>> - TCL fossil main (9.0) or fossil core-8-branch (8.7)
>> - Tk fossil main (8.7) branch
>> You should compile on your own. Some wizards are able to extract the
>> binaries from the github actions, but not me.
>> I suppose, many bugs are already fixed there.
>>
>> If you are on Windows, TWAPI has great systray capabilities.
>>
>> Thank you and take care,
>> Harald
>
> Hi Harald,
>
> I tried with Tcl8.7/Tk8.7 and Tcl9.0/Tk8.7. In both cases I had to add the `wm withdraw .` command. Here's the code I used:
>
> #!/usr/bin/env wish
> puts "Tcl v$tcl_version/Tk v$tk_version"
> image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw==
> tk systray create -image book -text "tk systray sample" \
> -button1 {puts "Here is the tk systray output"} \
> -button3 {puts "Quit"; exit }
> wm withdraw .

Hi Mark,
I suppose, you are also on Xfce 4.16 on Debian 11, as on your other
post. The "wm widthdraw ." is required, that is ok.
If the error arrives in a fossil checkout of TCL main/Tk main and
compiled by your own, thaen this is a bug and should be reported as a
ticket on fossil tk:
core.tcl-lang.org/tk
I am on WIndows only. Maybe, others including Kevin who designed that
may comment. But a ticket is IMHO the best way to report.

Take care,
Harald

Re: Tcl/Tk 8.7 systray eg problems

<ce8e1e8b-91bf-49fe-8ccc-110ff506ebf2n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:ac8:5f93:0:b0:3f6:aee9:d91 with SMTP id j19-20020ac85f93000000b003f6aee90d91mr481845qta.1.1686050856191;
Tue, 06 Jun 2023 04:27:36 -0700 (PDT)
X-Received: by 2002:a05:622a:1a29:b0:3f6:b6c4:f2b with SMTP id
f41-20020a05622a1a2900b003f6b6c40f2bmr449495qtb.2.1686050855879; Tue, 06 Jun
2023 04:27:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 6 Jun 2023 04:27:35 -0700 (PDT)
In-Reply-To: <u5n45u$nein$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=31.125.17.241; posting-account=C1gZvwoAAAAojE_ZgHdwZjGSuZg6QpNd
NNTP-Posting-Host: 31.125.17.241
References: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
<u5n19n$n3b2$1@dont-email.me> <1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
<u5n45u$nein$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ce8e1e8b-91bf-49fe-8ccc-110ff506ebf2n@googlegroups.com>
Subject: Re: Tcl/Tk 8.7 systray eg problems
From: m.n.summerfield@googlemail.com (Mark)
Injection-Date: Tue, 06 Jun 2023 11:27:36 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Mark - Tue, 6 Jun 2023 11:27 UTC

Added a ticket that refers to this conversation: https://core.tcl-lang.org/tk/tktview/3d10c64866be5c3b371f72859a1e5f00d4caa699

Re: Tcl/Tk 8.7 systray eg problems

<u5n61k$nein$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wortkarg3@yahoo.com (Harald Oehlmann)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl/Tk 8.7 systray eg problems
Date: Tue, 6 Jun 2023 13:41:41 +0200
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <u5n61k$nein$3@dont-email.me>
References: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
<u5n19n$n3b2$1@dont-email.me>
<1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
<u5n45u$nein$1@dont-email.me>
<ce8e1e8b-91bf-49fe-8ccc-110ff506ebf2n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Jun 2023 11:41:40 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="044b07f02b017c9b59569f5b432bd8a5";
logging-data="768599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZHs19LqArw58uE0lXCDAF"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.11.2
Cancel-Lock: sha1:kKNhfvhV9izLEKxBQBkx5Rb5pxk=
In-Reply-To: <ce8e1e8b-91bf-49fe-8ccc-110ff506ebf2n@googlegroups.com>
Content-Language: en-GB
 by: Harald Oehlmann - Tue, 6 Jun 2023 11:41 UTC

Am 06.06.2023 um 13:27 schrieb Mark:
> Added a ticket that refers to this conversation: https://core.tcl-lang.org/tk/tktview/3d10c64866be5c3b371f72859a1e5f00d4caa699

Thank you. I doubt, that a link to a google groups is a valid content
for a ticket. My company is not allowed to use google groups due to
European data protection laws. So we are out anyway. If you really would
like to get an answer, a clear ticket with platform, versions, supposed
behaviour, recognized behaviour is required, sorry.

Take care,
Harald

Re: Tcl/Tk 8.7 systray eg problems

<u5o9ao$rpqd$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: auriocus@gmx.de (Christian Gollwitzer)
Newsgroups: comp.lang.tcl
Subject: Re: Tcl/Tk 8.7 systray eg problems
Date: Tue, 6 Jun 2023 23:43:52 +0200
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <u5o9ao$rpqd$1@dont-email.me>
References: <26ce6c5a-66e8-47e0-aedd-703a68f19128n@googlegroups.com>
<u5n19n$n3b2$1@dont-email.me>
<1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 6 Jun 2023 21:43:52 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="8bb3ea4e7a2e2332c18aa0549722e8cf";
logging-data="911181"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ycBd+hV4pEGaarh7pWn4/XaaMQl6H154="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.11.1
Cancel-Lock: sha1:k/teX7AX/drhnpyJza3hUZB48Uk=
In-Reply-To: <1a22ca7e-f479-4b4a-9d56-4adad5b7a561n@googlegroups.com>
 by: Christian Gollwitzer - Tue, 6 Jun 2023 21:43 UTC

Am 06.06.23 um 12:59 schrieb Mark:
> I tried with Tcl8.7/Tk8.7 and Tcl9.0/Tk8.7. In both cases I had to add the `wm withdraw .` command. Here's the code I used:
>
> #!/usr/bin/env wish
> puts "Tcl v$tcl_version/Tk v$tk_version"
> image create photo book -data R0lGODlhDwAPAKIAAP//////AP8AAMDAwICAgAAAAAAAAAAAACwAAAAADwAPAAADSQhA2u5ksPeKABKSCaya29d4WKgERFF0l1IMQCAKatvBJ0OTdzzXI1xMB3TBZAvATtB6NSLKleXi3OBoLqrVgc0yv+DVSEUuFxIAOw==
> tk systray create -image book -text "tk systray sample" \
> -button1 {puts "Here is the tk systray output"} \
> -button3 {puts "Quit"; exit }
> wm withdraw .

I think this is the intended behaviour, is it not? The "." window always
appears when you start wish; the [tk systray] adds an icon to the
systray, but does not magically hide the root window. It is only logical
that you need to withdraw it in case you want a systray-only
application. About the other error I have no clue.

Christian


devel / comp.lang.tcl / Tcl/Tk 8.7 systray eg problems

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor