Python Reference Guide
pyfbsdk_additions Namespace Reference


This module improves pyfbsdk UI building. More...

Classes

class  FBBoxLayout
 Base class for a line layout (either vertical or horizontal) More...
 
class  FBGridLayout
 More advance layout that allow organisation of control in a grid. More...
 
class  FBHBoxLayout
 This class manages a FBBoxLayout Horizontal (see FBBoxLayout for documentation on how to Add/Remove control). More...
 
class  FBTabControl
 A real FBTabControl that improve the behavior of the FBTabPanel. More...
 
class  FBVBoxLayout
 This class manages a FBBoxLayout Vertical (see FBBoxLayout for documentation on how to Add/Remove control). More...
 

Functions

 FBCreateTool (name)
 Create a tool given a tool name. More...
 
 FBAddTool (tool)
 Method that can be used for custom tool deriving from FBTool to add themselves to the too list. More...
 
 FBGetTools ()
 Get the list of Python Tools instantiated in MotionBuilder. More...
 
 FBCreateUniqueTool (name)
 Create a Tool with a unique name. More...
 
 FBRemoveToolListener (toollistener)
 Remove a tool listener. More...
 
 FBDestroyTool (tool)
 Destroy a Tool. More...
 
 FBDestroyToolByName (name)
 Destroy a tool given its name. More...
 
 FBAddToolListener (toollistener)
 Add a tool listener that will be notified on new tool creation/destruction. More...
 
 FBRemoveTool (tool)
 Remove a given tool from the tool list. More...
 

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

◆ FBAddTool()

pyfbsdk_additions::FBAddTool ( tool  )

Method that can be used for custom tool deriving from FBTool to add themselves to the too list.

◆ FBAddToolListener()

pyfbsdk_additions::FBAddToolListener ( toollistener  )

Add a tool listener that will be notified on new tool creation/destruction.

◆ FBCreateTool()

pyfbsdk_additions::FBCreateTool ( name  )

Create a tool given a tool name.

Notify all Tool listeners about it.

◆ FBCreateUniqueTool()

pyfbsdk_additions::FBCreateUniqueTool ( name  )

Create a Tool with a unique name.

Will destroy any other similarly named tool.

◆ FBDestroyTool()

pyfbsdk_additions::FBDestroyTool ( tool  )

Destroy a Tool.

◆ FBDestroyToolByName()

pyfbsdk_additions::FBDestroyToolByName ( name  )

Destroy a tool given its name.

Notify all Tool listeners about it

◆ FBGetTools()

pyfbsdk_additions::FBGetTools ( )

Get the list of Python Tools instantiated in MotionBuilder.

◆ FBRemoveTool()

pyfbsdk_additions::FBRemoveTool ( tool  )

Remove a given tool from the tool list.

It won't be managed anymore by the Tool Manager

◆ FBRemoveToolListener()

pyfbsdk_additions::FBRemoveToolListener ( toollistener  )

Remove a tool listener.