pyobjc
Setting background image of individual desktops in OSX Lion
I have a little PyObjC script to change desktop images to a particular file (which is fetched from flickr). It sets a different image for each screen, should you have multiple. This worked fine in Sno[详细]
2023-04-05 14:10 分类:问答Cocoa exception: _createMenuRef called with existing principal MenuRef already associated with menu
This is the Python code: #!/usr/bin/python import os import sys from Foundation import * from AppKit import *[详细]
2023-04-04 08:01 分类:问答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[详细]
2023-04-04 07:29 分类:问答Override window close behavior
I want to catch all tries to close some specific existing Cocoa window and add some own handler (which might indeed really close it or do something different).[详细]
2023-04-03 23:17 分类:问答PyObjC: how to delete existing Objective-C class
I created a ObjC class earlier. How can I delete it again? Because at some later point, I want to recreate it by another version.[详细]
2023-04-03 23:07 分类:问答Can python.org releases play nice with Apple framework builds?
(Advanced apologies for the lack or proper links; the system won\'t allow me to add more than two.) Unfortunately, I\'ve learnt the hard way that you shouldn\'t mess with the default Python installat[详细]
2023-03-29 05:02 分类:问答Integration issue with PyObjC and TKinter
The following simple code: from PyObjCTools import 开发者_如何学GoAppHelper import AppKit import Tkinter[详细]
2023-03-28 05:53 分类:问答Are there any examples of iOS apps written using PyObjC? [closed]
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.[详细]
2023-03-17 18:17 分类:问答How to install pyobjc on activepython 2.6 for snow leopard?
I need json, pyobjc and ideally psyco as well. I got all but pyobjc working on active python 2.6. How do I successfully install pyobj开发者_开发技巧c properly?[详细]
2023-03-16 10:10 分类:问答Trying to write Python script to remove duplicate fonts Mac OSX
I am trying to write a utility to check through the fonts on OSX and remove duplicates - so far I\'ve had su开发者_运维问答ccess iterating through the folder structure and writing out an xml file cont[详细]
2023-03-14 15:13 分类:问答