Re: Getting native X Window from GtkWidget

2005-03-16 Thread Jörg Henne
Owen Taylor schrieb: On Mon, 2005-03-14 at 15:22 +0100, Jrg Henne wrote: } As you can see, I tried both suggested routes. However, both of them lead to the same problem: Entering Handle: 0x34000c1 (process:11392): GLib-GObject-CRITICAL **: gtype.c:1871: initialization assertion failed, use

Getting native X Window from GtkWidget

2005-03-14 Thread Jörg Henne
Hi all, I am trying to turn an application window implemented in wxPython into a KDE system tray applet. Just to make this clear: I am not talking about the taskbar representation of a window, but the area which displays just icons, like the loudspeaker icon which controls the mixer etc. The

Re: Getting native X Window from GtkWidget

2005-03-14 Thread Viraj Chatterjee
GDK_WINDOW_XWINDOW(GdkWindow) -vc - Original Message - From: Jörg Henne [EMAIL PROTECTED] To: gtk-app-devel-list@gnome.org Sent: Monday, March 14, 2005 6:12 PM Subject: Getting native X Window from GtkWidget Hi all, I am trying to turn an application window implemented in wxPython

Re: Getting native X Window from GtkWidget

2005-03-14 Thread Jörg Henne
A big thanks to both of you for the quick answer. Unfortunately, I'm still out of luck. This is the code I use: static PyObject * kdetray_set_tray(PyObject *self, PyObject *args) { GtkWidget *gtkWidget; fprintf(stderr, Entering\n); if(!PyArg_ParseTuple(args, i,