Question on keyboard focus

2010-11-18 Thread Lukas Kontenis
Hi, If I connect to the "key-pressed-event" of the main window GtkWidget of my application, the callback gets called when I type in a GtkEntry or a GtkSpinButton. I would like my callback to be called or have some means to mask out calls depending on whether the application window itself is in foc

gdk-lock sharing between threads

2010-09-18 Thread Lukas Kontenis
Hi, I'm having trouble understanding the way gtk/gdk locking works in a multi-threaded application. According to GTK documentation, to make gtk calls thread-safe I have to initialize both the GLib and GDK thread subsytems and enclose the gtk_main() statement in a gdk_threads_enter()/gdk_threads_le

GTK+/GLib thread behaviour

2010-08-24 Thread Lukas Kontenis
Hi, I'm struggling with a problem in my application that seems to be thread related. I'm developing and application, that has real time video acquisition, processing and visualisation functionality. When video acquisition button is clicked I call function: StartVideo( callback_fcn( *image), data

How to check runtime DLL version

2010-08-10 Thread Lukas Kontenis
Hi, I'm wondering how to check the runtime version of the (glib and gtk for example) DLLs, that the application is linking to. I know one can check the version of included headers and statically linked libraries using GLIB_MAJOR_VERSION and glib_major_version, but the dynamic linking is giving me

Re: Question concerning forced expose-events

2010-08-05 Thread Lukas Kontenis
Hi, You were right, the camera driver is running in a different thread, and driver callbacks happen outside the GTK+ lock. Thanks. solarsd ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-de

Question concerning forced expose-events

2010-08-04 Thread Lukas Kontenis
Hi, I'm not sure, if I'm doing this right (and I'm new to GTK+), but here is what is giving me trouble. I have a drawing area where I show images acquired with a USB-connected camera. The camera driver provides a hookup for a callback function, that gets called each time a new image is acquired a