Re: [gtk-list] GtkWindow ?????
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: Yoel Benitez Fonseca <mark csd uo edu cu>
- cc: gtk-list redhat com
- Subject: Re: [gtk-list] GtkWindow ?????
- Date: Fri, 4 Dec 1998 13:31:32 -0600 (CST)
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. ;-)
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]