Gtk.InputPurpose.DIGITS – gtk4 Reference Manual
DIGITS
Description:
DIGITS
Allow only digits