by
>drawing...
>Just look at all those examples in the Drawing section, plus ImageViewer.
>-Original-Nachricht-
> Subject: Re: [Gambas-user] DrawArea errors
>Date: Sat, 26 Feb 2011 21:37:19 +0100
>From: Demosthenes Koptsis
>To: mailing list for
> Yes it maybe not correct i try to figure out how to use a drawing area.
> Any example, any help?
>
Since revision #3626, you get some accurate error messages ("Cannot draw
outside of Draw event handler") instead of weird warnings and sometimes
crashes.
Regards,
--
Benoît Minisini
-
Subject: Re: [Gambas-user] DrawArea errors
Date: Sat, 26 Feb 2011 21:37:19 +0100
From: Demosthenes Koptsis
To: mailing list for gambas users
Yes it maybe not correct i try to figure out how to use a drawing area.
Any example, any help?
On Sat, 2011-02-26 at 18:52 +0100, Benoît
Yes it maybe not correct i try to figure out how to use a drawing area.
Any example, any help?
On Sat, 2011-02-26 at 18:52 +0100, Benoît Minisini wrote:
> > i have this code
> >
> > ' Gambas class file
> >
> > Public Sub Form_Open()
> >
> > Draw.Begin(drawArea)
> >
> > End
> >
> > Public Sub
> i have this code
>
> ' Gambas class file
>
> Public Sub Form_Open()
>
> Draw.Begin(drawArea)
>
> End
>
> Public Sub drawArea_Draw()
> Draw.Circle(10, 10, 5)
>
>
> End
>
>
> and i get these errors.
>
>
> (Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
> `GDK_IS_
i have this code
' Gambas class file
Public Sub Form_Open()
Draw.Begin(drawArea)
End
Public Sub drawArea_Draw()
Draw.Circle(10, 10, 5)
End
and i get these errors.
(Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
`GDK_IS_DRAWABLE (drawable)' failed
(Project99:157