Re: Changing styles dynamically
- From: Tristan Van Berkom <vantr touchtunes com>
- To: mike aubit com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Changing styles dynamically
- Date: Thu, 05 Feb 2004 10:37:42 -0500
Mike Aubury wrote:
Is there any easy way to globally update the style ? (ie without having to go
through every widget using that style)
I don't know how it works (never done it) but there was discussion
of a gtk-theme-changer application on these lists and apperently the WM
sends an Atom (XAtoms I think ?) See GdkAtoms:
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Properties-and-Atoms.html
of type READ_RCFILES (or something to that effect) and then gtk+ will
re-read the files already previously parsed by gtk_rc_parse(). (I guess
gtk+ keeps a list of filenames from gtk_rc_parse() for that purpose).
HTH,
-Tristan
PS:
Can anyone tell me where I can find a list of these 'atom's
and what effect they have on gtk+ apps when they are sent/recieved ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]