From: Dorothy R. <mo...@ar...> - 2002-03-11 01:59:41
|
I've been playing with AquaTK some more, and I ported TkDiff. (Silly me, it's not even my program.) It's old, with a patched-up UI, and it had some challenges. Here are some notes I made about problems I ran into, in case anyone's interested. I would like to know about the button padx issue in the first note, before I finish it. What's remarkable maybe is how good it turned out, once I got the UI problems straightened out. I put my version of TkDiff up on http://www.twobarleycorns.net/vat.html. I'm not quite ready to submit it to Accurev, where it lives. The notes: With padx any less than the default, the text of buttons is obscured by the ends of the lozenges. I'd think that padx 0 should be such that all the text shows, and if that makes the buttons longer than on other platforms, so be it. There's no way to move transients. Isn't there an Aqua window type with only the red glassie, that has a border so you can move it? It would be nice if tcl_platform(platform) were "aqua" or something. AquaTK is - well - different from X11, and it would be good to be able to distinguish it in order to make adjustments. If you query a widget for its font, the size comes back without a minus sign, so if you use it like that it's in pixels instead of points and it's too big. This is unlike the other platforms and I had to insert a kludge for it. tkTabToWindow and its ilk are not recognized. That's probably OK but at least one call was causing an endless loop of errors, and the app had to be killed. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Dorothy Robinson http://www.twobarleycorns.net |