Code Sample |
include "/path/to/the/file" |
Code Sample |
# pixmap_path "<dir 1>:<dir 2>:<dir 3>:..." # # include "rc-file" # # style <name> [= <name>] # { # <option> # } # # widget <widget_set> style <style_name> # widget_class <widget_class_set> style <style_name> # testgtkrc2 sets all the buttons in the main window to blue by default #include "testgtkrc2" #module_path ".:/home/raster/themes" pixmap_path ".:/home/raster/themes" style "default" { font = "-*-helvetica-medium-r-normal--10-*-*-*-*-*-*-*" bg[NORMAL] = { 0.74, 0.74, 0.74 } fg[NORMAL] = { 0, 0, 0 } bg[PRELIGHT] = { 0.95, 0.76, 0.25 } fg[PRELIGHT] = { 0, 0, 0 } bg[SELECTED] = { 0.95, 0.76, 0.25 } fg[SELECTED] = { 0, 0, 0 } bg[ACTIVE] = { 0.74, 0.67, 0.60 } fg[ACTIVE] = { 0, 0, 0 } engine "colorstep" { } } style "list" { bg[ACTIVE] = { 0.74, 0.74, 0.74 } bg[NORMAL] = { 1, 1, 1 } bg[PRELIGHT] = { 0.95, 0.76, 0.25 } bg[SELECTED] = { 0.95, 0.76, 0.25 } } widget_class "GtkCTree" style "list" widget_class "GtkCList" style "list" style "window" { # bg_pixmap[NORMAL] = "warning.xpm" } style "scale" { base[ACTIVE] = { 0.50, 0.43, 0.36 } bg[ACTIVE] = { 0.50, 0.43, 0.36 } base[NORMAL] = { 0.74, 0.67, 0.60 } bg[NORMAL] = { 0.74, 0.67, 0.60 } base[PRELIGHT] = { 0.95, 0.76, 0.25 } bg[PRELIGHT] = { 0.95, 0.76, 0.25 } base[SELECTED] = { 0.95, 0.76, 0.25 } bg[SELECTED] = { 0.95, 0.76, 0.25 } fg[ACTIVE] = { 0.50, 0.43, 0.36 } fg[PRELIGHT] = { 0.95, 0.76, 0.25 } fg[SELECTED] = { 0.95, 0.76, 0.25 } } style "button" { bg[NORMAL] = { 0.74, 0.67, 0.60 } bg[PRELIGHT] = { 0.95, 0.76, 0.25 } bg[ACTIVE] = { 0.95, 0.76, 0.25 } bg[SELECTED] = { 0.95, 0.76, 0.25 } } style "toggle_button" = "button" { } style "radio_button" = "toggle_button" { } style "entry" { bg[SELECTED] = { 0.95, 0.76, 0.25 } fg[SELECTED] = { 0.31, 0.31, 0.13 } } style "slider" = "scale" { } style "tooltips" { bg[NORMAL] = { 0.93, 0.93, 0.78 } fg[NORMAL] = { 0, 0, 0 } } style "ruler" { # font = '-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*' } style "curve" { } # override testgtk2, introduce the green color in the button list style 'button_list' = 'button' { } widget "main window.*GtkScrolledWindow.*GtkButton*" style "button_list" # common default class "GtkWidget" style "default" class "GtkText" style "entry" class "GtkScrollbar" style "slider" widget_class "GtkWindow" style "window" widget_class "GtkDialog" style "window" widget_class "GtkFileSelection" style "window" widget_class "*Gtk*Scale" style "scale" widget_class "*Gtk*Slider" style "slider" widget_class "*GtkCheckButton*" style "toggle_button" widget_class "*GtkRadioButton*" style "radio_button" widget_class "*GtkButton*" style "button" widget_class "*Ruler" style "ruler" widget_class "*GtkEntry" style "entry" widget "*GtkCurve" style "curve" widget "gtk-tooltips*" style "tooltips" |