Class Toplevel
public class Toplevel
- Inheritance
-
Toplevel
- Inherited Members
Methods
BeginMove(IntPtr, IntPtr, int, double, double, uint)
Calls native method gdk_toplevel_begin_move.
public static extern void BeginMove(IntPtr toplevel, IntPtr device, int button, double x, double y, uint timestamp)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
device
IntPtrTransfer ownership: None Nullable: False
button
intTransfer ownership: None Nullable: False
x
doubleTransfer ownership: None Nullable: False
y
doubleTransfer ownership: None Nullable: False
timestamp
uintTransfer ownership: None Nullable: False
BeginResize(IntPtr, SurfaceEdge, IntPtr, int, double, double, uint)
Calls native method gdk_toplevel_begin_resize.
public static extern void BeginResize(IntPtr toplevel, SurfaceEdge edge, IntPtr device, int button, double x, double y, uint timestamp)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
edge
SurfaceEdgeTransfer ownership: None Nullable: False
device
IntPtrTransfer ownership: None Nullable: True
button
intTransfer ownership: None Nullable: False
x
doubleTransfer ownership: None Nullable: False
y
doubleTransfer ownership: None Nullable: False
timestamp
uintTransfer ownership: None Nullable: False
Focus(IntPtr, uint)
Calls native method gdk_toplevel_focus.
public static extern void Focus(IntPtr toplevel, uint timestamp)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
timestamp
uintTransfer ownership: None Nullable: False
GetGType()
Calls native function gdk_toplevel_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetState(IntPtr)
Calls native method gdk_toplevel_get_state.
public static extern ToplevelState GetState(IntPtr toplevel)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
Returns
- ToplevelState
Transfer ownership: None Nullable: False
InhibitSystemShortcuts(IntPtr, IntPtr)
Calls native method gdk_toplevel_inhibit_system_shortcuts.
public static extern void InhibitSystemShortcuts(IntPtr toplevel, IntPtr @event)
Parameters
Lower(IntPtr)
Calls native method gdk_toplevel_lower.
public static extern bool Lower(IntPtr toplevel)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Minimize(IntPtr)
Calls native method gdk_toplevel_minimize.
public static extern bool Minimize(IntPtr toplevel)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Present(IntPtr, ToplevelLayoutHandle)
Calls native method gdk_toplevel_present.
public static extern void Present(IntPtr toplevel, ToplevelLayoutHandle layout)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
layout
ToplevelLayoutHandleTransfer ownership: None Nullable: False
RestoreSystemShortcuts(IntPtr)
Calls native method gdk_toplevel_restore_system_shortcuts.
public static extern void RestoreSystemShortcuts(IntPtr toplevel)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
SetDecorated(IntPtr, bool)
Calls native method gdk_toplevel_set_decorated.
public static extern void SetDecorated(IntPtr toplevel, bool decorated)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
decorated
boolTransfer ownership: None Nullable: False
SetDeletable(IntPtr, bool)
Calls native method gdk_toplevel_set_deletable.
public static extern void SetDeletable(IntPtr toplevel, bool deletable)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
deletable
boolTransfer ownership: None Nullable: False
SetIconList(IntPtr, ListHandle)
Calls native method gdk_toplevel_set_icon_list.
public static extern void SetIconList(IntPtr toplevel, ListHandle surfaces)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
surfaces
ListHandleTransfer ownership: None Nullable: False
SetModal(IntPtr, bool)
Calls native method gdk_toplevel_set_modal.
public static extern void SetModal(IntPtr toplevel, bool modal)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
modal
boolTransfer ownership: None Nullable: False
SetStartupId(IntPtr, NonNullableUtf8StringHandle)
Calls native method gdk_toplevel_set_startup_id.
public static extern void SetStartupId(IntPtr toplevel, NonNullableUtf8StringHandle startupId)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
startupId
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetTitle(IntPtr, NonNullableUtf8StringHandle)
Calls native method gdk_toplevel_set_title.
public static extern void SetTitle(IntPtr toplevel, NonNullableUtf8StringHandle title)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
title
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetTransientFor(IntPtr, IntPtr)
Calls native method gdk_toplevel_set_transient_for.
public static extern void SetTransientFor(IntPtr toplevel, IntPtr parent)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
parent
IntPtrTransfer ownership: None Nullable: False
ShowWindowMenu(IntPtr, IntPtr)
Calls native method gdk_toplevel_show_window_menu.
public static extern bool ShowWindowMenu(IntPtr toplevel, IntPtr @event)
Parameters
Returns
- bool
Transfer ownership: None Nullable: False
SupportsEdgeConstraints(IntPtr)
Calls native method gdk_toplevel_supports_edge_constraints.
public static extern bool SupportsEdgeConstraints(IntPtr toplevel)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
TitlebarGesture(IntPtr, TitlebarGesture)
Calls native method gdk_toplevel_titlebar_gesture. Version: 4.4
[Version("4.4")]
public static extern bool TitlebarGesture(IntPtr toplevel, TitlebarGesture gesture)
Parameters
toplevel
IntPtrTransfer ownership: None Nullable: False
gesture
TitlebarGestureTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False