[Gambas-user] DrawArea errors

Demosthenes Koptsis demosthenesk at ...626...
Sat Feb 26 18:48:21 CET 2011


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:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion
`GDK_IS_GC (gc)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
`GDK_IS_DRAWABLE (drawable)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
`GDK_IS_DRAWABLE (drawable)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_gc_set_background: assertion
`GDK_IS_GC (gc)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_drawable_get_colormap: assertion
`GDK_IS_DRAWABLE (drawable)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_gc_set_foreground: assertion
`GDK_IS_GC (gc)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_gc_set_clip_rectangle: assertion
`GDK_IS_GC (gc)' failed

(Project99:15758): Gdk-CRITICAL **: gdk_draw_arc: assertion
`GDK_IS_DRAWABLE (drawable)' failed


i use Ubuntu 10.04 AMD64.



-- 
Regards,
Demosthenes Koptsis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Project99.tar.gz
Type: application/x-compressed-tar
Size: 5142 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20110226/e036c156/attachment.bin>


More information about the User mailing list