In Python, using existing derivatives of pyfbsdk::FBVisualComponent you can create most of the basic elements. They are used throughout the code samples because they are essential in providing
you with an adequate user interface.
UI components:
- Buttons
-
Use pyfbsdk::FBButton to manage buttons. For usage, see the sample Button.py.
pyfbsdk::FBArrowButton creates a button, which when pushed, opens a layout to display content (another control or a layout). A small arrow, left
of the button title, shows when the content is shown (arrow points down) or hidden (arrow points to button title). For usage,
see the code sample ArrowButton.py.
- Color edit
-
pyfbsdk::FBEditColor, (for usage see Edit.py)
- Edit boxes
-
pyfbsdk::FBEdit (text box, for usage see Edit.py), pyfbsdk::FBMemo (an editable file, see Memo.py, pyfbsdk::FBEditNumber (for usage see Edit.py)
- Image
-
pyfbsdk::FBImage, (for usage see ImageContainer.py)
- Label
-
pyfbsdk::FBLabel, (for usage see Label.py)
- Lists
-
pyfbsdk::FBList creates a list of items. pyfbsdk::FBContainer creates a container-like object. For usage, see Container.py. pyfbsdk::FBTree creates a hierarchical list. For usage see Tree.py.
- Property editor
-
pyfbsdk::FBEditProperty and pyfbsdk::FBEditPropertyModern let you edit property values. For usage, see PropertyDrop.py.
- Slider
-
pyfbsdk::FBSlider; see the code sample in Slider.py.
- Spreadsheet
-
- Tab
-
- Thermometer
-
pyfbsdk::FBThermometer creates a tool showing minimum / maximum values; see the code sample in Thermometer.py.
- Time
-
pyfbsdk::FBTimeCode for usage see Edit.py.
- Tree layout
-
pyfbsdk::FBTree for usage see Tree.py.
- Vector edit
-
pyfbsdk::FBEditVector, (for usage see CustomProperty.py).