Re: scrolled window with drawingarea



On Mon, 2006-10-02 at 02:24 -0700, oedipus wrote:
> I think i found the right settings for this problem but i get an error. The
> setting is:
> set_redraw_on_allocate(bool redraw_on_allocate = true);
> 
> But the compiler gives me: 
> ./src/main_window.cc:42: Fehler: expected primary-expression before ?bool?
> *** Exited with status: 2 ***
> 
> What is the missing primary expression or do I handle the function in a
> wrong way?

redrawing should happen *only* in expose event handlers. i strongly
suspect that this is your problem. do not try to draw your drawing areas
contents from anywhere else, and things will work out just the way you
expect.

--p





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