[Bf-python] spacehandler in combination with python GUI API ?

steven admin at byteshelter.org
Sat Apr 12 19:17:45 CEST 2008


Am Samstag, den 12.04.2008, 17:45 +0200 schrieb steven:
> Hello,
> 
> i have a question related to space handlers and my python GUI api. I've
> written a few classes to provide an object orientated interface for
> python script writter to work with more GUI elements, and make it easy
> to write new one.
> 
> Now i found out that spacehandles can also get events from a 3dview and
> draw to it with BGL. So my first thought was: "Great... can i use this
> with my script..."?
> 
> Is there a way the python GUI api can load spacehandlers ? so i load one
> event and one draw spacehandler for each view the script writter wants
> to write into ??
> 
> 
> best regards,
> Steven Truppe
> 
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://lists.blender.org/mailman/listinfo/bf-python
> 



I have found a solution that would make sense for now. 

Every container gets a right click PupMenu("Select view%t|view1|
view2| ... |viewn") to move the container to a 3d view. I hope to get
the code done soon so i can show something here =).


best regards,
Steven Truppe




More information about the Bf-python mailing list