• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-PreferencePanes/Examples/EnvironmentPrefs/
1===============
2EnvironmentPane
3===============
4
5This example shows how to build preference panes in python. This example
6requires a framework install of Python and the Developer Tools. 
7
8Note that is a fully functional and usefull preference pane, this pane
9allows you to change the default environment for all your processes. Changes
10to the environment will only be effective after you logout and login again.
11
12The same technique can be used to build plugin bundles for other applications,
13as long as those applications support Cocoa plugins.
14
15To test this::
16
17  $ python buildplugin.py build
18  $ mv build/EnvironmentPane.prefPane  \
19  	~/Library/PreferencePanes/EnvironmentPane.prefPane
20
21The preference pane can be uninstalled by removing the bundle
22``EnvironmentPane.prefPane`` from Library/PreferencePanes in your
23home directory.
24
25NOTE: You can also add a symlink to ~/Library/Preferences. If you modify
26the meta information of the pane (mostly its icon and label) you should
27recreate the link, otherwise System Preferences won't reread the information.
28