FBAddRegionParam Class Reference

FBAddRegionParam Class Reference

#include <mainpage.h>

Class Description

This class provides a placeholder to put values necessary to create a Region with FBLayout.AddRegion(). Each region components: X, Y, Width and Height needs its own FBAddRegionParam. ex:

y = FBAddRegionParam(0,FBAttachType.kFBAttachTop,"")
w = FBAddRegionParam(0,FBAttachType.kFBAttachRight,"")
h = FBAddRegionParam(25,FBAttachType.kFBAttachNone,"")
mainLyt.AddRegion("main","main", x, y, w, h)
+ Inheritance diagram for FBAddRegionParam:

Public Member Functions

 __reduce__ ()
 
 __init__ (object arg1, object arg2, FBAttachType arg3, str arg4, float arg5)
 

Public Attributes

object mPos
 
object mType
 
object mRelative
 
object mMult
 

Member Function Documentation

__init__ ( object  arg1,
object  arg2,
FBAttachType  arg3,
str  arg4,
float  arg5 
)

Python Docstring:

__init__( (object)arg1, (object)arg2, (FBAttachType)arg3, (str)arg4 [, (float)arg5]) -> None 

Initialize a region params.

Parameters
pPosOffset in pixel according depending on the use of FBAddRegionParam (X, Y, W or H)
pTypeType of Attachment.
pRelativeName of Region to attach relative to.
pMultMultiplier of relative value.
__reduce__ ( )

Member Data Documentation

mMult

Read Property: (FBPropertyFloat) Multiplier of relative value.

mPos

Read Property: (FBPropertyInt) Offset in pixel according depending on the use of FBAddRegionParam (X, Y, W or H).

mRelative

Read Property: (str) Name of Region to attach relative to.

mType

Read Property: (FBAttachType) Type of Attachment.