[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gambas-user
Subject:    Re: [Gambas-user] DrawArea errors
From:       Demosthenes Koptsis <demosthenesk () gmail ! com>
Date:       2011-02-28 14:33:19
Message-ID: 1298903599.11111.0.camel () ubuntu-desktop
[Download RAW message or body]

ok, yes i found the examples

thanks.

On Sat, 2011-02-26 at 23:08 +0100, math.eber@t-online.de wrote:
> Try to do something like
>    Draw.Begin(drawArea)
>    Draw.Circle(10, 10, 5)
>    Draw.End
>    in one Sub, not in two. And not at all in the Draw event that is raised 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 <demosthenesk@gmail.com>
>    To: mailing list for gambas users <gambas-user@lists.sourceforge.net>
>    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 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.
>    >
>    > You should not have these errors, but anyway your code is not correct!
>    >
>    > Regards,
>    >
>    --
>    Regards,
>    Demosthenes
>    ----------------------------------------------------------------------------
>    --
>    Free Software Download: Index, Search & Analyze Logs and other IT data in
>    Real-Time with Splunk. Collect, index and harness all the fast moving IT
>    data
>    generated  by your applications, servers and devices whether physical,
>    virtual
>    or in the cloud. Deliver compliance at lower cost and gain new business
>    insights. http://p.sf.net/sfu/splunk-dev2dev
>    _______________________________________________
>    Gambas-user mailing list
>    Gambas-user@lists.sourceforge.net
>    https://lists.sourceforge.net/lists/listinfo/gambas-user
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in 
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business 
> insights. http://p.sf.net/sfu/splunk-dev2dev 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Regards,
Demosthenes Koptsis.


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic