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

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

Returns the visual for which a given colormap was created.

Returns:
The visual of the colormap.

Definition at line 166 of file colormap.cc.

References gobj().

{

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