Skip to content

chip

pdwidgets.widgets.chip

Chip / Tag — compact selectable filter chip (Badge stays status-only).

Chip(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value=False, padding=None, label='', text_height=TEXT_SIZE.MEDIUM, radius=10)

Bases: Widget

Compact selectable filter chip.

Selectable filter chip; value is selected bool.

draw(_=None)

Draw the chip background and label.