gtk-rs / gdk

DEPRECATED, use https://github.com/gtk-rs/gtk3-rs repository instead!

Home Page:http://gtk-rs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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?

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?

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.