problem to change the background color of a scrolled window
- From: karim bernardet <bernardet karim wanadoo fr>
- To: gtk-app-devel-list gnome org
- Subject: problem to change the background color of a scrolled window
- Date: Tue, 01 Oct 2002 21:36:31 +0200
Hi everybody !
I have a scrolled window with a table :
Window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
Scr = gtk_scrolled_window_new(NULL, NULL);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(Scr),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_container_add(GTK_CONTAINER(Window), Scr);
gtk_widget_show (Scr);
table=gtk_table_new (rows,columns,homogeneous);
...
gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (Scr),
table);
But the background is grey and i would like to change it. How can i do
that ?
thanks a lot for your help !
Karim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]