[Pythonmac-SIG] Creating Application()
Pascal Bompard
pascal.bompard at gmail.com
Tue Aug 26 04:17:18 CEST 2008
This tutorial series is brand new: http://lethain.com/entry/2008/aug/22/an-epic-introduction-to-pyobjc-and-cocoa/
Looks like a good one too, although I can't verify that as I haven't
had the time to work through it yet.
I have worked through a few tuts at http://cocoadevcentral.com/ and
can vouch that they're very good, although they're pure Cocoa/ObjC -
not PyObjC.
Also, if you'd like a walk through of using Xcode 3 to produce Cocoa
apps, I found this to be a nice introduction: http://www.viddler.com/explore/cocoaheads/videos/1/
On 26/08/2008, at 12:41 AM, beau wrote:
> can anyone recommend some tutorials for Cocoa ObjectiveC?
>
> basically I'm trying to great a gui program that reads a file and then
> displays a visualization of it, with a slide.
>
> so everytime the ui will be different
>
> with Tkinter that was easy just write a function that packs things to
> the screen.
>
> ex:
> for item in list:
> Label(scrollfrawm(), text= item).grid(row=rows, column=0, sticky=W)
> rows += 1
>
>
> On Mon, Aug 25, 2008 at 8:26 AM, Henning Hraban Ramm
> <hraban at fiee.net> wrote:
>> Am 2008-08-24 um 23:28 schrieb Jack Jansen:
>>
>>>> I'm not a complete newbie in python, but in building GUIs. I've
>>>> worked
>>>> around a bit with Tkinter and I think, I can handle this one, but
>>>> I also
>>>> tried to work with the "FrameWork" module, to create Menubars and
>>>> this
>>>> kind
>>>> of stuff. But I did not even get a Application() object createt.
>>>> Could
>>>> anyone please post a simple code example, that creates a
>>>> Application()
>>>> Object and a Menuitem or something like this?
>>>
>>> Unless you have a very good reason to use FrameWork (and it
>>> appears you
>>> don't, as you're just starting): stay away from FrameWork. It is
>>> almost 15
>>> years old (originally written by Guido himself), uses MacOS9 APIs
>>> that are
>>> likely to disappear some time soon and hasn't been maintained in 7
>>> years or
>>> so (I know, I was the last maintainer).
>>>
>>> If you want to try something new for GUI development: look at
>>> Cocoa/PyObjC. It is completely unlike anything else and the
>>> learning curve
>>> can be pretty steep when you come from another GUI toolkit, but
>>> that's
>>> mainly because you have to un-learn a lot of things. A Cocoa GUI
>>> almost
>>> writes itself. I always have the feeling that I've somehow cheated
>>> when I'm
>>> done: the GUI works, but I don't remember actually writing any
>>> code:-)
>>
>> Do you think Cocoa is really usable without understanding a bit of
>> ObjC?
>>
>> I'd suggest trying wxPython, preferably via dabo (see dabodev.com);
>> unfortunately the documentation isn't that good, but the developers
>> are
>> really helpful.
>>
>> I agree that Cocoa is probably better, if you target OSX only.
>>
>>
>> Greetlings from Lake Constance!
>> Hraban
>> ---
>> http://www.fiee.net
>> https://www.cacert.org (I'm an assurer)
>>
>>
>>
>> _______________________________________________
>> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list