Color Class Reference

Inheritance diagram for Color:

ObjectG List of all members.

Detailed Description

Color.


Public Member Functions

 this (GObject *gObject)
 Creates a ObjectG from a GTK GObject.

 this ()
 Creates a new Color.

 this (guint16 red, guint16 green, guint16 blue)
 Creates a new Color with RGB values.

void set (guint16 red, guint16 green, guint16 blue)
 Sets the Color with RGB values.

bit allocColor ()
 allocColor

GdkColor * gdkColor ()
 gets the gdkColor


Member Function Documentation

bit Color.allocColor  ) 
 

allocColor

Bug:
all colors became black

GdkColor* Color.gdkColor  ) 
 

gets the gdkColor

Returns:
the GdkColor

void Color.set guint16  red,
guint16  green,
guint16  blue
 

Sets the Color with RGB values.

Parameters:
red 
green 
blue 

Color.this guint16  red,
guint16  green,
guint16  blue
 

Creates a new Color with RGB values.

Parameters:
red 
green 
blue 

Color.this  ) 
 

Creates a new Color.

Color.this GObject *  gObject  ) 
 

Creates a ObjectG from a GTK GObject.

This will set a pointer to the ObjectG on the GTK GObject all the new widget will end up executing this contructor.

Reimplemented from ObjectG.


Generated on Sun Dec 21 02:47:09 2003 for DUI by doxygen 1.3.4