Re: rich-text on a pinboard?
Paul Tarvydas wrote on Fri, 18 Jan 2008 16:24:09 -0500 00:24:
| I keep coming back to the question of whether I can use predefined pane
| types, e.g. rich-text-pane, on pinboard layouts. I think I've asked a
| similar question before, so there must be something fundamental in my
| understanding about pinboards that is wrong or incomplete...
|
| I have an app that displays a background and I want to scribble
| selection rectangles and text snippets over top of the background.
I cannot say for the rich-text-pane but the editor-pane works quite well for
me (see http://lisp.ystok.ru/ygrid/).
| The rich-text-pane, in this test, is not a pinboard object. (!?)
|
| I don't see how to make the rich-text-pane into a pinboard-object.
Including panes of other types into a pinboard-layout is no problem.
| Maybe it really doesn't matter, since I want to "pop up" the edit box
| at specific x,y's and then make it disappear when the edit is "done"?
I would suggest going this way. You can hide (almost) every pane via capi:hide-pane.
In YGrid, I actually create only one "editing pane" per pinboard. Though,
the editor-pane seems to provide more benefit over the rich-text-pane: it
accepts additional keyboard gestures, which are useful, for example, to move
the current cell.
--
Sincerely,
Dmitriy Ivanov
lisp.ystok.ru