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
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
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
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
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
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
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
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
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
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
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
11 matches
Mail list logo