Re: gdk_window_set_background?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 18 May 2001, Havoc Pennington wrote:

::Setting the background with the techniques in
::http://pobox.com/~hp/gtk-colors.html will end up calling
::gdk_window_set_background() internally, but you don't need
::to use gdk_window_set_background() directly.
::
::Havoc

Okay that is somewhat clearer. Still when I added the code shown in
gtk-colors.html (modified slightly to use my variable names), I get an
error on the line that looks like:

rc_style->color_flags[GTK_STATE_NORMAL] |= GTK_RC_FG;

The error is:
conversion from `int' to `enum GtkRcFlags'

I've looked at the code a hundred times, and I don't see anything so
different as to account for this error. My declarations are just like
the ones in the example. Do you have any idea what this might be?

Have a good day!  -Vicki
+-----------------------------------------------------------------+
|              E-mail:  vicki thepenguin org                      |
|    My public key - http://www.thepenguin.org/vicki/key.txt      |
|         My Linux page - http://www.thepenguin.org               |
+-----------------------------------------------------------------+
**The best things in life aren't things.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7BgxtvFwCsl/kaSARAsaEAJwKMyeojYGWnyLkyRwavwMgc4APyQCgoFQI
ZyPBpGM7rh82LfyNkzOo+h8=
=epXz
-----END PGP SIGNATURE-----





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