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
This commit is contained in:
Matthias Melcher 2006-08-25 07:35:56 +00:00
parent f27180b7cd
commit 3f5e81be0e
1 changed files with 4 additions and 0 deletions

View File

@ -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>