From 3f5e81be0e5518d1e122eb89c1dd797ea26b1ada Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 25 Aug 2006 07:35:56 +0000 Subject: Updated Fl_Widget::resize documentation to reflect the "bogus resize messages" with some window managers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Widget.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'documentation') diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html index 248b27555..88b654061 100644 --- a/documentation/Fl_Widget.html +++ b/documentation/Fl_Widget.html @@ -425,6 +425,10 @@ resizing. The default version does not call the widget to do so because the parent may know a faster way to update the display, such as scrolling from the old position. +

Some window managers under X11 call resize a lot more +often than needed. Please verify that the position or size of +a widget did actually change before doing any extensiive calculations. +

position(x,y) is a shortcut for resize(x,y,w(),h()), and size(w,h) is a shortcut for resize(x(),y(),w,h).

-- cgit v1.2.3