Re: "style" in struct GtkWidget




On 3 Dec 2001, Havoc Pennington wrote:


Mariusz Bozewicz <plachninka wp pl> writes:
Hello
  I'm beginning with Gtk. I want to change color (background color) of
drawing area. For example:
GtkWidget *drawarea;
drawarea=gtk_drawing_area_new();
// I want to change color
drawarea->style->bg[]  // and here, why bg is array of 5 GdkColor elements 
            //  what does each element mean?

http://pobox.com/~hp/gtk-colors.html

                        thnx
                                Mariusz Bozewicz




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