invalid utf-8 string pango warning

2013-05-23 Thread Rudra Banerjee
Hello gurus, I am a novice(both in C and in gtk+), but managed to create a parser that will create a tree from the parser. The problem is, in the minimal example posted in fpaste, if the line 264-266 is uncommented, i.e. I parse the same file twice, I get "Pango-WARNING **: Invalid UTF-8 string pa

Re: GTK+3 - A common event handler - Gone OT into cairo and draw territory

2013-05-23 Thread Donn
Thanks for your thoughts, I have pushed my luck and replied :) On 22/05/2013 17:18, Bernhard Schuster wrote: If you compose your stuff of polygons (which I am pretty sure you do), there is pretty neat math to check if your cursor is in or outside of a polygon (for low vertex count polygons, for

Re: Widget alignment

2013-05-23 Thread jcupitt
On 23 May 2013 01:18, Kip Warner wrote: > I think your scrolled window is being allocated the width of the page, and then the image is falling to the left within that. Try without the srcolled window. Could you post a complete example? J

Re: GTK+3 - A common event handler - possible?

2013-05-23 Thread Bernhard Schuster
> I will attempt grokkage of this user_data thing. I've seen it in the C > docs, but I'm newly into Vala, and it looks ... weird: > https://live.gnome.org/Vala/**SignalsAndCallbacks(at > end) Makes somewhat sense, you are expected to pass a class