[Bf-taskforce25] data api proposal

Kent Mein mein at cs.umn.edu
Mon Sep 29 21:58:46 CEST 2008


In reply to Brecht Van Lommel (brecht at blender.org):

> > 
> > As so I consider that if we need to callbacks todo data validation...
> > we also need a better mode(callbacks also?) to determine the min/max
> > values allowed on UI.
> 
> OK, maybe we need an (optional) callback to request the min/max for a
> property, so it can be dynamic. Some BDR_prop_get_min/max() function
> would then use the callback if it is there, and otherwise use the fixed
> value (read-only, ui-hidden, pointer type, .. are intended to work the
> same way and have both fixed values and callbacks defined in the
> proposal). I think this is is quite a special case, only a few
> properties need it probably, but we'll need it yes.

Might also want to have strlength min/max work the same way for
things.  Almost all of our strings probably have a max value if not
also a min.

Kent


More information about the Bf-taskforce25 mailing list