Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Glib::RefPtr< const Visual > Gdk::Colormap::get_visual (  )  const

Returns the visual for which a given colormap was created.

Returns:
The visual of the colormap.

Definition at line 176 of file colormap.cc.

References gobj().

{

  Glib::RefPtr<const Visual> retvalue = Glib::wrap(gdk_colormap_get_visual(const_cast<GdkColormap*>(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