# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..."
#
# include "rc-file"
#
# style <name> [= <name>]
# {
#   <option>
# }
#
# widget <widget_set>       style <style_name>
# class  <widget_class_set> style <style_name>

# You can add your own GIMP-specific GTK styles here.


# Example style for small screens:

style "gimp-small-style"
{
  GtkWidget::focus_padding         = 0
  GtkOptionMenu::indicator_size    = { 4, 7 }
  GtkOptionMenu::indicator_spacing = { 4, 3, 1, 1 }

  GtkPaned::handle_size            = 5
  GimpDock::separator_height       = 5
  GimpImageDock::minimal_width     = 200
  GimpImageDock::menu_preview_size = small-toolbar
  GimpToolbox::tool_icon_size      = menu
  GimpDockbook::tab_border         = 0
  GimpDockbook::tab_icon_size      = menu
  GimpDockable::content_border     = 1
  GimpEditor::content_spacing      = 1
  GimpEditor::button_spacing       = 1
  GimpEditor::button_icon_size     = menu
}

# class "GtkWidget" style   "gimp-small-style"


# Example keybinding to remap Help to F2

binding "gimp-help-binding"
{
  bind "F2"           { "show-help" (255)        }
  bind "KP_F2"        { "show-help" (255)        }
  bind "<shift>F2"    { "show-help" (whats-this) }
  bind "<shift>KP_F2" { "show-help" (whats-this) }
  bind "<ctrl>F2"     { "show-help" (tooltip)    }
  bind "<ctrl>KP_F2"  { "show-help" (tooltip)    }
}

# class "GtkWidget" binding "gimp-help-binding"


# The dock separator is configurable using its name.
# Note that it uses the bg color of the selected state.

style "gimp-red-separator-style"
{
  bg[SELECTED] = "#aa2448"
}

# widget "*dock-separator*" style "gimp-red-separator-style"
