[Bf-taskforce25] usage of uiItemR()

Stefaan michielsen stefaan.michielsen at gmail.com
Mon Aug 10 09:12:40 CEST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-taskforce25/attachments/20090810/4e59575a/attachment.htm 


More information about the Bf-taskforce25 mailing list