Table of Contents

Interface Toplevel

Namespace
Gdk
Assembly
Gdk-4.0.dll
public interface Toplevel : IHandle
Inherited Members

Fields

DecoratedPropertyDefinition

public static readonly Property<bool, Toplevel> DecoratedPropertyDefinition

Field Value

Property<bool, Toplevel>

DeletablePropertyDefinition

public static readonly Property<bool, Toplevel> DeletablePropertyDefinition

Field Value

Property<bool, Toplevel>

FullscreenModePropertyDefinition

public static readonly Property<FullscreenMode, Toplevel> FullscreenModePropertyDefinition

Field Value

Property<FullscreenMode, Toplevel>

IconListPropertyDefinition

public static readonly Property<IntPtr, Toplevel> IconListPropertyDefinition

Field Value

Property<IntPtr, Toplevel>

ModalPropertyDefinition

public static readonly Property<bool, Toplevel> ModalPropertyDefinition

Field Value

Property<bool, Toplevel>

ShortcutsInhibitedPropertyDefinition

public static readonly Property<bool, Toplevel> ShortcutsInhibitedPropertyDefinition

Field Value

Property<bool, Toplevel>

StartupIdPropertyDefinition

public static readonly Property<string?, Toplevel> StartupIdPropertyDefinition

Field Value

Property<string, Toplevel>

StatePropertyDefinition

public static readonly Property<ToplevelState, Toplevel> StatePropertyDefinition

Field Value

Property<ToplevelState, Toplevel>

TitlePropertyDefinition

public static readonly Property<string?, Toplevel> TitlePropertyDefinition

Field Value

Property<string, Toplevel>

TransientForPropertyDefinition

public static readonly Property<Surface?, Toplevel> TransientForPropertyDefinition

Field Value

Property<Surface, Toplevel>

Properties

Decorated

bool Decorated { get; set; }

Property Value

bool

Deletable

bool Deletable { get; set; }

Property Value

bool

FullscreenMode

FullscreenMode FullscreenMode { get; set; }

Property Value

FullscreenMode

IconList

IntPtr IconList { get; set; }

Property Value

IntPtr

Modal

bool Modal { get; set; }

Property Value

bool

ShortcutsInhibited

bool ShortcutsInhibited { get; }

Property Value

bool

StartupId

string? StartupId { get; set; }

Property Value

string

State

ToplevelState State { get; }

Property Value

ToplevelState

Title

string? Title { get; set; }

Property Value

string

TransientFor

Surface? TransientFor { get; set; }

Property Value

Surface

Methods

BeginMove(Device, int, double, double, uint)

void BeginMove(Device device, int button, double x, double y, uint timestamp)

Parameters

device Device
button int
x double
y double
timestamp uint

BeginResize(SurfaceEdge, Device?, int, double, double, uint)

void BeginResize(SurfaceEdge edge, Device? device, int button, double x, double y, uint timestamp)

Parameters

edge SurfaceEdge
device Device
button int
x double
y double
timestamp uint

Focus(uint)

void Focus(uint timestamp)

Parameters

timestamp uint

GetState()

ToplevelState GetState()

Returns

ToplevelState

InhibitSystemShortcuts(Event?)

void InhibitSystemShortcuts(Event? @event)

Parameters

event Event

Lower()

bool Lower()

Returns

bool

Minimize()

bool Minimize()

Returns

bool

Present(ToplevelLayout)

void Present(ToplevelLayout layout)

Parameters

layout ToplevelLayout

RestoreSystemShortcuts()

void RestoreSystemShortcuts()

SetDecorated(bool)

void SetDecorated(bool decorated)

Parameters

decorated bool

SetDeletable(bool)

void SetDeletable(bool deletable)

Parameters

deletable bool

SetIconList(List)

void SetIconList(List surfaces)

Parameters

surfaces List

SetModal(bool)

void SetModal(bool modal)

Parameters

modal bool

SetStartupId(string)

void SetStartupId(string startupId)

Parameters

startupId string

SetTitle(string)

void SetTitle(string title)

Parameters

title string

SetTransientFor(Surface)

void SetTransientFor(Surface parent)

Parameters

parent Surface

ShowWindowMenu(Event)

bool ShowWindowMenu(Event @event)

Parameters

event Event

Returns

bool

SupportsEdgeConstraints()

bool SupportsEdgeConstraints()

Returns

bool

TitlebarGesture(TitlebarGesture)

[Version("4.4")]
bool TitlebarGesture(TitlebarGesture gesture)

Parameters

gesture TitlebarGesture

Returns

bool