Слияние кода завершено, страница обновится автоматически
package fyne
// BuildType defines different modes that an application can be built using.
type BuildType int
const (
// BuildStandard is the normal build mode - it is not debug, test or release mode.
BuildStandard BuildType = iota
// BuildDebug is used when a developer would like more information and visual output for app debugging.
BuildDebug
// BuildRelease is a final production build, it is like [BuildStandard] but will use distribution certificates.
// A release build is typically going to connect to live services and is not usually used during development.
BuildRelease
)
// Settings describes the application configuration available.
type Settings interface {
Theme() Theme
SetTheme(Theme)
// ThemeVariant defines which preferred version of a theme should be used (i.e. light or dark)
//
// Since: 2.0
ThemeVariant() ThemeVariant
Scale() float32
// PrimaryColor indicates a user preference for a named primary color
//
// Since: 1.4
PrimaryColor() string
AddChangeListener(chan Settings)
BuildType() BuildType
ShowAnimations() bool
}
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )