Re: How does gtk display glyph with code in private use area?

2012-02-13 Thread Tadej Borovšak
Hi. Not an expert in this area, but maybe you can get away by passing codepoint of your glyph to g_unicode_to_utf8() and use the result in your strings. If this doesn't work, you can still manually convert 010005 to UTF-8 and use that in your document. (I think codepoint 010005 converts to 4 bytes

gtk accelerator problem (GTK+ 2.0)

2012-02-13 Thread jumbophut
Hi folks I have this bit of (working) code, which is designed to call a popup routine whenever the 'q' key is pressed anywhere in my application: GtkAccelGroup *accels = gtk_accel_group_new(); guint keyval; GdkModifierType keymods; const gchar *str = "q"; gtk_accelerator_parse(str, &keyval, &keym

How does gtk display glyph with code in private use area?

2012-02-13 Thread Ferdinand Ramirez
I added a glyph using fontforge to a ttf file. The glyph is in private use area and has the code 010005. How do I display this using gtk? However, my program does not display the glyph. If I add the glyph with unicode value with something like 46DB or a value which is not in the private use are

Push button with enter

2012-02-13 Thread Manuel Ferrero
I'd like to have a button pushed every time I press the Enter key, even if that button is not selected. Let say I click on a text box, I write some text and then when I press Enter the button is pressed. Is it possible? Right now the button is pressed only if it's selected, but the GtkButton pr

string comparaison ignoring accent

2012-02-13 Thread Nicolas Soubeiran
Hi all, Is there a way in Glib/Gtk+ to compare 2 strings ignoring the accent such as g_utf8_casefold does for case insensitive comparison. I need a function that match : compare("école","ecole") == 0 Thanks. ___ gtk-app-devel-list mailing list gtk-app-de