Re: GtkWindow from window ID
- From: Havoc Pennington <rhp zirx pair com>
- To: Adrian Hosey <ahosey snowcrash kiva net>
- cc: gnome-list gnome org
- Subject: Re: GtkWindow from window ID
- Date: Thu, 6 May 1999 18:38:26 -0400 (EDT)
On Thu, 6 May 1999, Adrian Hosey wrote:
>
> Is there a way to take an existing window (via its window ID) and "cast"
> it into a GtkWindow? Specifically I'd like to be able to use the
> gnome_win_hints_* functions on existing windows, those windows may not
> even be using GTK.
>
Nope, there's no way to do that. You can wrap an X window with a GdkWindow
using gdk_window_foreign_new() (gdk/gdkx.h) and then cut-and-paste the
code from gnome_win_hints_* maybe. But then you may as well just write
your own Xlib versions...
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]