humm, that means that I have to wait for the user to enter -all- the characters and then check for its validity... no... I don't think so. An option would be to read each character entered, at the moment it is entered, and have the cursor jump to the next box as soon as the user has entered the required number of characters. But this is a common behaviour in input-boxes, I am sure that GTKmm has already devised a method to achieve this.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yann Leydier Sent: Friday, July 06, 2012 10:27 AM To: [email protected] Subject: Re: Gtk::entry() - Jump Hi, in this case, I would build a list of entries and check the length of the strings manually. When the a character is being inserted, I would call grab_focus() on the next entry in the list and _not_ propagate the signal so that the character is not inserted. yann On 06/07/12 16:07, Arbol One wrote: > My entry box must accept a certain number of character, when that > number has been reached, the cursor must jump to the next entry box, > what modifications should I make to my program, so that the Gtk::entry() > behaves in this manner? > > TIA > > *Freedom of speech does not translate to freedom of insulting* > > > > _______________________________________________ > gtkmm-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list
