GtkStyle::black

GtkStyle::black

Access: Read Write
Type:
GdkColor

Returns the a GdkColor object representing the black color.

$style	= &new GtkStyle;
$style->bg[GTK_STATE_NORMAL]	= $style->black;

You can even overwrite the color with your own:
$style	= &new GtkStyle;
$red	= &new GdkColor('#FF0000');
$style->white	= $red;

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.