Adrian Robert | 27 Sep 16:32

Re: CFV: TIP#213 - A Standard Dialog for Font Selection


On Aug 14, 2008, at 7:20 AM, Daniel A. Steffen wrote:

>> The API it implements seems perfect, except that it would be good  
>> to be
>> notified of user closing the font panel.
>
> the current patch in fact already has that, it sends a  
> <<TkChoosefontVisibility>> virtual event whenever the font chooser  
> is shown or hidden, I think this is a better solution than calling  
> the callback with an empty argument. See console.tcl for usage  
> example.

OK, good.  I edited the tip at http://www.tcl.tk/cgi-bin/tct/tip/324.html 
  to account for this.  However if Pat or someone else wants to take  
over this text, make a completely new TIP, or whatever, that is fine  
with me.

>> I see this has already been
>> discussed, and I would prefer that the -command proc is called with  
>> an empty
>> string in this case (and stop calling it with empty strings in  
>> other cases as
>> for some reason now).
>
> probably a bug... if you have a reproducible way to make this  
> happen, please file it at the url above

OK, I attached a new patch here.  I could not see a way to add it to

(Continue reading)


Gmane