Re: Blank entry, how do I handle them?



Milosz Derezynski wrote:
Check on focus-out and seeing if it's empty can be done with get_text() and just seeing if it's empty..

Milosz

If it's a Gtk::Entry, you can also use the Gtk::Editable::signal_changed() which is triggered when the contents of the entry changes.

-Jose
2008/5/2 Jamiil Abduqadir <jalqadir gmail com <mailto:jalqadir gmail com>>:

    Hey folks!
    I really don't know what to do to resolve this issue, I have been
    looking in the Gtkmm documentation and will continue doing so, but
    I have not found, as yet, anything that would indicate a way to
    handle what I want do, so here is my problem. In my WindowsXP's
    application (Gtkmm 2.10 Installer) I have several entry boxes,
    when the user jumps from one entry box to the other, leaving the
    entry box blank and then clicking on OK, to retrieve the
    information, the application suffer a segmentation fault. What I
    would like to know is if there is a signal that I can catch that
    will tell me if the user has left the entry box and there check if
    the user has left it blank.

    Thanks in advance

-- Happiness has many doors, and when one of them closes another
    opens, yet we spent so much time looking at the one that is shut
    that we don't see the one that just opened.
    _______________________________________________
    gtkmm-list mailing list
    gtkmm-list gnome org <mailto:gtkmm-list gnome org>
    http://mail.gnome.org/mailman/listinfo/gtkmm-list


------------------------------------------------------------------------

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

--
José Alburquerque
jaalburquerque cox net

The path to real wisdom begins with a deep loving respect for the ever living God (Prov. 1:7)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]