Method

FlatpakTransactionset_parent_window

since: 1.5.1

Declaration [src]

void
flatpak_transaction_set_parent_window (
  FlatpakTransaction* self,
  const char* parent_window
)

Description [src]

Sets the parent window (if any) to use for any UI show by this transaction. This is used by authenticators if they need to interact with the user during authentication.

The format of this string depends on the display system in use, and is the same as used by xdg-desktop-portal.

On X11 it should be of the form x11:$xid where $xid is the hex version of the X11 window ID.

On wayland is should be wayland:$handle where handle is gotten by using the export call of the xdg-foreign-unstable wayland extension.

Available since: 1.5.1

Parameters

parent_window

Type: const char*

Whether to avoid pulls.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.