Re: [Fxruby-users] reparent/linkAfter in FXFileSelector widget
Status: Inactive
Brought to you by:
lyle
From: Lyle J. <jl...@cf...> - 2004-01-09 16:27:17
|
Rich wrote: > I'm trying to insert my own FXTextField right after the directory drop > down in the first FXHorizontalFrame... but I've only found the > 'children()' method as the way to navigate through the existing > structure... and that returns an FXWindow... reparent and linkAfter > require an FXComposite type as the parameter... <snip code examples> > What are my options? Is there an easy/easier way to 'insert' something > into an existing widget like the FXFileSelector? The approaches that you're trying are correct, but there is a problem with the return values for FXWindow#children. The first child widget for the FXFileSelector is supposed to be an FXHorizontalFrame but it's being returned to you as an FXWindow instance instead. I know what's wrong, but I don't think there's a workaround for FXRuby-1.0.27. I have added this to the bug list and it should be fixed in the next release. |