Python Reference Guide
 
Loading...
Searching...
No Matches
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  FBButtonGroup
 Button group class used to manage multiple radio buttons. 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

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

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()

FBAddTool ( tool  )

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

◆ FBAddToolListener()

FBAddToolListener ( toollistener  )

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

◆ FBCreateTool()

FBCreateTool ( name  )

Create a tool given a tool name.

Notify all Tool listeners about it.

◆ FBCreateUniqueTool()

FBCreateUniqueTool ( name  )

Create a Tool with a unique name.

Will destroy any other similarly named tool.

◆ FBDestroyTool()

FBDestroyTool ( tool  )

Destroy a Tool.

◆ FBDestroyToolByName()

FBDestroyToolByName ( name  )

Destroy a tool given its name.

Notify all Tool listeners about it

◆ FBGetTools()

FBGetTools ( )

Get the list of Python Tools instantiated in MotionBuilder.

◆ FBRemoveTool()

FBRemoveTool ( tool  )

Remove a given tool from the tool list.

It won't be managed anymore by the Tool Manager

◆ FBRemoveToolListener()

FBRemoveToolListener ( toollistener  )

Remove a tool listener.