Re: Notification of theme change
- From: Owen Taylor <otaylor redhat com>
- To: "Padraig O'Briain" <Padraig Obriain Sun COM>
- Cc: gtk-devel-list gnome org
- Subject: Re: Notification of theme change
- Date: Tue, 15 Oct 2002 14:12:54 -0400 (EDT)
"Padraig O'Briain" <Padraig Obriain Sun COM> writes:
> Is it possible for a widget to get notification of theme change?
Widgets are notified when widget->style changes with the ::style-set
signal. This is the effect of a theme change that a widget
almost always cares about; GTK+ internally doesn't really
have an idea of a "theme"; different widgets can have different
theme engines and styles.
If you want to find out if the theme name setting changes,
you can listen to notify::gtk-theme-name on the GtkSettings, but I
don't know of any valid reason to do that.
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]