summaryrefslogtreecommitdiff
path: root/documentation/Fl_Widget.html
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-08-25 07:35:56 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-08-25 07:35:56 +0000
commit3f5e81be0e5518d1e122eb89c1dd797ea26b1ada (patch)
tree040822ebc5a149a9d8fab816c1d6f53d4741862c /documentation/Fl_Widget.html
parentf27180b7cd801340f4691632814fa26ed5feba32 (diff)
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
Diffstat (limited to 'documentation/Fl_Widget.html')
-rw-r--r--documentation/Fl_Widget.html4
1 files changed, 4 insertions, 0 deletions
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 <I>not</I> 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.
+<P>Some window managers under X11 call <TT>resize</TT> a lot more
+often than needed. Please verify that the position or size of
+a widget did actually change before doing any extensiive calculations.
+
<P><TT>position(x,y)</TT> is a shortcut for <TT>resize(x,y,w(),h())</TT>,
and <TT>size(w,h)</TT> is a shortcut for <TT>resize(x(),y(),w,h)</TT>.</P>