How can wrap a existent X window into GtkWidget?
- From: Monte Lin <monte ipex com tw>
- To: gtk-app-devel-list gnome org
- Subject: How can wrap a existent X window into GtkWidget?
- Date: Tue, 04 Sep 2001 17:39:01 +0800
Hi:
I got some pure XWindow codes to port to Gtk. Because some of the windows created in the old code (by
calling XCreateWindow() ) are just for image display and all I need to do with it is to handle the Expose
event to redraw its image content, I feel strongly that it's too much kill to rewrite its code. But how can
I incooperate those X windows into Gtk?
I has checked out the tutorial and refrence, and found only gdk_window_foriegn_new() to be closed to what I
want, but yet it only gives me a GdkWinodw, not GtkWidget, and I don't know how to connect a Gtk signal
handler to it. Can anyone help me?
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]