python api docs & examples for registrable Menu/Panel/Operator/PropertyGroup classes.

This commit is contained in:
Campbell Barton
2011-02-18 08:47:37 +00:00
parent c4d7bb80f5
commit 063a7f217b
18 changed files with 473 additions and 17 deletions

View File

@@ -674,7 +674,7 @@ class _GenericUI:
@classmethod
def append(cls, draw_func):
"""Prepend an draw function to this menu, takes the same arguments as the menus draw function."""
"""Append a draw function to this menu, takes the same arguments as the menus draw function."""
draw_funcs = cls._dyn_ui_initialize()
draw_funcs.append(draw_func)

View File

@@ -348,7 +348,7 @@ class MATERIAL_PT_shading(MaterialButtonsPanel, bpy.types.Panel):
class MATERIAL_PT_transp(MaterialButtonsPanel, bpy.types.Panel):
bl_label = "Transparency"
bl_options = {'DEFAULT_CLOSED'}
# bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod