Templates

PPresenter
Manual
Templates

options

The Template style-elements describe where the text is place in the screen. Portable Presenter currently has only one set of templates: the default set.

General Template Options

A percentage is a value between 0 and 1 or a string between '0%' and '100%'.
-areaSeparation => percentage
The distance which is kept horizontally as well as vertically between the screen parts.

-titlebarHeight => percentage
The height of the title-bar space in relation to the whole height of the display space.

-place => [ [ left, top, width, height, string ], ... ]
and left, top, width, height are percentages
-place is a list of regions where to put text in. All templates are lazy: they translate the partioning they have to make into new elements in the -place list.

The percentages are relative to the area which is determined by the -backgroundBounds defined by the selected Decoration.

-showTemplateOutlines => pixels
Mostly used for debugging template layouts. The size given is used as line-width.


Portable Presenter is written and maintained by Mark Overmeer. There is no relation between this software product and his employer.
Copyright (C) 1999, Free Software Foundation Inc.