All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

stacked-tree-decrease-font-height

stacked-tree-increase-font-height

Functions
Summary

Decrease or increase the font size in a stacked-tree.

Package

capi

Signature

stacked-tree-decrease-font-height stacked-tree &rest ignore

stacked-tree-increase-font-height stacked-tree &rest ignore

Arguments

stacked-tree

A stacked-tree.

ignore

Ignored extra arguments.

Description

The functions stacked-tree-increase-font-height and stacked-tree-decrease-font-height try to increase/decrease the point size of the font in stacked-tree . They add/subtract 1 from the size of the current font, and try to find a font with the new size. If this does not work, they add/subtract 2 and try again. If they find a new font, they set the font in stacked-tree to the new font. The heights of the rectangles are adjusted to fit the new font height.

stacked-tree-increase-font-height and stacked-tree-decrease-font-height are used by the Ctrl-> and Ctrl-< gestures and you can use them to implement your gestures. The &rest ignore means that you can use these functions in the input-model directly.

See also

stacked-tree


CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017

NextPrevUpTopContentsIndex