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:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Member Function Documentation

__init__ ( )
SetContent ( str  pTitle,
HFBVisualComponent  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:
pTitle Title of the content managed by the FBArrowButton
pContent Content that the FBArrowButton displays or hides
pContentWidth Width of the content
pContentHeight Height of the content

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