From: Torsten on
I'm porting an app to Mac OS 10.5.8 (Tcl/TK 8.5.8) and added a menu bar as described in
http://wiki.tcl.tk/12987.

On the "Help" menu a standard Mac OS "Search" entry field appears on top of the menu.
Why doesn't the entry take any input? How can I get rid of it?

Torsten
From: Kevin Walzer on
On 1/16/10 12:35 PM, Torsten wrote:
> I'm porting an app to Mac OS 10.5.8 (Tcl/TK 8.5.8) and added a menu bar
> as described in http://wiki.tcl.tk/12987.
>
> On the "Help" menu a standard Mac OS "Search" entry field appears on top
> of the menu.
> Why doesn't the entry take any input? How can I get rid of it?
>
> Torsten

On Tk-Carbon, this search field is broken--it has been forever. You
can't get rid of it.

It works on fine on Tk-Cocoa.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
From: Torsten on
I've tested it now with the latest Tcl version 8.6b.2 (info patchlevel reports 8.6b1.1 ?) from
ActiveState. The problem remains. Isn't this version using Tk-Cocoa?


Torsten

> On 1/16/10 12:35 PM, Torsten wrote:
>> I'm porting an app to Mac OS 10.5.8 (Tcl/TK 8.5.8) and added a menu bar
>> as described in http://wiki.tcl.tk/12987.
>>
>> On the "Help" menu a standard Mac OS "Search" entry field appears on top
>> of the menu.
>> Why doesn't the entry take any input? How can I get rid of it?
>>
>> Torsten
>
> On Tk-Carbon, this search field is broken--it has been forever. You
> can't get rid of it.
>
> It works on fine on Tk-Cocoa.
>
From: Kevin Walzer on
On 1/17/10 5:25 AM, Torsten wrote:
> I've tested it now with the latest Tcl version 8.6b.2 (info patchlevel
> reports 8.6b1.1 ?) from ActiveState. The problem remains. Isn't this
> version using Tk-Cocoa?
>

I don't use ActiveTcl so I'm not sure what they're using in their builds.

To check for Cocoa, run [winfo server .] in Wish. If it includes the
string "AppKit," you've got Cocoa. Otherwise it's Carbon.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
From: Donal K. Fellows on
On 17/01/2010 10:25, Torsten wrote:
> I've tested it now with the latest Tcl version 8.6b.2 (info patchlevel
> reports 8.6b1.1 ?) from ActiveState. The problem remains. Isn't this
> version using Tk-Cocoa?

Depends on what they're building with; it's a compile-time option. FWIW,
when I try with the Tk HEAD built for Cocoa it works for me (the entry
is there, and I can type into it).

Donal.