GtkStyle::fg

GtkStyle::fg

Access: Read Write
Type: Array

Returns an array of 5 foreground GdkColors used for the different states a widget can reach.

$newstyle = &new GtkStyle();
$cyan = &new GdkColor('#00FFFF');
$newstyle->fg[GTK_STATE_PRELIGHT] = $cyan;

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