At 07:37 PM 8/23/99 +0200, Jan Vroonhof wrote:
Andy Piper <andy(a)xemacs.org> writes:
> This allows you to layout glyphs according to some predefined strategy
> within a predefined area, e.g. right justified. You can optionally draw a
> border round the layout area which can be etched in/out or bevelled in/out.
> Layouts can be organised within layouts allowing for arbitrarily complex
> structures. My calculations tell me that if you put a border round
> sub-layouts you can get a nice table effect (which might interest BillP).
Can you layout non-glyph buffer content, for instance to produce a nice
Gnus summary listing with a proportional font?
You can't do this as yet. The objective at the moment is to support nice
looking gui dialogs. I haven't even added in the text glyph support yet.
I guess when I do it migh tbe possible, but don't hold your breath. There
are some other issues as well - a layout is treated as a single glyph for
redisplay purposes so redisplay is not highly optimised.
The reason I want this to be no be the glyph is data is because I want
it to still to be locatable using isearch. What would be nice if that
wherever there is a glyph that has text data you could say "Use the
text under extent so-and-so as data".
I think layouts are not the right thing for this anyway - I think you want
to use current-pixel-column to align text properly.
andy
--------------------------------------------------------------
Dr Andy Piper
Senior Consultant Architect, BEA Systems Ltd