开发者

PyObjC: how to create a simple dummy app without nib-file

For various reasons, I cannot/want not use a NIB-file (or any other external resources).

How can I create a simple du开发者_开发知识库mmy app (e.g. some simple menu, some empty window) with PyObjC, i.e. with pure Python code?


One very helpful introduction with sample code was the Introduction to PyObjC and Cocoa on lethain.com with some sample code here (and related files).

I also have an own project now (a music player) where I construct the whole Cocoa GUI dynamically. The main code of that part is here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜