Hi everybody, I’d like to create a custom entry widget that implement custom features.
The first feature, is that I want it to only accept digits. I know I can do that if I create a Widget class that use a classic GtkEntry field.
The second feature is a display feature, I want each digit entered to replace a line with each line representing a number, for example _ _ _ would be 5 _ _ than 5 5 _ and 5 5 5 or maybe combine both keeping the underscore when writing the number.
The issue is that, I don’t know how to create the second feature using a GtkEntry.
Thanks for the help !