Skip to content

typerig.proxy.gs3.gui.palette_config

palette_config

TypeRig sidebar palettes — UI configuration.

Single source of truth for the layout of every TR palette in the Glyphs sidebar (TypeRig Toolbar.glyphsPalette, and later palettes). Palettes are a different surface from TR Panel: a fixed-width sidebar section with a dense icon grid instead of a floating window with tabs. TR Panel's sizes live in config.py (UI); nothing here is shared with it.

Same rules as config.py: no layout literal in palette code; add a field here first, then alias it. GS3 / GS4 presets, picked by HOST_MAJOR.

from typerig.proxy.gs3.gui.palette_config import PALETTE
BTN = PALETTE.BTN

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
PALETTE attribute