[Pythonmac-SIG] Targeting Object Instances from a menu?
Jerry LeVan
jerry.levan at eku.edu
Tue Oct 26 01:10:31 CEST 2004
On Oct 25, 2004, at 6:44 PM, Bob Ippolito wrote:
>>>
>>> This is totally different depending on which GUI framework you are
>>> using. You didn't bother to mention that :)
>>>
>> Tkinter based on Aqua Tcl/Tk BI, sorry about that :)
>
> Well, however you find out what the front window is in Tk. I have no
> idea, I avoid Tk, it doesn't look very good on the Mac.
I have found that Aqua Tk is getting better. With a little tweaking
with color, font selection, and
padx/y directives one can generate very nice looking interfaces that
are almost indistinguishable
from Carbon apps ( not surprisingly ...).
>
> I find that PyObjC requires a whole lot less code, especially for
> something like this where you could use NSTableView, etc. These sorts
> of issues are handled in a sane way with Cocoa because it was designed
> for the GUI you're using. The responder chain is a native concept in
> Cocoa.
>
PyObjC is on the "To Do" list. Actually I rather like the TkTable
module, I think it is at least
as flexible as NSTableView, tain't clear to me why it is not in the
standard Python distribution
of Tkinter. I have used it in Perl/Tk, Tcl/Tk and Python/Tkinter to
good advantage.
> -bob
>
>
Jerry
More information about the Pythonmac-SIG
mailing list