parsing rc-files

From: Date: Fri, 07 Nov 2008 16:59:04 +0000
Subject: parsing rc-files
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-8321@lists.php.net to get a copy of this message
Hello, I dowloaded the last version of php-gtk2 (2.0.1) and hoped annoying bugs were fixed, but they are not. 1) Parsing of rc file is bad. In the first version of php-gtk2 it worked. Now you can change some colors but not all : you can change the text color (sometime) but background color don't work. This is unfortunate, because rc files were a very convenient way to change colors (you could do themes in a breeze like that !) Example : I have used this model for buttons : style "button" { # This shows all the possible states for a button. The only one that # doesn't apply is the SELECTED state. fg[PRELIGHT] = { 1.0, 1.0, 1.0 } bg[PRELIGHT] = { 1.0, 1.0, 1.0 } bg[ACTIVE] = { 1.0, 0, 0 } fg[ACTIVE] = { 0, 1.0, 0 } bg[NORMAL] = { 1.0, 1.0, 0 } fg[NORMAL] = { .99, 1.0, .99 } # the value defined here is used for the triangle of the combobox !!!!! bg[INSENSITIVE] = { 0.8, 0.7, 0.7 } fg[INSENSITIVE] = { 1.0, 0, 1.0 } } But only the color of the text changes. The fackground is always the default. In the alpha version of php-gtk2 it was working OK. Or is there something I am not doing well ? Thanks Dysmas -- View this message in context: http://www.nabble.com/parsing-rc-files-tp20384535p20384535.html Sent from the Php - GTK - General mailing list archive at Nabble.com.

« previous php.gtk.general (#8321) next »