reparent issues
- From: Kevin DeKorte <kdekorte gmail com>
- To: gtk-app-devel-list gnome org
- Subject: reparent issues
- Date: Mon, 19 Feb 2007 16:32:38 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi All,
I have some code that does this where windowid is an X window id. And
window is a gtk_window_new(GTK_WINDOW_TOPLEVEL).
window_container = gdk_window_foreign_new(windowid);
gdk_window_reparent(window->window,window_container,0,0);
gtk_widget_map(window);
When I use beryl, this works perfectly, but when I use metacity as my
window manager, the window won't embed...
Am I doing this wrong or should I look someplace else.
Thanks,
Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFF2jOW6w2kMH0L1dERAj3AAJ4j+vH+xs3KMi36be/0YLkRYf8KiQCfcQs4
MPlFBKu2GblMeqqCLDimy+M=
=/dZ2
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]