Expand description
Loading layout files
Enumsยง
- Data
Source ๐ - Layout
Purpose ๐Helper for determining where to look up the layout.
Constantsยง
- FALLBAC
K_ ๐LAYOU T_ NAME
Functionsยง
- Returns ordered names treating
name
as the base name, ignoring any+
inside. - get_
directory_ ๐string Returns the directory string where the layout should be looked up, including the slash. - get_
preferred_ ๐names Returns names accounting for any+
in thename
, including the fallback to the default layout. - iter_
layout_ ๐sources Returns possible sources, with first as the most preferred one. Trying order: native lang of the right kind, native base, fallback lang of the right kind, fallback base - load_
layout_ ๐data - to_
layout_ ๐paths Returns an iterator over all fallback paths. - to_
layout_ ๐sources
Type Aliasesยง
- Layout
Path ๐Includes the subdirectory before the forward slash. - Layout
Source ๐