Re: Changing style dynamically
- From: hp redhat com
- To: Andrei Zmievski <andrei ispi net>
- Cc: gtk-list gnome org
- Subject: Re: Changing style dynamically
- Date: Tue, 27 Feb 2001 20:28:21 -0500
From: Havoc Pennington <hp redhat com>
Date: 27 Feb 2001 20:28:20 -0500
In-Reply-To: Andrei Zmievski's message of "Tue, 27 Feb 2001 11:29:03 -0600"
Message-ID: <y5welwjmw97 fsf icon labs redhat com>
Lines: 12
User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Andrei Zmievski <andrei ispi net> writes:
> Is it possible to change widget's style by doing gtk_widget_get_style(),
> changing some values, then doing gtk_widget_set_style(), or is it all
> controlled by themes?
>
You can set the style that way, but as soon as the user switches
themes your changes will disappear.
Better to call gtk_widget_modify_style() with a GtkRcStyle.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]