Table of Contents

Class WindowProperties

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class WindowProperties : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
WindowProperties
Implements
Inherited Members

Constructors

WindowProperties(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 WindowProperties(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

WindowProperties(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WindowProperties(CreationData data)

Parameters

data CreationData

WindowProperties(WindowPropertiesHandle)

protected WindowProperties(WindowPropertiesHandle handle)

Parameters

handle WindowPropertiesHandle

Fields

FullscreenPropertyDefinition

public static readonly Property<bool, WindowProperties> FullscreenPropertyDefinition

Field Value

Property<bool, WindowProperties>

GeometryPropertyDefinition

public static readonly Property<Rectangle, WindowProperties> GeometryPropertyDefinition

Field Value

Property<Rectangle, WindowProperties>

LocationbarVisiblePropertyDefinition

public static readonly Property<bool, WindowProperties> LocationbarVisiblePropertyDefinition

Field Value

Property<bool, WindowProperties>

MenubarVisiblePropertyDefinition

public static readonly Property<bool, WindowProperties> MenubarVisiblePropertyDefinition

Field Value

Property<bool, WindowProperties>

ResizablePropertyDefinition

public static readonly Property<bool, WindowProperties> ResizablePropertyDefinition

Field Value

Property<bool, WindowProperties>

ScrollbarsVisiblePropertyDefinition

public static readonly Property<bool, WindowProperties> ScrollbarsVisiblePropertyDefinition

Field Value

Property<bool, WindowProperties>

StatusbarVisiblePropertyDefinition

public static readonly Property<bool, WindowProperties> StatusbarVisiblePropertyDefinition

Field Value

Property<bool, WindowProperties>

ToolbarVisiblePropertyDefinition

public static readonly Property<bool, WindowProperties> ToolbarVisiblePropertyDefinition

Field Value

Property<bool, WindowProperties>

Properties

Fullscreen

public bool Fullscreen { get; }

Property Value

bool

Geometry

public Rectangle Geometry { get; }

Property Value

Rectangle

LocationbarVisible

public bool LocationbarVisible { get; }

Property Value

bool

MenubarVisible

public bool MenubarVisible { get; }

Property Value

bool

Resizable

public bool Resizable { get; }

Property Value

bool

ScrollbarsVisible

public bool ScrollbarsVisible { get; }

Property Value

bool

StatusbarVisible

public bool StatusbarVisible { get; }

Property Value

bool

ToolbarVisible

public bool ToolbarVisible { get; }

Property Value

bool

Methods

GetFullscreen()

public bool GetFullscreen()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetGeometry(out Rectangle)

public void GetGeometry(out Rectangle geometry)

Parameters

geometry Rectangle

GetLocationbarVisible()

public bool GetLocationbarVisible()

Returns

bool

GetMenubarVisible()

public bool GetMenubarVisible()

Returns

bool

GetResizable()

public bool GetResizable()

Returns

bool

GetScrollbarsVisible()

public bool GetScrollbarsVisible()

Returns

bool

GetStatusbarVisible()

public bool GetStatusbarVisible()

Returns

bool

GetToolbarVisible()

public bool GetToolbarVisible()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed WindowProperties instance for a given pointer.

public static WindowProperties NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

WindowProperties

NewWithProperties(ConstructArgument[])

Creates a new WindowProperties and sets the properties specified by the construct arguments.

public static WindowProperties NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

WindowProperties