Re: "drawingarea->window" question.... what is it set to?



>I have noticed that "drawing areas" have an element
>called "window" that only gets set when drawing areas
>are _packed_ into a hbox or vbox.
>
>Does anyone know what "drawingarea->window" points too??
>
>I have printed out addresses of various widgets
>to see if drawingarea->window points to them but
>I haven't found it yet.
>
>I need to set this address myself for various reasons.
>It would be nice to know what to set it to before
>I pack the drawing area and it gets set automatically.

you can't set it. its a GdkWindow and its the one that the drawing
area uses for rendering. all GtkWidget's have this pointer, and they
all use it for the same thing, more or less.

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]