Re: GtkWindow an XCreateWindow
- From: David Odin <David Odin bigfoot com>
 
- To: Ubirata Azevedo Ignacio <ubirata zeus unisinos br>
 
- Cc: "gtk-app-devel-list redhat com" <gtk-app-devel-list redhat com>
 
- Subject: Re: GtkWindow an XCreateWindow
 
- Date: Fri, 13 Oct 2000 14:55:14 +0200
 
On Fri, Oct 13, 2000 at 09:58:16AM -0200, Ubirata Azevedo Ignacio wrote:
  Hi!
  Supose I have
  
  GtwWidget *win ;
  
  win = gtk_window_new(...
  
  The cast GTK_WINDOW_XWINDOW(GTK_WIDGET(win)->window)) must return a
pointer like XCreateWindow, right?
  So, if it's true, why I can't work with that pointer like a
XCreateWindow poiter?
  Or I'm absolutely wrong?
   You're absolutely wrong :)
   XCreateWindow return a 'Window' type, which is really in int.
   And GTK_WINDOW_XWINDOW also return a 'Window'.
                   DindinX
--
David Odin bigfoot com
Author of the French Book: Programmation Linux avec GTK+
The universe does not have laws -- it has habits, and habits can be broken.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]