Hi Yao, Yao Wang wrote: > The default color when I pressed down the button is blue. I want > to change the background color of button when it is pressed and recover > its origin background color when it is released.
The default colour for when the button is pressed is set by the GTK+ theme. I'd suggest changing the theme so that all buttons, when pressed, will be red. It's in general not a good idea to hack applications with hard-coded widget colours, and it's generally encouraged to write applications which are consistent with the rest of the environment. Hope this helps! Dave. -- maemo.org docsmaster Email: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
