Re: How can I solve this problem of Gdk
- From: Ana Gutiérrez Pascual <al004180 anubis uji es>
- To: Sven Neumann <sven gimp org>
- Cc: =?iso-8859-15?b?QW5hIEd1dGnpcnJl?=z Pascual <al004180 alumail uji es>, <gtk-list gnome org>
- Subject: Re: How can I solve this problem of Gdk
- Date: Fri, 14 Feb 2003 12:25:54 +0100 (NFT)
hi,
i do the changes you tell me but the errors continue :(
could you help me?
Ana.
On 14 Feb 2003, Sven Neumann wrote:
> Hi,
>
> =?ISO-8859-15?B?QW5hIEd1dGnpcnJl?=z Pascual <al004180 alumail uji es> writes:
>
> > i'm new with gtk/gdk. i create a program to design some differents objects, in
> > this case a simple line. but i supose i don't use correctly the pointers
> > 'cause i obtain these errors.
> >
> > Gdk-CRITICAL **: file gdkgc.c: line 51 (gdk_gc_new_with_values): assertion
> > `window != NULL' failed.
>
> you can not access a widget's window before it is realized (because
> there is none). You should either connect_after realize and create
> your GC there or simply do it in the expose_event handler where you
> do your drawing.
>
>
> Salut, Sven
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]