ASHPD
ASHPD, acronym of Aperture Science Handheld Portal Device is a Rust & zbus wrapper of the XDG portals DBus interfaces. The library aims to provide an easy way to interact with the various portals defined per the specifications. It provides an alternative to the C library https://github.com/flatpak/libportal
Examples
Ask the compositor to pick a color
use ScreenshotProxy;
async
Start a PipeWire stream from the user's camera
use CameraProxy;
pub async
Optional features
Feature | Description |
---|---|
feature_gtk3 | Implement From<Color> for gdk3::RGBA |
Provides WindowIdentifier::from_window that takes a IsA<gdk3::Window> |
|
feature_gtk4 | Implement From<Color> for gdk4::RGBA |
Provides WindowIdentifier::from_root that takes a IsA<gtk4::Root> |