-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to use relm with gtk-layer-shell-rs #252
Comments
Btw here's a code example for gtk-layer-shell-rs https://github.com/subgraph/gtk-layer-shell-rs/blob/master/examples/example.rs |
I'm not sure, but my guess is that it doesn't work because the window is already shown (by the view macro) when Now that I think of it, maybe it would be useful to have an attribute to specify to not show the widget immediately in the |
If that would solve this issue then sure. it would be nice to have a hook called before_view (just like init_view) but it is called before it is shown, so I can call Also, is there a IRC channel or discord to chat about relm? |
I'm not sure about the There's a gitter to chat about relm and I'm often on |
Hi, has this been implemented ? |
There was no progress made on this issue. |
Trying to build a an application using https://github.com/subgraph/gtk-layer-shell-rs
If you're not familiar with, it's basically a library to allow GTK to use a Wayland protocol known as layer shell protocol, which will allow windows to be anchored to corners of the screen.
The code for the app is simple: https://gist.github.com/oofdog/4625c3dad79736a638209c8f31e266f2
However, I'm getting these errors when the app boots
and the app does not render correctly (i'm expecting to see margins of 10px from all sides from these lines)
Did some digging and found here that after init_view, relm will clone the app? Could this be the cause of the problems? Btw this is what the gtk-layer-shell init function does
The text was updated successfully, but these errors were encountered: