diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 20:45:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-28 20:45:23 +0300 |
commit | cd574f32e675be2857524d339ae9e8e10f8abe5a (patch) | |
tree | 3d625dfb05bcf137abd5b1e9b1a52ec2c07d351a /source/blender/editors/include/UI_interface.h | |
parent | 4780f89370d31d3afd2ec19df3ddd1f68306e5da (diff) |
experemental UI introspection added for mindrones,
in python this gives a map of the ui...
ui_dict = eval(layout.introspect())
Diffstat (limited to 'source/blender/editors/include/UI_interface.h')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 7fa601c749d..ce49f11be54 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -600,6 +600,7 @@ uiBlock *uiLayoutGetBlock(uiLayout *layout); void uiLayoutSetFunc(uiLayout *layout, uiMenuHandleFunc handlefunc, void *argv); void uiLayoutSetContextPointer(uiLayout *layout, char *name, struct PointerRNA *ptr); +char *uiLayoutIntrospect(uiLayout *layout); // XXX - testing void uiLayoutSetOperatorContext(uiLayout *layout, int opcontext); void uiLayoutSetActive(uiLayout *layout, int active); |