Re: No matching function for call to Gdk::Window::invalidate_rect(int, bool)
- From: Daniel Elstner <daniel kitta googlemail com>
- To: François Legendre <Francois Legendre mail enpc fr>
- Cc: gtkmm-list gnome org
- Subject: Re: No matching function for call to Gdk::Window::invalidate_rect(int, bool)
- Date: Thu, 12 Feb 2009 03:30:33 +0100
Am Sonntag, den 21.12.2008, 21:32 -0500 schrieb Christopher Harvey:
> Hi Francois,
> try passing in a rectangle instead of a number. If you were passing in 0
> as in "NULL" that function doesn't take pointers, it takes a reference
> to a rectangle, that means you need to use an actual rectangle object
> and not a pointer to one or anything else.
>
> doing
>
> Rectangle myRect;
>
> drawing_area->get_window()->invalidate_rect(myRect, false) ;
>
>
> would work for example.
I know I'm a bit late, but for the case in question I'd just have used
drawing_area->queue_draw();
--Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]