Re: How can I modify the background colour of a Button?



On Monday 01 September 2003 03:19, James Su wrote:
I have tried both gtk_widget_modify_bg and gtk_widget_modify_base on the
button and its child, but all have no effect.

Attached is the "Hello World" example (from gtk+-2.x.x/examples/helloworld), 
modified to change the button's background and text colors.

Dave Smith

Attachment: helloworld.c
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]