Re: Gtk::Window::fullscreen_on_monitor()

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()

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
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?

gtkmm-list mailing list
gtkmm-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]