[fxruby-users] drawing on canvas

Lyle Johnson lyle.johnson at gmail.com
Sun Mar 11 19:06:59 EDT 2007


On 3/11/07, Raj Sahae <rajsahae at gmail.com> wrote:

> And I have no idea how to get this canvas working.
> I've been looking at the scribble.rb example and trying to work off that.
>
> I get a seg fault when I run the method.  @canvas is an instance of
> FXCanvas.

<snip>

Raj, I don't see anything obviously wrong with the code, but it may
depend on the context from which the method is called. For example: At
the time the method is called (and causes the segfault), has the
canvas pointed to by @canvas actually been created yet?


More information about the fxruby-users mailing list