Basics
Guides
API Reference
Basics
Guides
API Reference
[16:14] static extends: object
Library configuration for the Gsk generated namespace. The native library
lookup is opened once per process and shared across every generated wrapper
class in this namespace. To use a non-default install location, call
setLibraryName before the first wrapper constructs a handle. This file was
emitted with --lib-strategy=cross-platform, which writes an explicit
candidate list for each platform. The list is tried in order; the first
candidate that loads wins.
library ()
Returns the shared native library lookup, opening it on first use.
A NativeLibrary object.setLibraryName (string Name)
Overrides the library name used for lazy opening. Must be called before any generated wrapper has constructed a handle; once the library is opened the name is frozen.
Name is the library name or path to use.this object.libraryName ()
Returns the current library name, whether set explicitly or defaulted from the GIR shared-library attribute.
A string.libraryCandidates ()
Returns the platform candidate list that library() tries in order. Empty after setLibraryName has pinned a single explicit name.
A list of strings.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.