GdkScreen signals
lukasstevens opened this issue · comments
Hello, I would like to be able to use the signals of GdkScreen as described in the documentation. I would implement them, but I am not sure how to do that. Maybe you can help me?
It was implemented recently see https://github.com/gtk-rs/gdk/blob/master/src/auto/screen.rs#L268
So target master instead of using the crates.io version.
That's cool! I am on master. Thank you :)
I have another question. How do I get all Screens to which my application has access?
Maybe https://github.com/gtk-rs/gdk/blob/master/src/auto/display_manager.rs#L29
as Display can have only one Screen https://developer.gnome.org/gdk3/stable/GdkDisplay.html#gdk-display-get-n-screens
Thank you. I was just looking into Display
, but I was confused that there is a method to which you pass the screen number. If there really is only one screen then the method get_screen does not make much sense, does it? Especially since get_n_screens
does not seem to be implemented.
Edit: nvm it is implemented on master.
It implemented
Yes strange that gdk_display_get_n_screens
deprecated in 3.10 but gdk_display_get_screen
only in 3.20
Thank you for answering my questions. I think this can be closed.