Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< const Display > Gdk::DisplayManager::get_default_display (  )  const

Gets the default Gdk::Display.

Returns:
A Gdk::Display, or 0 if there is no default display.
Since: 2.2.

Definition at line 214 of file displaymanager.cc.

References gobj().

{

  Glib::RefPtr<const Display> retvalue = Glib::wrap(gdk_display_manager_get_default_display(const_cast<GdkDisplayManager*>(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