Thank you for your prompt response. I am sorry, I don't think I explained myself well enough. If the user enters the number 24 in an Gtk::Entry, how can I check if the entry is actually a number and not a character string? thank in advance From: Kjell Ahlstedt [mailto:kjell ahlstedt bredband net] 2012-03-15 13:53, Arbol One skrev: Does Glibmm provide a way to convert an character value to an integer value? TIA Don't know exactly what type of conversion you want. If you want to convert a utf-8 encoded character to the character's Unicode code point, Glib contains the g_utf8_to_ucs4() function. I don't think it's wrapped in a Glibmm function. |