Re: changing the bg of a widget
- From: Olexiy Avramchenko <olexiy ctech cn ua>
- To: Luka Napotnik <luka napotnik gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: changing the bg of a widget
- Date: Mon, 22 Aug 2005 09:22:01 +0300
Luka Napotnik wrote:
Hello. I'm trying to change the background of a vbox but it doesn't
change. I call gtk_widget_modify_bg(window_main->box_main,
GTK_STATE_NORMAL, &bgColor) where bgColor is set to white. Why does this
not work? I have a GtkImage with an image in the vbox and that's all. If
I resize the window, the color is still the same.
Hi,
Add GtkVBox to the GtkEventBox and use gdk_widget_modify_bg() on
GtkEventBox.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]