Is there any easy way to give a McCLIM pane one of those handy-dandy stretch interactors that conventional UIs have? You know, where you can re-allocate space across a pair of panes by dragging on the bounday line, or a little icon attached to the boundary?
Thanks, R
rpgoldman@real-time.com writes:
Is there any easy way to give a McCLIM pane one of those handy-dandy stretch interactors that conventional UIs have? You know, where you can re-allocate space across a pair of panes by dragging on the bounday line, or a little icon attached to the boundary?
At least one CLIM implementation, probably Franz's, provides access to the Motif sashes.
Paolo
I have a quick hack in McCLIM which accomplishes this somewhat tolerably. It is a gadget which can be inserted in a horizontal/vertical-box/rack pane which will adjust the space requirements of the two panes adjacent to it. I believe it is called box-adjuster-gadget (and if that's wrong, you can find the code at end of mcclim/gadgets.lisp). IIRC it is exported from the clim-extensions package.
Currently it sometimes lags behind the mouse cursor in a way that is not intuitive. This is a funky interaction with the layout gadgets, which are being too smart for their own good. It should be easily fixable by anyone with the patience to learn how the layout gadgets are implemented.
On 4/29/05, rpgoldman@real-time.com rpgoldman@real-time.com wrote:
Is there any easy way to give a McCLIM pane one of those handy-dandy stretch interactors that conventional UIs have? You know, where you can re-allocate space across a pair of panes by dragging on the bounday line, or a little icon attached to the boundary?
Thanks, R _______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel