Re: [Gambas-user] DrawArea errors

2011-02-28 Thread Demosthenes Koptsis
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

Re: [Gambas-user] DrawArea errors

2011-02-27 Thread Benoît Minisini
> 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

Re: [Gambas-user] DrawArea errors

2011-02-26 Thread math.e...@t-online.de
- 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

Re: [Gambas-user] DrawArea errors

2011-02-26 Thread Demosthenes Koptsis
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

Re: [Gambas-user] DrawArea errors

2011-02-26 Thread Benoît Minisini
> 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_

[Gambas-user] DrawArea errors

2011-02-26 Thread Demosthenes Koptsis
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