client-toolkit icon indicating copy to clipboard operation
client-toolkit copied to clipboard

Example to create popup window

Open wusyong opened this issue 1 year ago • 1 comments

Hello, I tried to see if I can create a popup window from this crate. However, the parameters are more complicated than I think. There is no documentation or example explaining how to obtain them, either. Is there anyone could missing parts to create the popup?

wusyong avatar Oct 12 '24 04:10 wusyong

It looks like from your issue, you're having trouble with the last parameter? https://docs.rs/smithay-client-toolkit/latest/smithay_client_toolkit/shell/xdg/struct.XdgShell.html implements the trait, and you can use this method to bind it if it is available

wash2 avatar Oct 14 '24 03:10 wash2