Class Win32Surface
- Namespace
- GdkWin32
- Assembly
- GdkWin32-4.0.dll
public class Win32Surface : Surface, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Win32Surface
- Implements
- Inherited Members
Constructors
Win32Surface(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 Win32Surface(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
Win32Surface(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Win32Surface(CreationData data)
Parameters
dataCreationData
Win32Surface(Win32SurfaceHandle)
protected Win32Surface(Win32SurfaceHandle handle)
Parameters
handleWin32SurfaceHandle
Methods
GetGType()
public static Type GetGType()
Returns
GetHandle()
public HWND GetHandle()
Returns
GetImplHwnd(Surface)
public static HWND GetImplHwnd(Surface surface)
Parameters
surfaceSurface
Returns
IsWin32(Surface)
public static bool IsWin32(Surface surface)
Parameters
surfaceSurface
Returns
LookupForDisplay(Display, HWND)
public static Surface? LookupForDisplay(Display display, HWND anid)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed Win32Surface instance for a given pointer.
public static Win32Surface NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Win32Surface and sets the properties specified by the construct arguments.
public static Win32Surface NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetUrgencyHint(bool)
public void SetUrgencyHint(bool urgent)
Parameters
urgentbool