Re: Setting the background color of a GtkFixed



Tom Liu wrote:

You can set GtkFixed to have GdkWindow also.

        GtkWidget *w=gtk_fixed_new();
        GTK_WIDGET_UNSET_FLAGS (w, GTK_NO_WINDOW);
Now I think you can set the background like other widget which has GDK
window.
You're right, thanks. If unset the flag before widget's realization - widget will get gdk window.

   Olexiy





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]