FBBoxLayout Class Reference

FBBoxLayout Class Reference

#include <mobu-python-api.h>

Class Description

Python Docstring:

Base class for a line layout (either vertical or horizontal)

This class is made to ease the creation of Tool in Python. It manages
all the 'FBLayout' region stuff (no need to use FBAddRegionParam anymore!).

Generally you just Add a Control to the layout specifying some parameters.

There are 2 kinds of Add: Add with fixed size and AddRelative which ensure
the control Added will occupy a 'percentage' of the available space AFTER the 
fixed space has been assigned.         
+ Inheritance diagram for FBBoxLayout:

Public Member Functions

_Add ()
 
_Restructure ()
 
_computeregion ()
 
__init__ ()
 
Add ()
 
AddRelative ()
 
Remove ()
 
RemoveAll ()
 
_Resize ()
 
_GetDesc ()
 
- Public Member Functions inherited from FBLayout
__reduce__ ()
 
RemoveRegion ()
 
RenameRegion ()
 
__init__ ()
 
AddRegion ()
 
GetRegion ()
 
GetRegionPositions ()
 
GetSplitStyle ()
 
MoveRegion ()
 
SetRegionTitle ()
 
GetControl ()
 
SetBorder ()
 
SetControl ()
 
SizeRegion ()
 
SetSplitStyle ()
 
ClearControl ()
 
SetView ()
 
Restructure ()
 
SetAutoRestructure ()
 
- Public Member Functions inherited from FBVisualComponent
__reduce__ ()
 
IsView ()
 
Refresh ()
 
ViewInput ()
 
ViewExpose ()
 
GetQWidgetAddress ()
 
GetChild ()
 
AddChild ()
 
__init__ ()
 
- Public Member Functions inherited from FBComponent
HardSelect ()
 
GetObjectStatus ()
 
SetObjectStatus ()
 
DisableObjectFlags ()
 
GetOwnerFileReference ()
 
SetObjectFlags ()
 
GetObjectFlags ()
 
EnableObjectFlags ()
 
FBDelete ()
 
PropertyRemove ()
 
ProcessNamespaceHierarchy ()
 
PropertyCreate ()
 
HasObjectFlags ()
 
Is ()
 
ProcessObjectNamespace ()
 
PropertyAddReferenceProperty ()
 
ClassName ()
 
FBDestroy ()
 
FBCreate ()
 
PropertyAdd ()
 
PropertyGetModifiedList ()
 
__reduce__ ()
 
__init__ ()
 
- Public Member Functions inherited from FBPlug
ClassName ()
 
ConnectDstAt ()
 
ConnectSrc ()
 
ConnectSrcAt ()
 
DisconnectAllDst ()
 
DisconnectAllSrc ()
 
BeginChange ()
 
DisconnectDst ()
 
ConnectDst ()
 
GetSrcCount ()
 
SetContentModified ()
 
DisconnectDstAt ()
 
DisconnectSrcAt ()
 
GetDst ()
 
GetPlugConnectionModifiedList ()
 
GetDstType ()
 
GetSrcType ()
 
RevertModification ()
 
GetSrc ()
 
GetDstCount ()
 
IsSDKComponent ()
 
ReplaceSrcAt ()
 
MoveSrcAt ()
 
GetContentModified ()
 
SwapSrc ()
 
GetSelfModified ()
 
EndChange ()
 
GetOwner ()
 
ReplaceDstAt ()
 
GetOwnedCount ()
 
SetSelfModified ()
 
DisconnectSrc ()
 
Is ()
 
GetOwned ()
 
__reduce__ ()
 
__init__ ()
 
PrintClassDefinitions ()
 
- Public Member Functions inherited from FBPythonWrapper
__reduce__ ()
 
__init__ ()
 

Additional Inherited Members

- Public Attributes inherited from FBLayout
object OnIdle
 
object OnPaint
 
object OnResize
 
object OnShow
 
object OnInput
 
- Public Attributes inherited from FBVisualComponent
object Caption
 
object Enabled
 
object Hint
 
object ReadOnly
 
object Visible
 
object Left
 
object Top
 
object Width
 
object Height
 
object RegionName
 
object RegionOffsetX
 
object RegionOffsetY
 
object RegionOffsetWidth
 
object RegionOffsetHeight
 
object RegionRatioX
 
object RegionRatioY
 
object RegionRatioWidth
 
object RegionRatioHeight
 
object RegionAttachTypeX
 
object RegionAttachTypeY
 
object RegionAttachTypeWidth
 
object RegionAttachTypeHeight
 
object RegionAttachToX
 
object RegionAttachToY
 
object RegionAttachToWidth
 
object RegionAttachToHeight
 
object RegionPosMinX
 
object RegionPosMaxX
 
object RegionPosMinY
 
object RegionPosMaxY
 
object BorderCaption
 
object BorderShowCaption
 
object BorderStyle
 
object BorderWidth
 
object BorderSpacing
 
object BorderInSet
 
object BorderMaxAngle
 
object BorderCornerRadius
 
- Public Attributes inherited from FBComponent
object OwnerNamespace
 
object Components
 
object Name
 
object LongName
 
object FullName
 
object Parents
 
object PropertyList
 
object Selected
 
- Public Attributes inherited from FBPythonWrapper
object OnUnbind
 

Member Function Documentation

__init__ ( )
_Add ( )
_computeregion ( )
_GetDesc ( )
_Resize ( )
_Restructure ( )
Add ( )

Python Docstring:

Add a control to layout specifying its FIXED size.

customparams:
space: space between previous control
width: fixed width if layout is vertical based
height: fixed height if layout is horizontal based. 
AddRelative ( )

Python Docstring:

Add a control to layout specifying its RATIO. This means
the control will be assigned a size based on the space left when all FIXED
size have been allocated.

customparams:
space: space between prev control
width: fixed width if layout is vertical based
height: fixed height if layout is horizontal based. 
Remove ( )

Python Docstring:

Remove a control from the layout.
RemoveAll ( )

Python Docstring:

Remove all controls from layout