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?


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