Re: Theming an application
- From: John Cupitt <jcupitt gmail com>
- To: Andrew Shafer <shafer realmsys com>
- Cc: gtk-list gnome org
- Subject: Re: Theming an application
- Date: Mon, 3 Oct 2005 18:25:19 +0100
Hi Andrew,
On 10/3/05, Andrew Shafer <shafer realmsys com> wrote:
> Can anyone provide an example of code that sets the theme on an
> application?
One easy way is to call gtk_rc_add_default_file(
"/usr/share/themes/whatever/gtk-2.0/gtkrc" ) before you call
gtk_init():
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html#gtk-rc-add-default-file
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]