Re: [Fxruby-users] FXSplitterWindow move splitter programatically
Status: Inactive
Brought to you by:
lyle
From: Joel V. <vj...@PA...> - 2004-01-12 01:16:40
|
Steve Tuckner wrote: > Is there a way to programatically set the position of the splitter bar? I don't see any "setSplit" or equivalent methods in FXSplitter, either. FWIW, FX4Splitter has methods #getVSplit, #setVSplit, #getHSplit, and #setHSplit. The API doc says there should also be accessors for vSplit and hSplit, but these aren't defined. The setters take a number representing the proportion of split. The max is 10_000 (so 5_000 means 50% split). (This is by experimentation. I didn't see anything in the docs that would explain this.) -- Joel VanderWerf California PATH, UC Berkeley mailto:vj...@pa... Ph. (510) 231-9446 http://www.path.berkeley.edu FAX (510) 231-9565 |