Re: Setting background color for a GtkFrame

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

 



hi,

you need to use an event box, GtkFrame does not have its own X window, so
you must make one yourself using GtkEventBox and then modify it, e.g.,
your background color.

discussion and example at:

http://www.pygtk.org/pygtk2tutorial/ch-ContainerWidgets.html

richard

2008/12/30 Harinandan S <harinandans@xxxxxxxxx>

    Hi All,

    Is it possible to set background color to a GtkFrame? I am using Gtk+
2.12.2 over DirectFB 1.1.1 and there are no window decorations. I am
not able to enable it either. So thought of putting a background color
to a GtkFrame and put the window contents in that.

    But I'm not able to set background color. How can I do this?

    Regards,
    Harinandan S

    _______________________________________________
    gtk-list mailing list
    gtk-list@xxxxxxxxx
    http://mail.gnome.org/mailman/listinfo/gtk-list




_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux