Top Window Background
- From: Andy Grebe <andyg apogeelabs com>
- To: gtk-app-devel-list gnome org
- Subject: Top Window Background
- Date: Tue, 13 Dec 2005 13:13:57 -0500
I've got a callback function where I want to change the background of
the entire window. I can set the color on startup using:
style = gtk_widget_get_style(topWindow);
style->bg[0] = c;
style->bg[1] = c;
style->bg[2] = c;
style->bg[3] = c;
style->bg[4] = c;
gtk_widget_set_style(topWindow, style);
but when I attempt to change the color of the background in a callback
function, it doesn't work. I've also tried the modify_bg function with
the same results.
--
Andy Grebe
Design Specialist
Software Engineering
North Wales Facility
Apogee Labs, Inc.
(215)699-2060
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]