No matching function for call to Gdk::Window::invalidate_rect(int, bool)



Hello,

I get the following error from g++:

No matching function for call to «Gdk::Window::invalidate_rect(int, bool)

The documentation says:

==========
void Gdk::Window::invalidate_rect(const Rectangle& rect, bool
invalidate_children)

A convenience wrapper around gdk_window_invalidate_region() which
invalidates a rectangular region.

See gdk_window_invalidate_region() for details.

Parameters:
 rect Rectangle to invalidate or 0 to invalidate the whole window.
 invalidate_children Whether to also invalidate child windows.
==========

So I try to code

drawing_area->get_window()->invalidate_rect(0, false) ;

and I get the previous error.

Any ideas ?

François


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