Re: Default Background Color
- From: Paul Davis <paul linuxaudiosystems com>
- To: Andy Ma <khma sfu ca>
- Cc: gnomemm-list gnome org, gtkmm-list gnome org
- Subject: Re: Default Background Color
- Date: Thu, 17 Feb 2005 10:08:53 -0500
>Hello,
>
>Does anybody know how to change the default background color of the
>Gnome Canvas?
>I'd like it to have a black background instead of the default grey color.
>I guess I can draw a black rectangle that covers the entire canvas but it'd
>be nice if there is a proper way to do it.
i do:
canvas->set_name ("MyNameForTheCanvas")
and then in the applications' RC file:
style "main_canvas_area"
{
bg[NORMAL] = { 0.89, 0.88, 0.91 }
bg[ACTIVE] = { 0.89, 0.88, 0.91 }
bg[INSENSITIVE] = { 0.89, 0.88, 0.91 }
bg[SELECTED] = { 0.89, 0.88, 0.91 }
bg[PRELIGHT] = { 0.89, 0.88, 0.91 }
}
widget "*MyNameForTheCanvas" style "main_canvas_area"
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]