Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create a mask or validator for a GtkEntry?

create gtkentry mask Validator
0
Posted

How do I create a mask or validator for a GtkEntry?

0

There is an opensource subclass of gtk.Entry, ValidatedEntry, available at: [www.astro.umass.edu] otherwise… In short, there is no feature currently implemented that makes this easy. You can hack your own mask support by catching the insert and delete_text signals and doing the appropriate manipulation, but it is far from trivial to write; FAQ 14.5 includes a basic recipe. There is a bug filed at [bugzilla.gnome.org] that discusses implementation of something like this (validation and masks) at the C level. See the thread at [www.daa.com.au] for more details.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123