[Bf-python] combobox
Campbell Barton
ideasman42 at gmail.com
Thu May 19 19:09:12 CEST 2011
a combo box is called an enum in blender,
see: http://www.blender.org/documentation/blender_python_api_2_57_release/bpy.props.html#bpy.props.EnumProperty
Once you define an enum you then need to reference it from the panel.
There are many uses of this in blenders python scripts too.
2011/5/19 Yuniel Castro González <ycastrog at estudiantes.uci.cu>:
> Hi to all.
> How can I do a panel with a combobox?
>
> class example(bpy.types.Panel):
> bl_space_type = 'VIEW_3D'
> bl_region_type = 'TOOLS'
> bl_label = "ABC"
>
> def draw(self, context):
> ?????????
>
>
> Thanks in advance.
>
> --
>
>
>
>
>
>
>
>
> Yuniel
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
>
--
- Campbell
More information about the Bf-python
mailing list