Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< const Screen > Gdk::Drawable::get_screen (  )  const [inherited]

Gets the Gdk::Screen associated with a Gdk::Drawable.

Returns:
The Gdk::Screen associated with drawable
Since: 2.2.

Definition at line 336 of file drawable.cc.

References Gdk::Drawable::gobj().

{

  Glib::RefPtr<const Screen> retvalue = Glib::wrap(gdk_drawable_get_screen(const_cast<GdkDrawable*>(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