Xdp.Parent

Fields

None

Methods

copy ()

free ()

Details

class Xdp.Parent

Parent window abstraction.

The [struct`Parent`] struct provides an abstract way to represent a window, without introducing a dependency on a toolkit library.

Xdp.Parent implementations for GTK 3, GTK 4, Qt 5, and Qt 6 are available as separate libraries.

copy()
Returns:

an [struct`Parent`] that is a copy of self

Return type:

Xdp.Parent

Copies self into a new [struct`Parent`].

free()

Frees self.