tags:

views:

30

answers:

1

Hi Experts,

I am trying to change the color of text displayed on GtkButton using gtk_widget_modify_fg() but it is not working. I have successfully changed the background of GtkButton using gtk_widget_modify_bg() but foreground one is not working.

Please help.

Regards -Durgesh O Mishra

A: 

You could put a GtkLabel widget inside the button and colour that. Keep in mind that users like programs that stay consistent with the system theme.

Delan Azabani