Logo Search packages:      
Sourcecode: ardour version File versions

Glib::RefPtr< Display > Gdk::Drawable::get_display (  )  [inherited]

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

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

Definition at line 346 of file drawable.cc.

References Gdk::Drawable::gobj().

{

  Glib::RefPtr<Display> retvalue = Glib::wrap(gdk_drawable_get_display(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