FBArrowButton Class Reference


Detailed Description

Creates a button which opens a layout to display content.

When pushed a layout to display content (another control or a layout) is opened. A small arrow to the left of the button title, shows whether the content is shown (points down) or not (points to the title).

Examples
UI/ArrowButton.py, UI/FBCamera.py
Inheritance diagram for FBArrowButton:

List of all members.

Public Member Functions

 __init__ ()
 Constructor.
 SetContent (str pTitle, FBVisualComponent pContent, int pContentWidth, int pContentHeight)
 Sets the content to be hidden/shown by button.

Member Function Documentation

__init__ ( )
SetContent ( str  pTitle,
FBVisualComponent  pContent,
int  pContentWidth,
int  pContentHeight 
)

Sets the content to be hidden/shown by button.

The FBArrowButton must already have been added to a layout before calling this method.

Parameters:
pTitleTitle of the content managed by the FBArrowButton
pContentContent that the FBArrowButton displays or hides
pContentWidthWidth of the content
pContentHeightHeight of the content

FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton
FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton FBArrowButton