GtkApplication initialization tru command-line signal (vs activate or startup signals)

2011-05-21 Thread Basile Starynkevitch
Hello I don't understand how GtkApplication and GApplication should be used. I actually am not sure to understand why is GtkApplication really useful. I believe it is using DBus to communicate with the session manager, possibly to permit that only one instance is running. But I don't understand

Re: Impl specific functionality

2011-05-21 Thread Kristian Rietveld
Hi John, The GTK+ source code makes use of the following defines: GDK_WINDOWING_X11, GDK_WINDOWING_WIN32 and GDK_WINDOWING_QUARTZ. These are defined in gdkconfig.h, which is installed as a public header, so you should be able to make use of it as well. For GTK+ 3.0, keep in mind that multiple b

Impl specific functionality

2011-05-21 Thread John Emmas
Suppose I'm writing an app that can either be built with gtk-x11 or gtk-win32. And suppose there's a function that I'd only ever need to call in the X11 version (XSetErrorHandler() is probably a good example). Is there a #define or something that I can use at compile time (or even something I