[Bf-committers] properties per datablock & python

Toni Alatalo antont at kyperjokki.fi
Sun May 18 10:09:27 CEST 2008

Jonathan-David SCHRODER kirjoitti:
> What do you mean by "other views" ?
> Do you mean that there could/should one day be the possibility to have 
> space handlers for the buttons view for example ? So this would enable 
> us to add custom menus.. ?

I think that is what he meant, that the use of space handlers is now 
limited as they are for the 3dview only, and not for the numerous 2d 
views or the buttons view indeed.

The development indeed is geared now so that we'd be able to have custom 
menus, but I don't know if that is related to spacehandlers really .. if 
I've understood correctly, the plan is to have a tool api which code (be 
it c or py) can use to register itself to the Blender UI system so that 
it gets the menu entries, buttons and/or event hooks such as mouse 
movement info that it needs.

> jonathan


P.S. sorry about the longish py specific ramble in the previous post, i 
thought this discussion was on bf-python and only now noticed that we 
are on the wider committers list.

> On Sat, May 17, 2008 at 1:35 PM, Nathan Letwory 
> <jesterking at letwory.net <mailto:jesterking at letwory.net>> wrote:
>     On Sat, May 17, 2008 at 2:13 PM, Jonathan-David SCHRODER
>     <myselfhimself at free.fr <mailto:myselfhimself at free.fr>> wrote:
>     > Do you also know what projects use this IDGroup:properties python
>     > functionnality ? There's just things that look like proposals
>     blending into
>     > python on the wikibook).
>     I'm using them for DbBlender to attach some data to help with
>     integration of DNA and database. The most important one is the
>     ['MySQL'] group at the top-level, but I think that also on this part
>     (usage of~) I'll be doing some redesign.
>     I also use them to hold some properties that help me determine when to
>     draw some extra info in 3dview.
>     Since there are not yet that many spacehandlers, I think that is the
>     only way for now, but whenever spacehandlers get enabled for other
>     views, I'd imagine that one could extend current editors in
>     interesting ways.
>     /Nathan
>     _______________________________________________
>     Bf-committers mailing list
>     Bf-committers at blender.org <mailto:Bf-committers at blender.org>
>     http://lists.blender.org/mailman/listinfo/bf-committers
> -- 
> http://www.jaxtr.com/myselfhimself
> ------------------------------------------------------------------------
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list