Classes | Functions | Variables

Module pyfbsdk_additions

Classes

class  FBButtonGroup
class  FBTabControl
class  FBBoxLayout
class  FBHBoxLayout
class  FBVBoxLayout
class  FBGridLayout

Functions

def FBCreateUniqueTool
def FBGetTools
def FBCreateTool
def FBDestroyTool
def FBDestroyToolByName
def FBAddTool
def FBRemoveTool
def FBAddToolListener
def FBRemoveToolListener

Variables

dictionary FBToolList = {}
list FBToolListeners = []
 FBToolManager = None

Detailed Description

This module improves pyfbsdk UI building.

It provides Layout classes similar to classes found in Qt/GTK/Tcl/Tk that
helps to manage region handling and UI control positioning.

It also gives functions to create/destroy and manage Tools created in Python.


Function Documentation

def pyfbsdk_additions.FBCreateUniqueTool (   name)
Create a Tool with a unique name. Will destroy 
any other similarly named tool.
def pyfbsdk_additions.FBGetTools ( )
Get the list of Python Tools instantiated in MotionBuilder
def pyfbsdk_additions.FBCreateTool (   name)
Create a tool given a tool name. Notify all Tool listeners about it.
def pyfbsdk_additions.FBDestroyTool (   tool)
def pyfbsdk_additions.FBDestroyToolByName (   name)
Destroy a tool given its name. Notify all Tool listeners about it
def pyfbsdk_additions.FBAddTool (   tool)
Method that can be used for custom tool deriving from FBTool to add themselves to the too list
def pyfbsdk_additions.FBRemoveTool (   tool)
Remove a given tool from the tool list. It won't be managed anymore by the Tool Manager
def pyfbsdk_additions.FBAddToolListener (   toollistener)
Add a tool listener that will be notified on new tool creation/destruction.
def pyfbsdk_additions.FBRemoveToolListener (   toollistener)
Remove a tool listener.

Variable Documentation

dictionary FBToolList = {}
FBToolManager = None