RB.SegmentedBar¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
height of the segmented bar |
||
r/w |
Whether the labels describing the various segments should be shown |
||
r/w |
Whether there will be a reflection below the segmented bar |
Style Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class RB.SegmentedBar(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Return type:
- add_segment(title, percent, red, green, blue, alpha)¶
- add_segment_default_color(title, percent)¶
- set_value_formatter(formatter, *data)¶
- Parameters:
formatter (
RB.SegmentedBarValueFormatter
) – the formatter function to use
Sets a value formatter function to use for the bar.
Property Details¶
- RB.SegmentedBar.props.bar_height¶
-
Height of the segmented bar