package build

import "fyne.io/fyne/v2/internal/build"

Package build contains information about they type of build currently running.

Index

Constants

const DisableThreadChecks = false

DisableThreadChecks set to false enables the thread safety checks for logging of incorrect usage.

const HasHints = false

HasHints is false to indicate that hints are not currently switched on. To enable please rebuild with "-tags hints" parameters.

const HasNativeMenu = true

HasNativeMenu is true if the app is built with support for native menu.

const IsFlatpak = false

IsFlatpak is true if the binary is compiled for a Flatpak package.

const IsWayland = false

IsWayland is true when compiling for the wayland windowing system.

const Mode = fyne.BuildStandard

Mode is the application's build mode.

const NoAnimations = false

NoAnimations is true if the application was built without animations by passing the no_animations build tag.

const NoMetadata = false

NoMetadata is false if the compiler flags have not turned off metadata support.

Functions

func MigratedToFyneDo

func MigratedToFyneDo() bool

Source Files

animations_enabled.go build.go driver_notflatpak.go driver_notwayland.go hints_disabled.go menu_native.go metadata.go migrated_notfynedo.go mode_standard.go

Version
v2.6.0-beta1
Published
Mar 7, 2025
Platform
darwin/amd64
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.