Logo Search packages:      
Sourcecode: ardour version File versions

Gdk::Color::Color ( const Glib::ustring value  )  [explicit]

Instantiate a new Gdk::Color. The color is not allocated - you must call Gdk::Colormap::alloc_color() yourself. The text string can be in any of the forms accepted by XParseColor; these include names for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as 305050.

value the string specifying the color..

Definition at line 41 of file color.cc.

  GdkColor tmp = { 0, 0, 0, 0, };
  gobject_ = gdk_color_copy(&tmp);


Generated by  Doxygen 1.6.0   Back to index