Re: Making a cursor (cross hair) track between image displays

2012-04-04 Thread jcupitt
Hi Jim, On 2 April 2012 17:00, Tilton, James C. (GSFC-6063) james.c.til...@nasa.gov wrote: When I place the cursor in one of the display images, I would like to have a cross hair appear at the cursor location of the window in which the cursor is placed at the location currently pointed to by

RE: Making a cursor (cross hair) track between image displays

2012-04-04 Thread Tilton, James C. (GSFC-6063)
Thanks John, Your response is very helpful. The one key question that remains for me is: How do I draw a floating crosshair? Thanks. Jim Dr. James C. TiltonVoice: 301-286-9510 NASA Goddard Space Flight

Re: Making a cursor (cross hair) track between image displays

2012-04-04 Thread jcupitt
On 4 April 2012 15:37, Tilton, James C. (GSFC-6063) james.c.til...@nasa.gov wrote: Your response is very helpful. The one key question that remains for me is: How do I draw a floating crosshair? You need to do it by hand, unfortunately, though it's not so hard (I think). The trick (in my

Re: Request of API which are thread safe/unsafe

2012-04-04 Thread Pavel Holejsovsky
On 4/4/2012 5:30 AM, Colin Walters wrote: Another idea is to add the concept of only run dispose/finalize in this main context to GObject. Possibly objects could record the main context in which they were constructed, and GObject would do the marshaling automatically.

Re: Request of API which are thread safe/unsafe

2012-04-04 Thread Colin Walters
On Wed, 2012-04-04 at 09:50 +0200, Pavel Holejsovsky wrote: On 4/4/2012 5:30 AM, Colin Walters wrote: Another idea is to add the concept of only run dispose/finalize in this main context to GObject. Possibly objects could record the main context in which they were constructed, and GObject

How to recreate GLib binary bundle for Windows

2012-04-04 Thread Matteo Pampolini
Hello there, this is my first message on this mailing list, my name is Matteo and I'm writing from Italy. I'm currently working on a GStreamer-based Windows application, until now the binary version of GLib that comes with the GTK+ binary bundle was OK for me, but then I had to recompile

Re: RFC: glocal - automatically freeing memory when it goes out of scope

2012-04-04 Thread Chris Vine
On Tue, 03 Apr 2012 23:35:46 -0400 Colin Walters walt...@verbum.org wrote: On Wed, 2011-11-16 at 21:05 +0100, Mikkel Kamstrup Erlandsen wrote: Hi all, I have been looking at gcc's cleanup attribute[1] that allows one to specify a callback that will be invoked when a variable goes out

Re: How to recreate GLib binary bundle for Windows

2012-04-04 Thread Dieter Verfaillie
On Wed, 04 Apr 2012 16:29:22 +0200, Matteo Pampolini wrote: I'm currently working on a GStreamer-based Windows application, until now the binary version of GLib that comes with the GTK+ binary bundle was OK for me, but then I had to recompile GLib itself. With some issues I was finally able to

RE: How to recreate GLib binary bundle for Windows

2012-04-04 Thread Pampolini Matteo
Hi Dieter, many many thanks for your quick and exhaustive reply. I own a MSVC10 license, using it allows me to obtain the PDB files, too that can ease Windows development but then I will have runtime DLLs built with MinGW and import libraries built with MSVC, and I do not think this is very

Re: How to recreate GLib binary bundle for Windows

2012-04-04 Thread Jernej Simončič
On Wed, 04 Apr 2012 16:29:22 +0200, Matteo Pampolini wrote: Everything seems fine, but when I start my application I get an error on a libffi missing symbol. My suspect is that I probably made some confusion with the two sets binaries: which one should I use, the runtime DLLs generated by