Xdp.Parent¶
Fields¶
None
Methods¶
|
|
|
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.
An
Xdp.Parent
implementation for GTK is included in theportal-gtk3.h
andportal-gtk4.h
header files, in the form of inline functions. To create aXdp.Parent
for a GTK window, usexdp_parent_new_gtk()
.- copy()¶
- Returns:
an [struct`Parent`] that is a copy of self
- Return type:
Copies self into a new [struct`Parent`].
- free()¶
Frees self.