Directories
¶
| Path | Synopsis |
|---|---|
|
Package app is the ergonomic layer over the generated bindings: the startup sequence a WinUI application needs, in the one order that works.
|
Package app is the ergonomic layer over the generated bindings: the startup sequence a WinUI application needs, in the one order that works. |
|
bindings
|
|
|
runtime/winui
Package winui is the hand-written runtime layer for the Windows App SDK bindings: everything generated code needs that cannot itself be generated.
|
Package winui is the hand-written runtime layer for the Windows App SDK bindings: everything generated code needs that cannot itself be generated. |
|
winui/foundation
Package foundation binds the Microsoft.Foundation API surface of the Windows App SDK.
|
Package foundation binds the Microsoft.Foundation API surface of the Windows App SDK. |
|
winui/graphics/directx
Package directx binds the Microsoft.Graphics.DirectX API surface of the Windows App SDK.
|
Package directx binds the Microsoft.Graphics.DirectX API surface of the Windows App SDK. |
|
winui/graphics/display
Package display binds the Microsoft.Graphics.Display API surface of the Windows App SDK.
|
Package display binds the Microsoft.Graphics.Display API surface of the Windows App SDK. |
|
winui/graphics/imaging
Package imaging binds the Microsoft.Graphics.Imaging API surface of the Windows App SDK.
|
Package imaging binds the Microsoft.Graphics.Imaging API surface of the Windows App SDK. |
|
winui/security/authentication/oauth
Package oauth binds the Microsoft.Security.Authentication.OAuth API surface of the Windows App SDK.
|
Package oauth binds the Microsoft.Security.Authentication.OAuth API surface of the Windows App SDK. |
|
winui/ui
Package ui binds the Microsoft.UI API surface of the Windows App SDK.
|
Package ui binds the Microsoft.UI API surface of the Windows App SDK. |
|
winui/ui/composition
Package composition binds the Microsoft.UI.Composition API surface of the Windows App SDK.
|
Package composition binds the Microsoft.UI.Composition API surface of the Windows App SDK. |
|
winui/ui/composition/core
Package core binds the Microsoft.UI.Composition.Core API surface of the Windows App SDK.
|
Package core binds the Microsoft.UI.Composition.Core API surface of the Windows App SDK. |
|
winui/ui/composition/diagnostics
Package diagnostics binds the Microsoft.UI.Composition.Diagnostics API surface of the Windows App SDK.
|
Package diagnostics binds the Microsoft.UI.Composition.Diagnostics API surface of the Windows App SDK. |
|
winui/ui/composition/effects
Package effects binds the Microsoft.UI.Composition.Effects API surface of the Windows App SDK.
|
Package effects binds the Microsoft.UI.Composition.Effects API surface of the Windows App SDK. |
|
winui/ui/composition/interactions
Package interactions binds the Microsoft.UI.Composition.Interactions API surface of the Windows App SDK.
|
Package interactions binds the Microsoft.UI.Composition.Interactions API surface of the Windows App SDK. |
|
winui/ui/composition/scenes
Package scenes binds the Microsoft.UI.Composition.Scenes API surface of the Windows App SDK.
|
Package scenes binds the Microsoft.UI.Composition.Scenes API surface of the Windows App SDK. |
|
winui/ui/composition/systembackdrops
Package systembackdrops binds the Microsoft.UI.Composition.SystemBackdrops API surface of the Windows App SDK.
|
Package systembackdrops binds the Microsoft.UI.Composition.SystemBackdrops API surface of the Windows App SDK. |
|
winui/ui/content
Package content binds the Microsoft.UI.Content API surface of the Windows App SDK.
|
Package content binds the Microsoft.UI.Content API surface of the Windows App SDK. |
|
winui/ui/dispatching
Package dispatching binds the Microsoft.UI.Dispatching API surface of the Windows App SDK.
|
Package dispatching binds the Microsoft.UI.Dispatching API surface of the Windows App SDK. |
|
winui/ui/input
Package input binds the Microsoft.UI.Input API surface of the Windows App SDK.
|
Package input binds the Microsoft.UI.Input API surface of the Windows App SDK. |
|
winui/ui/input/dragdrop
Package dragdrop binds the Microsoft.UI.Input.DragDrop API surface of the Windows App SDK.
|
Package dragdrop binds the Microsoft.UI.Input.DragDrop API surface of the Windows App SDK. |
|
winui/ui/input/interop
Package interop binds the Microsoft.UI.Input.Interop API surface of the Windows App SDK.
|
Package interop binds the Microsoft.UI.Input.Interop API surface of the Windows App SDK. |
|
winui/ui/system
Package system binds the Microsoft.UI.System API surface of the Windows App SDK.
|
Package system binds the Microsoft.UI.System API surface of the Windows App SDK. |
|
winui/ui/text
Package text binds the Microsoft.UI.Text API surface of the Windows App SDK.
|
Package text binds the Microsoft.UI.Text API surface of the Windows App SDK. |
|
winui/ui/windowing
Package windowing binds the Microsoft.UI.Windowing API surface of the Windows App SDK.
|
Package windowing binds the Microsoft.UI.Windowing API surface of the Windows App SDK. |
|
winui/ui/xaml
Package xaml binds the Microsoft.UI.Xaml API surface of the Windows App SDK, including every namespace beneath it that references it back:
|
Package xaml binds the Microsoft.UI.Xaml API surface of the Windows App SDK, including every namespace beneath it that references it back: |
|
winui/ui/xaml/automation/text
Package text binds the Microsoft.UI.Xaml.Automation.Text API surface of the Windows App SDK.
|
Package text binds the Microsoft.UI.Xaml.Automation.Text API surface of the Windows App SDK. |
|
winui/ui/xaml/controls/animatedvisuals
Package animatedvisuals binds the Microsoft.UI.Xaml.Controls.AnimatedVisuals API surface of the Windows App SDK.
|
Package animatedvisuals binds the Microsoft.UI.Xaml.Controls.AnimatedVisuals API surface of the Windows App SDK. |
|
winui/ui/xaml/hosting
Package hosting binds the Microsoft.UI.Xaml.Hosting API surface of the Windows App SDK.
|
Package hosting binds the Microsoft.UI.Xaml.Hosting API surface of the Windows App SDK. |
|
winui/ui/xaml/interop
Package interop binds the Microsoft.UI.Xaml.Interop API surface of the Windows App SDK.
|
Package interop binds the Microsoft.UI.Xaml.Interop API surface of the Windows App SDK. |
|
winui/ui/xaml/markup
Package markup binds the Microsoft.UI.Xaml.Markup API surface of the Windows App SDK.
|
Package markup binds the Microsoft.UI.Xaml.Markup API surface of the Windows App SDK. |
|
winui/ui/xaml/printing
Package printing binds the Microsoft.UI.Xaml.Printing API surface of the Windows App SDK.
|
Package printing binds the Microsoft.UI.Xaml.Printing API surface of the Windows App SDK. |
|
winui/ui/xaml/resources
Package resources binds the Microsoft.UI.Xaml.Resources API surface of the Windows App SDK.
|
Package resources binds the Microsoft.UI.Xaml.Resources API surface of the Windows App SDK. |
|
winui/ui/xaml/settings
Package settings binds the Microsoft.UI.Xaml.Settings API surface of the Windows App SDK.
|
Package settings binds the Microsoft.UI.Xaml.Settings API surface of the Windows App SDK. |
|
winui/ui/xaml/shapes
Package shapes binds the Microsoft.UI.Xaml.Shapes API surface of the Windows App SDK.
|
Package shapes binds the Microsoft.UI.Xaml.Shapes API surface of the Windows App SDK. |
|
winui/ui/xaml/xamltypeinfo
Package xamltypeinfo binds the Microsoft.UI.Xaml.XamlTypeInfo API surface of the Windows App SDK.
|
Package xamltypeinfo binds the Microsoft.UI.Xaml.XamlTypeInfo API surface of the Windows App SDK. |
|
winui/windows/ai
Package ai binds the Microsoft.Windows.AI API surface of the Windows App SDK.
|
Package ai binds the Microsoft.Windows.AI API surface of the Windows App SDK. |
|
winui/windows/ai/contentsafety
Package contentsafety binds the Microsoft.Windows.AI.ContentSafety API surface of the Windows App SDK.
|
Package contentsafety binds the Microsoft.Windows.AI.ContentSafety API surface of the Windows App SDK. |
|
winui/windows/ai/foundation
Package foundation binds the Microsoft.Windows.AI.Foundation API surface of the Windows App SDK.
|
Package foundation binds the Microsoft.Windows.AI.Foundation API surface of the Windows App SDK. |
|
winui/windows/ai/imaging
Package imaging binds the Microsoft.Windows.AI.Imaging API surface of the Windows App SDK.
|
Package imaging binds the Microsoft.Windows.AI.Imaging API surface of the Windows App SDK. |
|
winui/windows/ai/text
Package text binds the Microsoft.Windows.AI.Text API surface of the Windows App SDK.
|
Package text binds the Microsoft.Windows.AI.Text API surface of the Windows App SDK. |
|
winui/windows/ai/video
Package video binds the Microsoft.Windows.AI.Video API surface of the Windows App SDK.
|
Package video binds the Microsoft.Windows.AI.Video API surface of the Windows App SDK. |
|
winui/windows/applicationmodel/background
Package background binds the Microsoft.Windows.ApplicationModel.Background API surface of the Windows App SDK.
|
Package background binds the Microsoft.Windows.ApplicationModel.Background API surface of the Windows App SDK. |
|
winui/windows/applicationmodel/background/universalbgtask
Package universalbgtask binds the Microsoft.Windows.ApplicationModel.Background.UniversalBGTask API surface of the Windows App SDK.
|
Package universalbgtask binds the Microsoft.Windows.ApplicationModel.Background.UniversalBGTask API surface of the Windows App SDK. |
|
winui/windows/applicationmodel/dynamicdependency
Package dynamicdependency binds the Microsoft.Windows.ApplicationModel.DynamicDependency API surface of the Windows App SDK.
|
Package dynamicdependency binds the Microsoft.Windows.ApplicationModel.DynamicDependency API surface of the Windows App SDK. |
|
winui/windows/applicationmodel/resources
Package resources binds the Microsoft.Windows.ApplicationModel.Resources API surface of the Windows App SDK.
|
Package resources binds the Microsoft.Windows.ApplicationModel.Resources API surface of the Windows App SDK. |
|
winui/windows/applicationmodel/windowsappruntime
Package windowsappruntime binds the Microsoft.Windows.ApplicationModel.WindowsAppRuntime API surface of the Windows App SDK.
|
Package windowsappruntime binds the Microsoft.Windows.ApplicationModel.WindowsAppRuntime API surface of the Windows App SDK. |
|
winui/windows/applifecycle
Package applifecycle binds the Microsoft.Windows.AppLifecycle API surface of the Windows App SDK.
|
Package applifecycle binds the Microsoft.Windows.AppLifecycle API surface of the Windows App SDK. |
|
winui/windows/appnotifications
Package appnotifications binds the Microsoft.Windows.AppNotifications API surface of the Windows App SDK.
|
Package appnotifications binds the Microsoft.Windows.AppNotifications API surface of the Windows App SDK. |
|
winui/windows/appnotifications/builder
Package builder binds the Microsoft.Windows.AppNotifications.Builder API surface of the Windows App SDK.
|
Package builder binds the Microsoft.Windows.AppNotifications.Builder API surface of the Windows App SDK. |
|
winui/windows/badgenotifications
Package badgenotifications binds the Microsoft.Windows.BadgeNotifications API surface of the Windows App SDK.
|
Package badgenotifications binds the Microsoft.Windows.BadgeNotifications API surface of the Windows App SDK. |
|
winui/windows/foundation
Package foundation binds the Microsoft.Windows.Foundation API surface of the Windows App SDK.
|
Package foundation binds the Microsoft.Windows.Foundation API surface of the Windows App SDK. |
|
winui/windows/globalization
Package globalization binds the Microsoft.Windows.Globalization API surface of the Windows App SDK.
|
Package globalization binds the Microsoft.Windows.Globalization API surface of the Windows App SDK. |
|
winui/windows/management/deployment
Package deployment binds the Microsoft.Windows.Management.Deployment API surface of the Windows App SDK.
|
Package deployment binds the Microsoft.Windows.Management.Deployment API surface of the Windows App SDK. |
|
winui/windows/media/capture
Package capture binds the Microsoft.Windows.Media.Capture API surface of the Windows App SDK.
|
Package capture binds the Microsoft.Windows.Media.Capture API surface of the Windows App SDK. |
|
winui/windows/pushnotifications
Package pushnotifications binds the Microsoft.Windows.PushNotifications API surface of the Windows App SDK.
|
Package pushnotifications binds the Microsoft.Windows.PushNotifications API surface of the Windows App SDK. |
|
winui/windows/security/accesscontrol
Package accesscontrol binds the Microsoft.Windows.Security.AccessControl API surface of the Windows App SDK.
|
Package accesscontrol binds the Microsoft.Windows.Security.AccessControl API surface of the Windows App SDK. |
|
winui/windows/semanticsearch
Package semanticsearch binds the Microsoft.Windows.SemanticSearch API surface of the Windows App SDK.
|
Package semanticsearch binds the Microsoft.Windows.SemanticSearch API surface of the Windows App SDK. |
|
winui/windows/storage
Package storage binds the Microsoft.Windows.Storage API surface of the Windows App SDK.
|
Package storage binds the Microsoft.Windows.Storage API surface of the Windows App SDK. |
|
winui/windows/storage/pickers
Package pickers binds the Microsoft.Windows.Storage.Pickers API surface of the Windows App SDK.
|
Package pickers binds the Microsoft.Windows.Storage.Pickers API surface of the Windows App SDK. |
|
winui/windows/system
Package system binds the Microsoft.Windows.System API surface of the Windows App SDK.
|
Package system binds the Microsoft.Windows.System API surface of the Windows App SDK. |
|
winui/windows/system/power
Package power binds the Microsoft.Windows.System.Power API surface of the Windows App SDK.
|
Package power binds the Microsoft.Windows.System.Power API surface of the Windows App SDK. |
|
winui/windows/vision
Package vision binds the Microsoft.Windows.Vision API surface of the Windows App SDK.
|
Package vision binds the Microsoft.Windows.Vision API surface of the Windows App SDK. |
|
winui/windows/widgets
Package widgets binds the Microsoft.Windows.Widgets API surface of the Windows App SDK.
|
Package widgets binds the Microsoft.Windows.Widgets API surface of the Windows App SDK. |
|
winui/windows/widgets/feeds/providers
Package providers binds the Microsoft.Windows.Widgets.Feeds.Providers API surface of the Windows App SDK.
|
Package providers binds the Microsoft.Windows.Widgets.Feeds.Providers API surface of the Windows App SDK. |
|
winui/windows/widgets/notifications
Package notifications binds the Microsoft.Windows.Widgets.Notifications API surface of the Windows App SDK.
|
Package notifications binds the Microsoft.Windows.Widgets.Notifications API surface of the Windows App SDK. |
|
winui/windows/widgets/providers
Package providers binds the Microsoft.Windows.Widgets.Providers API surface of the Windows App SDK.
|
Package providers binds the Microsoft.Windows.Widgets.Providers API surface of the Windows App SDK. |
|
winui/windows/workloads
Package workloads binds the Microsoft.Windows.Workloads API surface of the Windows App SDK.
|
Package workloads binds the Microsoft.Windows.Workloads API surface of the Windows App SDK. |
|
cmd
|
|
|
generate
command
Command generate drives the go-bindings-windowsappsdk pipeline:
|
Command generate drives the go-bindings-windowsappsdk pipeline: |
|
inspect
command
Command inspect reads a winmd and prints what is in it.
|
Command inspect reads a winmd and prints what is in it. |
|
examples
|
|
|
clicker
command
Command clicker is a WinUI 3 application in about sixty lines of Go.
|
Command clicker is a WinUI 3 application in about sixty lines of Go. |
|
gallery
command
Command gallery is the WinUI control gallery, ported to Go.
|
Command gallery is the WinUI control gallery, ported to Go. |
|
tasks
command
Command tasks is a second, more demanding WinUI 3 application in Go.
|
Command tasks is a second, more demanding WinUI 3 application in Go. |
|
internal
|
|
|
codegen/emit/winui
Package emitwinui emits the Windows App SDK bindings: one Go package per Microsoft.* namespace under bindings/winui/, with interfaces dispatching through syscall.SyscallN and runtime classes embedding their default interface.
|
Package emitwinui emits the Windows App SDK bindings: one Go package per Microsoft.* namespace under bindings/winui/, with interfaces dispatching through syscall.SyscallN and runtime classes embedding their default interface. |
|
codegen/emit/winui/render
Package render turns view models into Go source fragments through text/template files only.
|
Package render turns view models into Go source fragments through text/template files only. |
|
codegen/emit/winui/view
Package view is the pure-data IR the render templates consume.
|
Package view is the pure-data IR the render templates consume. |
|
codegen/naming
Package naming holds the metadata → Go naming rules shared by every emitter.
|
Package naming holds the metadata → Go naming rules shared by every emitter. |
|
codegen/pinterface
Package pinterface computes WinRT parameterized-type instantiation IIDs.
|
Package pinterface computes WinRT parameterized-type instantiation IIDs. |
|
codegen/pipeline
Package pipeline loads the ingested IR into a Registry and drives the emitters.
|
Package pipeline loads the ingested IR into a Registry and drives the emitters. |
|
codegen/shared/fileasm
Package fileasm assembles generated Go source files: the DO-NOT-EDIT header, build tag, package clause, grouped imports, and body — then formats the result with go/format.
|
Package fileasm assembles generated Go source files: the DO-NOT-EDIT header, build tag, package clause, grouped imports, and body — then formats the result with go/format. |
|
codegen/typemap
Package typemap converts IR TypeRefs into Go types under the WinRT projection rules.
|
Package typemap converts IR TypeRefs into Go types under the WinRT projection rules. |
|
diagnostics
Package diagnostics implements the CI ratchet: the set of known generation degradations is committed as a baseline, regeneration fails on any NEW degradation, and fixing degradations shrinks the baseline.
|
Package diagnostics implements the CI ratchet: the set of known generation degradations is committed as a baseline, regeneration fails on any NEW degradation, and fixing degradations shrinks the baseline. |
|
metaquery
Package metaquery answers questions about winmd types: what is this interface's IID, and which vtable slot is this method at.
|
Package metaquery answers questions about winmd types: what is this interface's IID, and which vtable slot is this method at. |
|
wasdkmeta
Package wasdkmeta defines the intermediate representation (IR) for the Windows App SDK API surface, projected from the committed winmds.
|
Package wasdkmeta defines the intermediate representation (IR) for the Windows App SDK API surface, projected from the committed winmds. |
|
wasdkmeta/external
Package external loads the Windows.* type universe out of go-bindings-winrt.
|
Package external loads the Windows.* type universe out of go-bindings-winrt. |
|
wasdkmeta/ingest
Package ingest projects the committed Windows App SDK winmds into the wasdkmeta IR: one NamespaceMeta per Microsoft.* namespace.
|
Package ingest projects the committed Windows App SDK winmds into the wasdkmeta IR: one NamespaceMeta per Microsoft.* namespace. |
Click to show internal directories.
Click to hide internal directories.