Re: Drawing on top of GnomeCanvas?



On 11 May 2002, Gustavo J A M Carneiro wrote:

Later, I draw a rectangle with:
    gdk_gc_set_line_attributes(gc, 3, self->line_style,                             
GDK_CAP_NOT_LAST,
                             GDK_JOIN_MITER);
    gdk_draw_rectangle(drawable, gc, FALSE, x, y, width, height);

  However, I can't see anything at all!

Where later?

I think you need to draw in the expose event.

Hope that helps.

Chris
ccn olenska hn org





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]