Re: Best practice query: Entry field "user's done editing"

2014-01-12 Thread Chris Angelico
On Fri, Dec 27, 2013 at 8:24 AM, Christoph Schmeding wrote: > We have the same need in our application, i.e. we don't want to "validate" or > "commit" on every "change" in the entry. > > We also have hooked validation on the "focus-out", and additionally on > "activate", which is emitted when th

Re: Best practice query: Entry field "user's done editing"

2014-01-12 Thread Christoph Schmeding
Hi ChrisA, We have the same need in our application, i.e. we don't want to "validate" or "commit" on every "change" in the entry. We also have hooked validation on the "focus-out", and additionally on "activate", which is emitted when the user hits the "enter" key in the entry. Hope this helps

Re: Best practice query: Entry field "user's done editing" handling?

2013-12-24 Thread Chris Angelico
On Tue, Dec 24, 2013 at 9:14 PM, Nicola Fontana wrote: > Il Mon, 23 Dec 2013 22:19:28 -0800 "A. Walton" scrisse: > >> Frankly I don't see what's wrong with making it instant apply from the >> description. Connect to the GtkEditable::changed signal, throw in a short >> timeout that gets reset any

Re: Best practice query: Entry field "user's done editing" handling?

2013-12-24 Thread Nicola Fontana
Il Mon, 23 Dec 2013 22:19:28 -0800 "A. Walton" scrisse: > Frankly I don't see what's wrong with making it instant apply from the > description. Connect to the GtkEditable::changed signal, throw in a short > timeout that gets reset any time someone changes the field. If they have > stopped changin

Re: Best practice query: Entry field "user's done editing" handling?

2013-12-23 Thread A. Walton
On Mon, Dec 23, 2013 at 8:02 AM, Chris Angelico wrote: > On Mon, Dec 23, 2013 at 11:25 PM, Tristan Van Berkom > wrote: > > We don't want to be chasing down scenarios where this could possibly > > break, so the best thing we can do is commit everything immediately > > (you could have an asynchron

Re: Best practice query: Entry field "user's done editing" handling?

2013-12-23 Thread Chris Angelico
On Mon, Dec 23, 2013 at 11:25 PM, Tristan Van Berkom wrote: > We don't want to be chasing down scenarios where this could possibly > break, so the best thing we can do is commit everything immediately > (you could have an asynchronous layer in your data model which handles > this, if performance o

Re: Best practice query: Entry field "user's done editing" handling?

2013-12-23 Thread Tristan Van Berkom
nd is now done editing. Is there a standard way to > > recognize this? I'm thinking of something like the VX-REXX "Verify" > > event, which fires on a changed entry field when focus moves to > > another control on the same window, but not if focus moves to anothe

Re: Best practice query: Entry field "user's done editing" handling?

2013-12-23 Thread Phillip Wood
g like the VX-REXX "Verify" event, which fires on a changed entry field when focus moves to another control on the same window, but not if focus moves to another window altogether. Currently, I'm hooking focus-out-event signals and checking the current text to see if it differs from

Best practice query: Entry field "user's done editing" handling?

2013-12-16 Thread Chris Angelico
nt, which fires on a changed entry field when focus moves to another control on the same window, but not if focus moves to another window altogether. Currently, I'm hooking focus-out-event signals and checking the current text to see if it differs from a saved copy of the text. I'd rather

Re: Entry field

2006-08-28 Thread Paul Pogonyshev
naval kishor wrote: > I developed an application where i have designed three entry fields. > In those three fields i can enter nos. > But i want validation... Maybe you should use GtkSpinButton or GtkCalendar, for that matter. Paul ___ gtk-app

Entry field

2006-08-28 Thread naval kishor
month entry field ) on these numbers and the condition is such that validation should happen when the focus moves out of entire three fields. I have used gtk_*_focus() function.but the problem i am facing is when i move from one entry field to another entry field it does validation but