## HOW TO USE ##

## This file is distributed as an example of gtk settings which people might find useful.
## To apply these settings for all GTK2 programs they should typically be added to ~/.gtkrc-2.0 or ~/.gtkrc-2.0.mine
## Changes will take effect upon restarting the program.
## Lines prefixed by ## are instructions/comments
## Lines prefixed by # are settings that are commented out - remove the # to enable these settings

## To use a special gtkrc just for GWC save it along with the config file i.e. as ~/.config/gtk-wave-cleaner/gtkrc
## For reference, if we had not implemented reading this file, you could have still done it by launching GWC like this:
## GTK2_RC_FILES=./DOC/gtkrc-example.txt gtk-wave-cleaner



## USEFUL SETTINGS AND EXPLANATION ##

## If you are using a special gtkrc for GWC then you probably want to include your normal gtkrc first, which will bring in your theme, fonts etc.  e.g.:
# include "/home/alister/.gtkrc-2.0"
## It seems you need to specify the actual path of the included file i.e. don't use ~ or $HOME.
## Settings in the special gtkrc must be below the include for them to override anything explicitly set in the included file.

## Use a dark theme (needs separate install of something like gnome-themes-extra)
include "/usr/share/themes/Adwaita-dark/gtk-2.0/gtkrc"
## On OSX macports
include "/opt/local/share/themes/Adwaita-dark/gtk-2.0/gtkrc"

## GWC's toolbar icons are 28x28 by default, a non-standard size, category "gwc".
# We can double the icon sizes like this:
#gtk-icon-sizes = "gwc=56,56:gtk-menu=28,28:gtk-dnd=64,64:gtk-button=64,64"
## There are other categories; we don't need all of these for GWC:
#gtk-icon-sizes = "panel-menu=28,28:panel=28,28:gtk-menu=28,28:gtk-large-toolbar=28,28:gtk-small-toolbar=28,28:gtk-button=28,28:gtk-dnd=28,28:gtk-dialog=28,28"

## Allow users to change shortcut keys by hovering the mouse over the respective menu item, and pressing the desired key combination.  
## Sadly this doesn't work in the osx native application menu, which GWC now supports.
## N.B. many other gtk2 programs probably don't save the changes as this option was not well known.
gtk-can-change-accels=1

## Show icons in the menu.
## Helpful for people to learn which toolbar button is which.  Sadly doesn't work in native osx app menu.
gtk-menu-images=1

## Show icons on buttons e.g. "Save" and "Cancel".
## Not typical behaviour in windows or osx, although MS office is one of many exceptions.
gtk-button-images=1

## use the win32 button ordering instead of the GNOME HIG one.
# gtk-alternative-button-order = 1

## use the win32/osx sort indicators direction.
# gtk-alternative-sort-arrows = 1

## Disable beep on errors (not sure if this affects GWC).
gtk-error-bell = 0

# Specify a font and size
style "font"
{
font_name = "Sans 16"
}
widget_class "*" style "font"

# make scrollbars thicker
style "myscrollbar"
{
     GtkScrollbar::slider-width=24
}
class "GtkScrollbar" style "myscrollbar"

## Disable font antialiasing
## Generally doesn't work as it is overridden by fontconfig settings
## Note for nice aliased fonts you need a bitmap font or something well hinted like Arial
#gtk-xft-antialias = 0
#gtk-xft-hinting = 1
#gtk-xft-hintstyle = "hintfull"
#
# On OSX use `export PANGOCAIRO_BACKEND=fc` to use fontconfig settings instead of coretext backend
# On my old mac I put it in ~/.bash_profile

