Python experimental UI API
authorCampbell Barton <ideasman42@gmail.com>
Sat, 28 Feb 2009 13:27:45 +0000 (13:27 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 28 Feb 2009 13:27:45 +0000 (13:27 +0000)
commitbab4cd69913eee9aa30d61db7dc46e21655e4bde
treeebf28a1372c0db195928a1724b05f56d5c62d35e
parent0f8969640ccb5e7f615c85576e569ba23dd62c6f
Python experimental UI API
Can draw panels in the scripts space containing RNA and operator buttons.
* Added bpyui.register() so scripts can draw buttons and panels into the scripts space type.
* wrapped drawBlock, drawPanels and matchPanelsView2d
* Operator buttons take a python dictionary used to set the button defaults.
* BPY_getFileAndNum utility function to get the filename and line number python is currently running.
source/blender/editors/space_script/space_script.c
source/blender/python/BPY_extern.h
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_operator.h
source/blender/python/intern/bpy_ui.c
source/blender/python/intern/bpy_util.c
source/blender/python/intern/bpy_util.h