Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< const Gdk::Screen > Gtk::Window::get_screen (  )  const

Returns the Gdk::Screen associated with window .

Returns:
A Gdk::Screen.
Since: 2.2.

Reimplemented from Gtk::Widget.

Definition at line 651 of file window.cc.

References gobj().

{

  Glib::RefPtr<const Gdk::Screen> retvalue = Glib::wrap(gtk_window_get_screen(const_cast<GtkWindow*>(gobj())));

  if(retvalue)
    retvalue->reference(); //The function does not do a ref for us.
  return retvalue;
}


Generated by  Doxygen 1.6.0   Back to index