Web page hosting and cheap domains registration services
  

 Home

GdkColor
Prev GdkColor Constructor Next

GdkColor Constructor

GdkColor (int red, int green, int blue);

When constructing a GdkColor directly, you will need to use the system's color names, hex RGB triples or XcmsRGB values. Attempting to use other formats here will not result in an error message, because the structure itself recognises them, but equally they will not display, because the function doesn't recognise them at all.

The options when directly constructing colors in PHP-GTK are:

Color names that are used on a given system are defined in a file named rgb.txt. The equivalent file is not available in human-readable form under win32, although utilised. Here is one of the better reference pages currently online detailing the standard color names used by window management systems.

See also: GtkStyle.


Prev Home Next
GdkColor Up GdkColor::red

 

  

Network sites:

$8.95 domain registration : cheap domains from US$5.95

Active-Domain.com: domain register and domain registration services 

 
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php