Re: Gtk::Window::fullscreen_on_monitor()
Carlos Gomez <[email protected]>
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <[email protected]> |
Hi all, Glib::PropertyProxy< Glib::RefPtr<Gdk::Screen> > property_screen() ; This is a method of Gtk::Window. I never used it but I think that could be a starting point. On 22/02/2020 13:34, Klaus Rudolph wrote: > Can someone give an example how to use > Gtk::Window::fullscreen_on_monitor() > method? > > The docs only tell me: > screen A Gdk::Screen to draw to. > monitor Which monitor to go fullscreen on. > > I have no idea how to fill the parameter "screen", respectively from > what instance/class/window I get the value. The documentation > https://developer.gnome.org/gtkmm/stable/classGdk_1_1Screen.html#details > is quite unclear how to get an instance of that type. > > If I have multiple Xservers running or can use a remote X server, how to > get the screen from that? > > > Thanks > Klaus > _______________________________________________ > gtkmm-list mailing list > [email protected] > https://mail.gnome.org/mailman/listinfo/gtkmm-list > _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list