Class ToplevelHelper
- Namespace
- Gdk
- Assembly
- Gdk-4.0.dll
public sealed class ToplevelHelper : Object, Toplevel, IDisposable, InstanceFactory, GTypeProvider
- Inheritance
-
ToplevelHelper
- Implements
-
- Inherited Members
-
Constructors
ToplevelHelper(ObjectHandle)
public ToplevelHelper(ObjectHandle handle)
Parameters
handle ObjectHandle
Properties
Decorated
public bool Decorated { get; set; }
Property Value
- bool
Deletable
public bool Deletable { get; set; }
Property Value
- bool
FullscreenMode
public FullscreenMode FullscreenMode { get; set; }
Property Value
- FullscreenMode
IconList
public nint IconList { get; set; }
Property Value
- nint
Modal
public bool Modal { get; set; }
Property Value
- bool
ShortcutsInhibited
public bool ShortcutsInhibited { get; }
Property Value
- bool
StartupId
public string? StartupId { get; set; }
Property Value
- string
State
public ToplevelState State { get; }
Property Value
- ToplevelState
Title
public string? Title { get; set; }
Property Value
- string
TransientFor
public Surface? TransientFor { get; set; }
Property Value
- Surface
Methods
BeginMove(Device, int, double, double, uint)
public 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)
public 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)
public void Focus(uint timestamp)
Parameters
timestamp uint
GetGType()
public static Type GetGType()
Returns
- Type
GetState()
public ToplevelState GetState()
Returns
- ToplevelState
InhibitSystemShortcuts(Event?)
public void InhibitSystemShortcuts(Event? @event)
Parameters
event Event
Lower()
Returns
- bool
Minimize()
Returns
- bool
Present(ToplevelLayout)
public void Present(ToplevelLayout layout)
Parameters
layout ToplevelLayout
RestoreSystemShortcuts()
public void RestoreSystemShortcuts()
SetDecorated(bool)
public void SetDecorated(bool decorated)
Parameters
decorated bool
SetDeletable(bool)
public void SetDeletable(bool deletable)
Parameters
deletable bool
SetIconList(List)
public void SetIconList(List surfaces)
Parameters
surfaces List
SetModal(bool)
public void SetModal(bool modal)
Parameters
modal bool
SetStartupId(string)
public void SetStartupId(string startupId)
Parameters
startupId string
SetTitle(string)
public void SetTitle(string title)
Parameters
title string
SetTransientFor(Surface)
public void SetTransientFor(Surface parent)
Parameters
parent Surface
public bool ShowWindowMenu(Event @event)
Parameters
event Event
Returns
- bool
SupportsEdgeConstraints()
public bool SupportsEdgeConstraints()
Returns
- bool
TitlebarGesture(TitlebarGesture)
[Version("4.4")]
public bool TitlebarGesture(TitlebarGesture gesture)
Parameters
gesture TitlebarGesture
Returns
- bool