Re: (no subject)



    Ciaran> but I get the error

    Ciaran> incompatible types in assignment of `_GdkColor' to `_GdkColor[5]'

The "bg" field of the style is an array of 5 colors.  You probably want an
assignment like this:

  button->style->bg[GTK_STATE_NORMAL] = black;
-----------------------------------------------------------------------------
Mark Leisher                      Times are bad.  Children no longer obey
Computing Research Lab            their parents, and everyone is writing
New Mexico State University       a book.
Box 30001, Dept. 3CRL                -- Marcus Tullius Cicero
Las Cruces, NM  88003




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