Deutsch   English   Français   Italiano  
<v5gira$220cv$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Harald Oehlmann <wortkarg3@yahoo.com>
Newsgroups: comp.lang.tcl
Subject: Re: Tklib tooltip usage problem with configure
Date: Wed, 26 Jun 2024 10:17:48 +0200
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <v5gira$220cv$1@dont-email.me>
References: <eYecndFfv-CoWub7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 26 Jun 2024 10:17:47 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="622a905ffc08a7d96de9a28940682119";
	logging-data="2163103"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/v+A3wKEAM/qdDRdwwG/M/"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:jrSL77yXdprJj37PFNdWvZwXVXE=
Content-Language: en-GB
In-Reply-To: <eYecndFfv-CoWub7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
Bytes: 2426

Am 26.06.2024 um 09:45 schrieb Mark Summerfield:
> I have added tooltips to some widgets and they work fine. For example:
> 
> package require tooltip
> 
> ...
>      tooltip::tooltip $panel.optionsButton "Modal Show/Hide"
> 
> But the tooltips come with a sort of blue/grey background whereas I prefer
> the more traditional light yellow.
> 
> So I tried this:
> 
> tooltip::tooltip configure -background yellow and got this:
> 
> Error in startup script: invalid command name ".__tooltip__.label"
>      while executing
> "$b.label configure $opt"
>      (procedure "configure" line 13)
>      invoked from within
> "configure {*}$args"
>      (procedure "tooltip::tooltip" line 34)
>      invoked from within
> "tooltip::tooltip configure -background yellow"
>      (procedure "test::make" line 11)
>      invoked from within
> ...
> 
> It is no different if I use ::tooltip::tooltip. And I get a similar error
> if I just try to print the config options, e.g.,
> 
> puts [tooltip::tooltip configure]

The tklib tooltip package has a lot of bugs. You may try the main branch 
version at fossil. I could reproduce the problem you are seeing and it 
is not solved.
BWidget tooltip still has a lot of advantages. Porting all its code to 
tklib would be great...

Sorry, no much help...
Harald