Dynamic Style/Color change - I don't find the solution...
- From: Georg Greve <greve fusebox hanse de>
- Cc: timj gimp org
- Subject: Dynamic Style/Color change - I don't find the solution...
- Date: Mon, 6 Jul 1998 19:14:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hi !
I am trying to make my program change the style of some widgets
dynamically during runtime (_while_ displaying them).
What I do right now is that I create new styles for these widgets by
gtk_style_copy of the standard style. Then I attach it to the widget
by gtk_widget_set_style - so far so good...
When I want to change the color I just can't get it to work.
I tried to set the colors directly (no effect), tried to detach the
style, change the colors, attach it again (no effect) and lots of
combinations of functions that looked like they might have
something to do with it - the program either crashed or there was no
effect.
By now I am rather clueless and I would REALLY appreciate a good
hint...
Later,
Georg
- --
Georg C. F. Greve <greve@fusebox.hanse.de>
http://porter.desy.de/~greve/ - ICQ#10016966
"People who fight may lose. People who do not
fight have already lost." -- Bertolt Brecht
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: Processed
iQCVAwUBNaEh/VZXgZXDxqJtAQFEYwP/UzMQOXXCB/K0sGdU1XLSGcZuRZD1SPdc
pBRhz3DYXVlMl0QKtRVTZmo6BA7oqD33d4E8FMmZyg4h2nzaegrrp0OO4Yg02iTe
PdeHxYgeWB4QbHBKK4SwEPsue1v4AjIn+uPjRfvOlQw3nANvam59D79yy5HgZltb
DVG9RDDtYeM=
=eudj
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]