Re: [gtk-list] GtkWindow ?????



Havoc Pennington wrote:
> 
> On Fri, 4 Dec 1998, Yoel Benitez Fonseca wrote:
> >
> >  I don't know where is my error, It want to move the GtkWindow and give
> > it another measures, the following is a portion of what I tried to do:
> >
> >       gdk_window_move( (GdkWindow*)GTK_WINDOW(window), bounds->x, bounds->y );
> >       gdk_window_resize( (GdkWindow*)GTK_WINDOW(window), bounds->width,
> >                                                          bounds->high);
> >
> 
> GdkWindow and GtkWindow are different types, so you are doing something
> Very Bad. If the compiler won't compile something, adding casts is
> generally not the best solution. ;-)

But how then can do that, i look in the includes files of GTK but can't
find any function related to that.



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