logo top
Main Page   Widgets   Namespaces   Book  

Gdk::Colormap Class Reference

Inheritance diagram for Gdk::Colormap:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Colormap ()
GdkColormap* gobj ()
 Provides access to the underlying C GObject.

const GdkColormap* gobj () const
 Provides access to the underlying C GObject.

GdkColormap* gobj_copy ()
int alloc_colors (GdkColor* colors, int ncolors, bool writeable, bool best_match, gboolean* success)
bool alloc_color (Color& color, bool writeable=false, bool best_match=true)
void free_colors (GdkColor* colors, int ncolors)
void query_color (gulong pixel, Color& result)
Glib::RefPtr<Visual> get_visual ()
Glib::RefPtr<const Visual> get_visual () const
Glib::RefPtr<Screen> get_screen ()
Glib::RefPtr<const Screen> get_screen () const

Static Public Member Functions

Glib::RefPtr<Colormap> create (const Glib::RefPtr<Visual>& visual, bool allocate)

Protected Member Functions

 Colormap (const Glib::RefPtr<Visual>& visual, bool allocate)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr<Gdk::Colormap> wrap (GdkColormap* object, bool take_copy=false)

Constructor & Destructor Documentation

virtual Gdk::Colormap::~Colormap (  )  [virtual]
 

Gdk::Colormap::Colormap ( const Glib::RefPtr<Visual>&  visual,
bool  allocate
)  [explicit, protected]
 


Member Function Documentation

bool Gdk::Colormap::alloc_color ( Color&  color,
bool  writeable = false,
bool  best_match = true
) 
 

int Gdk::Colormap::alloc_colors ( GdkColor*  colors,
int  ncolors,
bool  writeable,
bool  best_match,
gboolean*  success
) 
 

Glib::RefPtr<Colormap> Gdk::Colormap::create ( const Glib::RefPtr<Visual>&  visual,
bool  allocate
)  [static]
 

void Gdk::Colormap::free_colors ( GdkColor*  colors,
int  ncolors
) 
 

Glib::RefPtr<const Screen> Gdk::Colormap::get_screen (  )  const
 

Glib::RefPtr<Screen> Gdk::Colormap::get_screen (  ) 
 

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

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

const GdkColormap* Gdk::Colormap::gobj (  )  const [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GdkColormap* Gdk::Colormap::gobj (  )  [inline]
 

Provides access to the underlying C GObject.

Reimplemented from Glib::ObjectBase.

GdkColormap* Gdk::Colormap::gobj_copy (  ) 
 

void Gdk::Colormap::query_color ( gulong  pixel,
Color&  result
) 
 


Friends And Related Function Documentation

Glib::RefPtr<Gdk::Colormap> wrap ( GdkColormap*  object,
bool  take_copy = false
)  [related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm 2.2 by Doxygen 1.3.4 © 1997-2001