pdwidgets.widgets.chip

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

class pdwidgets.widgets.chip.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=14, radius=10, style='flat', bg_hi=None, bg_lo=None, rim=None)[source]

Bases: Widget

Compact selectable filter chip.

property style

Face style: "flat" or "raised".

draw(_=None)[source]

Draw the chip background and label.