Re: changing font, color, size, etc. in a GtkEntry

2013-11-07 Thread Eric Wajnberg
Thanks Michael for your answer. The compilation is ok. No error message. This is the linker that reports, e.g.: undefined reference to `pango_font_description_from_string' The instruction I use to compile is (which is launched by CodeBlocks): mingw32-g++.exe -LC:\Program Files

Re: changing font, color, size, etc. in a GtkEntry

2013-11-07 Thread Eric Wajnberg
Ok, I finally find out what was the problem.. I had to add the library pango-1.0.lib in the compiling options. Strange that this was not included initially when building a project with gtk+. P.. I spent days on this... Thanks is all cases for your help on this. Cheers, Eric. Eric

Re: changing font, color, size, etc. in a GtkEntry

2013-11-06 Thread Michael Cronenworth
Eric Wajnberg wrote: However, as I've mentioned in my original post, functions like pango_font_description_from_string, etc. are not recognized in my coding environment (while I can define pointer to things like PangoFontDescription without problem). This looks weird to me. Is there some

Re: changing font, color, size, etc. in a GtkEntry

2013-11-05 Thread Michael Cronenworth
Eric Wajnberg wrote: I simply want to modify the font, color, size, etc. of the characters entered while they are typed in a GtkEntry. I am coding with GTK 2.24.0. Looking around on the web, I found several possible functions to do that, some of them seem to be specific to GTK3, however. I

Re: changing font, color, size, etc. in a GtkEntry

2013-11-05 Thread Eric Wajnberg
Thanks Michael, This is indeed the sort of solutions I've tried. However, as I've mentioned in my original post, functions like pango_font_description_from_string, etc. are not recognized in my coding environment (while I can define pointer to things like PangoFontDescription without