[Gtk-sharp-list] Gtk.Entry Validation and Input

Roberto Rodriguez Alcala rralcala at gmail.com
Sun Nov 5 17:08:34 EST 2006


Hi all, i'm a newbie in Gtk# I've been using it for 5 months but with
basic things.

Now I need to Force a Single Line Entry to do Overwrite, I tried to
use ProcessEvent but with no succes.

And then I tried to validate using TextInserted and TextDeleted
events, but they are very complex because when I modify the entry it
calls itself again, and there are a lot of combinations to handle.

I didn't find a way to modify a entry.text skipping the handlers, so i'm stuck.

Is there anything I'm mising or a better way to do that? (Ex. Date
Input validation with automatic separators in a forced overwrite mode)

Thanks in advance and sorry for my english.

Roberto


More information about the Gtk-sharp-list mailing list