Class Settings
- Namespace
- Gtk
- Assembly
- Gtk-4.0.dll
public class Settings : Object, StyleProvider, NativeObject, IDisposable, GTypeProvider, InstanceFactory
- Inheritance
-
Settings
- Implements
- Inherited Members
Constructors
Settings(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public Settings(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Settings(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Settings(CreationData data)
Parameters
dataCreationData
Settings(SettingsHandle)
protected Settings(SettingsHandle handle)
Parameters
handleSettingsHandle
Fields
GtkAlternativeButtonOrderPropertyDefinition
public static readonly Property<bool, Settings> GtkAlternativeButtonOrderPropertyDefinition
Field Value
GtkAlternativeSortArrowsPropertyDefinition
public static readonly Property<bool, Settings> GtkAlternativeSortArrowsPropertyDefinition
Field Value
GtkApplicationPreferDarkThemePropertyDefinition
public static readonly Property<bool, Settings> GtkApplicationPreferDarkThemePropertyDefinition
Field Value
GtkCursorAspectRatioPropertyDefinition
public static readonly Property<double, Settings> GtkCursorAspectRatioPropertyDefinition
Field Value
GtkCursorBlinkPropertyDefinition
public static readonly Property<bool, Settings> GtkCursorBlinkPropertyDefinition
Field Value
GtkCursorBlinkTimePropertyDefinition
public static readonly Property<int, Settings> GtkCursorBlinkTimePropertyDefinition
Field Value
GtkCursorBlinkTimeoutPropertyDefinition
public static readonly Property<int, Settings> GtkCursorBlinkTimeoutPropertyDefinition
Field Value
GtkCursorThemeNamePropertyDefinition
public static readonly Property<string?, Settings> GtkCursorThemeNamePropertyDefinition
Field Value
GtkCursorThemeSizePropertyDefinition
public static readonly Property<int, Settings> GtkCursorThemeSizePropertyDefinition
Field Value
GtkDecorationLayoutPropertyDefinition
public static readonly Property<string?, Settings> GtkDecorationLayoutPropertyDefinition
Field Value
GtkDialogsUseHeaderPropertyDefinition
public static readonly Property<bool, Settings> GtkDialogsUseHeaderPropertyDefinition
Field Value
GtkDndDragThresholdPropertyDefinition
public static readonly Property<int, Settings> GtkDndDragThresholdPropertyDefinition
Field Value
GtkDoubleClickDistancePropertyDefinition
public static readonly Property<int, Settings> GtkDoubleClickDistancePropertyDefinition
Field Value
GtkDoubleClickTimePropertyDefinition
public static readonly Property<int, Settings> GtkDoubleClickTimePropertyDefinition
Field Value
GtkEnableAccelsPropertyDefinition
public static readonly Property<bool, Settings> GtkEnableAccelsPropertyDefinition
Field Value
GtkEnableAnimationsPropertyDefinition
public static readonly Property<bool, Settings> GtkEnableAnimationsPropertyDefinition
Field Value
GtkEnableEventSoundsPropertyDefinition
public static readonly Property<bool, Settings> GtkEnableEventSoundsPropertyDefinition
Field Value
GtkEnableInputFeedbackSoundsPropertyDefinition
public static readonly Property<bool, Settings> GtkEnableInputFeedbackSoundsPropertyDefinition
Field Value
GtkEnablePrimaryPastePropertyDefinition
public static readonly Property<bool, Settings> GtkEnablePrimaryPastePropertyDefinition
Field Value
GtkEntryPasswordHintTimeoutPropertyDefinition
public static readonly Property<uint, Settings> GtkEntryPasswordHintTimeoutPropertyDefinition
Field Value
GtkEntrySelectOnFocusPropertyDefinition
public static readonly Property<bool, Settings> GtkEntrySelectOnFocusPropertyDefinition
Field Value
GtkErrorBellPropertyDefinition
public static readonly Property<bool, Settings> GtkErrorBellPropertyDefinition
Field Value
GtkFontNamePropertyDefinition
public static readonly Property<string?, Settings> GtkFontNamePropertyDefinition
Field Value
GtkFontRenderingPropertyDefinition
public static readonly Property<FontRendering, Settings> GtkFontRenderingPropertyDefinition
Field Value
GtkFontconfigTimestampPropertyDefinition
public static readonly Property<uint, Settings> GtkFontconfigTimestampPropertyDefinition
Field Value
GtkHintFontMetricsPropertyDefinition
public static readonly Property<bool, Settings> GtkHintFontMetricsPropertyDefinition
Field Value
GtkIconThemeNamePropertyDefinition
public static readonly Property<string?, Settings> GtkIconThemeNamePropertyDefinition
Field Value
GtkImModulePropertyDefinition
public static readonly Property<string?, Settings> GtkImModulePropertyDefinition
Field Value
GtkInterfaceColorSchemePropertyDefinition
public static readonly Property<InterfaceColorScheme, Settings> GtkInterfaceColorSchemePropertyDefinition
Field Value
GtkInterfaceContrastPropertyDefinition
public static readonly Property<InterfaceContrast, Settings> GtkInterfaceContrastPropertyDefinition
Field Value
GtkKeynavUseCaretPropertyDefinition
public static readonly Property<bool, Settings> GtkKeynavUseCaretPropertyDefinition
Field Value
GtkLabelSelectOnFocusPropertyDefinition
public static readonly Property<bool, Settings> GtkLabelSelectOnFocusPropertyDefinition
Field Value
GtkLongPressTimePropertyDefinition
public static readonly Property<uint, Settings> GtkLongPressTimePropertyDefinition
Field Value
GtkOverlayScrollingPropertyDefinition
public static readonly Property<bool, Settings> GtkOverlayScrollingPropertyDefinition
Field Value
GtkPrimaryButtonWarpsSliderPropertyDefinition
public static readonly Property<bool, Settings> GtkPrimaryButtonWarpsSliderPropertyDefinition
Field Value
GtkPrintBackendsPropertyDefinition
public static readonly Property<string?, Settings> GtkPrintBackendsPropertyDefinition
Field Value
GtkPrintPreviewCommandPropertyDefinition
public static readonly Property<string?, Settings> GtkPrintPreviewCommandPropertyDefinition
Field Value
GtkPrivateChangedSignal
Signal Descriptor for OnGtkPrivateChanged.
public static readonly Signal<StyleProvider> GtkPrivateChangedSignal
Field Value
GtkRecentFilesEnabledPropertyDefinition
public static readonly Property<bool, Settings> GtkRecentFilesEnabledPropertyDefinition
Field Value
GtkRecentFilesMaxAgePropertyDefinition
public static readonly Property<int, Settings> GtkRecentFilesMaxAgePropertyDefinition
Field Value
GtkShellShowsAppMenuPropertyDefinition
public static readonly Property<bool, Settings> GtkShellShowsAppMenuPropertyDefinition
Field Value
GtkShellShowsDesktopPropertyDefinition
public static readonly Property<bool, Settings> GtkShellShowsDesktopPropertyDefinition
Field Value
GtkShellShowsMenubarPropertyDefinition
public static readonly Property<bool, Settings> GtkShellShowsMenubarPropertyDefinition
Field Value
GtkShowStatusShapesPropertyDefinition
public static readonly Property<bool, Settings> GtkShowStatusShapesPropertyDefinition
Field Value
GtkSoundThemeNamePropertyDefinition
public static readonly Property<string?, Settings> GtkSoundThemeNamePropertyDefinition
Field Value
GtkSplitCursorPropertyDefinition
public static readonly Property<bool, Settings> GtkSplitCursorPropertyDefinition
Field Value
GtkThemeNamePropertyDefinition
public static readonly Property<string?, Settings> GtkThemeNamePropertyDefinition
Field Value
GtkTitlebarDoubleClickPropertyDefinition
public static readonly Property<string?, Settings> GtkTitlebarDoubleClickPropertyDefinition
Field Value
GtkTitlebarMiddleClickPropertyDefinition
public static readonly Property<string?, Settings> GtkTitlebarMiddleClickPropertyDefinition
Field Value
GtkTitlebarRightClickPropertyDefinition
public static readonly Property<string?, Settings> GtkTitlebarRightClickPropertyDefinition
Field Value
GtkXftAntialiasPropertyDefinition
public static readonly Property<int, Settings> GtkXftAntialiasPropertyDefinition
Field Value
GtkXftDpiPropertyDefinition
public static readonly Property<int, Settings> GtkXftDpiPropertyDefinition
Field Value
GtkXftHintingPropertyDefinition
public static readonly Property<int, Settings> GtkXftHintingPropertyDefinition
Field Value
GtkXftHintstylePropertyDefinition
public static readonly Property<string?, Settings> GtkXftHintstylePropertyDefinition
Field Value
GtkXftRgbaPropertyDefinition
public static readonly Property<string?, Settings> GtkXftRgbaPropertyDefinition
Field Value
Properties
GtkAlternativeButtonOrder
public bool GtkAlternativeButtonOrder { get; set; }
Property Value
GtkAlternativeSortArrows
public bool GtkAlternativeSortArrows { get; set; }
Property Value
GtkApplicationPreferDarkTheme
public bool GtkApplicationPreferDarkTheme { get; set; }
Property Value
GtkCursorAspectRatio
public double GtkCursorAspectRatio { get; set; }
Property Value
GtkCursorBlink
public bool GtkCursorBlink { get; set; }
Property Value
GtkCursorBlinkTime
public int GtkCursorBlinkTime { get; set; }
Property Value
GtkCursorBlinkTimeout
public int GtkCursorBlinkTimeout { get; set; }
Property Value
GtkCursorThemeName
public string? GtkCursorThemeName { get; set; }
Property Value
GtkCursorThemeSize
public int GtkCursorThemeSize { get; set; }
Property Value
GtkDecorationLayout
public string? GtkDecorationLayout { get; set; }
Property Value
GtkDialogsUseHeader
public bool GtkDialogsUseHeader { get; set; }
Property Value
GtkDndDragThreshold
public int GtkDndDragThreshold { get; set; }
Property Value
GtkDoubleClickDistance
public int GtkDoubleClickDistance { get; set; }
Property Value
GtkDoubleClickTime
public int GtkDoubleClickTime { get; set; }
Property Value
GtkEnableAccels
public bool GtkEnableAccels { get; set; }
Property Value
GtkEnableAnimations
public bool GtkEnableAnimations { get; set; }
Property Value
GtkEnableEventSounds
public bool GtkEnableEventSounds { get; set; }
Property Value
GtkEnableInputFeedbackSounds
public bool GtkEnableInputFeedbackSounds { get; set; }
Property Value
GtkEnablePrimaryPaste
public bool GtkEnablePrimaryPaste { get; set; }
Property Value
GtkEntryPasswordHintTimeout
public uint GtkEntryPasswordHintTimeout { get; set; }
Property Value
GtkEntrySelectOnFocus
public bool GtkEntrySelectOnFocus { get; set; }
Property Value
GtkErrorBell
public bool GtkErrorBell { get; set; }
Property Value
GtkFontName
public string? GtkFontName { get; set; }
Property Value
GtkFontRendering
public FontRendering GtkFontRendering { get; set; }
Property Value
GtkFontconfigTimestamp
public uint GtkFontconfigTimestamp { get; set; }
Property Value
GtkHintFontMetrics
public bool GtkHintFontMetrics { get; set; }
Property Value
GtkIconThemeName
public string? GtkIconThemeName { get; set; }
Property Value
GtkImModule
public string? GtkImModule { get; set; }
Property Value
GtkInterfaceColorScheme
public InterfaceColorScheme GtkInterfaceColorScheme { get; set; }
Property Value
GtkInterfaceContrast
public InterfaceContrast GtkInterfaceContrast { get; set; }
Property Value
GtkKeynavUseCaret
public bool GtkKeynavUseCaret { get; set; }
Property Value
GtkLabelSelectOnFocus
public bool GtkLabelSelectOnFocus { get; set; }
Property Value
GtkLongPressTime
public uint GtkLongPressTime { get; set; }
Property Value
GtkOverlayScrolling
public bool GtkOverlayScrolling { get; set; }
Property Value
GtkPrimaryButtonWarpsSlider
public bool GtkPrimaryButtonWarpsSlider { get; set; }
Property Value
GtkPrintBackends
public string? GtkPrintBackends { get; set; }
Property Value
GtkPrintPreviewCommand
public string? GtkPrintPreviewCommand { get; set; }
Property Value
GtkRecentFilesEnabled
public bool GtkRecentFilesEnabled { get; set; }
Property Value
GtkRecentFilesMaxAge
public int GtkRecentFilesMaxAge { get; set; }
Property Value
GtkShellShowsAppMenu
public bool GtkShellShowsAppMenu { get; set; }
Property Value
GtkShellShowsDesktop
public bool GtkShellShowsDesktop { get; set; }
Property Value
GtkShellShowsMenubar
public bool GtkShellShowsMenubar { get; set; }
Property Value
GtkShowStatusShapes
public bool GtkShowStatusShapes { get; set; }
Property Value
GtkSoundThemeName
public string? GtkSoundThemeName { get; set; }
Property Value
GtkSplitCursor
public bool GtkSplitCursor { get; set; }
Property Value
GtkThemeName
public string? GtkThemeName { get; set; }
Property Value
GtkTitlebarDoubleClick
public string? GtkTitlebarDoubleClick { get; set; }
Property Value
GtkTitlebarMiddleClick
public string? GtkTitlebarMiddleClick { get; set; }
Property Value
GtkTitlebarRightClick
public string? GtkTitlebarRightClick { get; set; }
Property Value
GtkXftAntialias
public int GtkXftAntialias { get; set; }
Property Value
GtkXftDpi
public int GtkXftDpi { get; set; }
Property Value
GtkXftHinting
public int GtkXftHinting { get; set; }
Property Value
GtkXftHintstyle
public string? GtkXftHintstyle { get; set; }
Property Value
GtkXftRgba
public string? GtkXftRgba { get; set; }
Property Value
Methods
GetDefault()
public static Settings? GetDefault()
Returns
GetForDisplay(Display)
public static Settings GetForDisplay(Display display)
Parameters
displayDisplay
Returns
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed Settings instance for a given pointer.
public static Settings NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Settings and sets the properties specified by the construct arguments.
public static Settings NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
ResetProperty(string)
public void ResetProperty(string name)
Parameters
namestring
Events
OnGtkPrivateChanged
public event SignalHandler<StyleProvider> OnGtkPrivateChanged