[Bf-taskforce25] usage of uiItemR()
Joshua Leung
aligorith at gmail.com
Mon Aug 10 09:27:22 CEST 2009
Names with postfix 'R' mean RNA, or data/setting
Names with postfix 'O' mean Operator, or command/tool
On Mon, Aug 10, 2009 at 7:12 PM, Stefaan michielsen <
stefaan.michielsen at gmail.com> wrote:
> I can't get the way of how uiItemR() should be used.
>
> for instance I want to create a button that resizes a cube when selected
>
> def resize():
> <code that resizes the current cube>
>
> How can i call this function from within an itemR()?
>
> itemR(context.scene, "resize") doesn't do it.
>
> Help will be deeply appreciated
>
> _______________________________________________
> Bf-taskforce25 mailing list
> Bf-taskforce25 at blender.org
> http://lists.blender.org/mailman/listinfo/bf-taskforce25
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-taskforce25/attachments/20090810/87973760/attachment.htm
More information about the Bf-taskforce25
mailing list