orb.channels.segment module

class orb.channels.segment.Segment(width, amt_sat=0, color=None, label='', *args, **kwargs)

Bases: Widget

A Segment is a section of the Channel in the GUI. It can represent local, pending, or remote balance.

update(amt_sat=0)
class orb.channels.segment.SegmentLabel(**kwargs)

Bases: Label

hide()
show()