Gérard Ménochet
2006-Jul-11 23:31 UTC
[fxruby-users] reparent in the FXWindow documentaton
Hi,
The definition of reparent in the FXWindow documentation seems odd to me:
<< reparent(father, other)
Reparent this window under new father window, after other sibling.. >>
I wonder if I should understand .... before other sibling
from core.rb
# Relink this window before sibling window _other_, in the parent''s
window list.
def linkBefore(other)
reparent(self.parent, other)
end
# Relink this window after sibling window _other_, in the parent''s
window list.
def linkAfter(other)
reparent(self.parent, other.next)
end
Is there a problem ???
Regards
G?rard M?nochet
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://rubyforge.org/pipermail/fxruby-users/attachments/20060712/0e9362a5/attachment.html
On Jul 11, 2006, at 6:31 PM, G?rard M?nochet wrote:> The definition of reparent in the FXWindow documentation seems odd > to me: > > << reparent(father, other) > Reparent this window under new father window, after other > sibling.. >> > > I wonder if I should understand .... before other siblingYou''re right, the documentation for FXWindow#reparent is incorrect (it should say "before"). Will you please file a bug report on this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/fxruby-users/attachments/20060711/2da56388/attachment.html