Skip to content

pin_pad

pdwidgets.widgets.pin_pad

PinPad — numeric button grid emitting digits into a field / callback.

PinPad(parent, x=0, y=0, w=None, h=None, align=None, align_to=None, fg=None, bg=None, visible=True, value='', padding=None, target=None, on_digit=None, on_enter=None, max_length=8)

Bases: Widget

3×4 numeric keypad for PIN or code entry.

3x4 digit pad. Digits append to target.value (or on_digit) and update self.value.