📄 gtkrc
字号:
state = INSENSITIVE
file = "file11.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
image
{
function = FLAT_BOX
recolorable = TRUE
file = "file7.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
}
class "GtkTreeItem" style "item"
class "GtkListItem" style "item"
style "window"
{
engine "pixmap" {
image
{
function = FLAT_BOX
recolorable = TRUE
#file = "greybg.png"
border = { 5, 5, 5, 5 }
stretch = TRUE
}
}
}
class "GtkWindow" style "window"
style "curve"
{
engine "pixmap" {
image
{
function = FLAT_BOX
recolorable = TRUE
detail = "curve_bg"
file = "greybg.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
}
}
class "GtkCurve" style "curve"
style "default"
{
engine "pixmap"
{
image
{
function = BOX
recolorable = TRUE
detail = "slider"
state = PRELIGHT
file = "file26.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
overlay_file = "file27.png"
overlay_border = { 3, 3, 3, 3 }
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image
{
function = BOX
recolorable = TRUE
detail = "slider"
state = NORMAL
file = "file28.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
overlay_file = "file29.png"
overlay_border = { 3, 3, 3, 3 }
overlay_stretch = FALSE
orientation = HORIZONTAL
}
image
{
function = BOX
recolorable = TRUE
detail = "slider"
state = PRELIGHT
file = "file30.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
overlay_file = "file31.png"
overlay_border = { 3, 3, 3, 3 }
overlay_stretch = FALSE
orientation = VERTICAL
}
image
{
function = BOX
recolorable = TRUE
detail = "slider"
file = "file32.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
overlay_file = "file33.png"
overlay_border = { 3, 3, 3, 3 }
overlay_stretch = FALSE
orientation = VERTICAL
}
#
# Any trough....
#
image
{
function = BOX
recolorable = TRUE
detail = "trough"
file = "file34.png"
border = { 4, 2, 3, 2 }
stretch = TRUE
}
#
# Selected text in entries, text widget, lists and trees
#
image
{
function = FLAT_BOX
recolorable = TRUE
state = INSENSITIVE
detail = "selected"
file = "file35.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
image
{
function = FLAT_BOX
recolorable = TRUE
detail = "selected"
file = "file36.png"
border = { 1, 1, 1, 1 }
stretch = TRUE
}
image
{
function = FLAT_BOX
recolorable = TRUE
state = INSENSITIVE
detail = "text"
file = "file37.png"
border = { 3, 3, 1, 1 }
stretch = TRUE
}
image
{
function = FLAT_BOX
recolorable = TRUE
detail = "text"
file = "file38.png"
border = { 3, 3, 1, 1 }
stretch = TRUE
}
image
{
function = FLAT_BOX
recolorable = TRUE
detail = "viewportbin"
file = "greybg.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
}
#
# Arrows for all occasions
#
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
file = "file39.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = UP
}
image
{
function = ARROW
recolorable = TRUE
state = PRELIGHT
file = "file40.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = UP
}
image
{
function = ARROW
recolorable = TRUE
shadow = IN
file = "file41.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = UP
}
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
file = "file42.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = DOWN
}
image
{
function = ARROW
recolorable = TRUE
state = PRELIGHT
file = "file43.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = DOWN
}
image
{
function = ARROW
recolorable = TRUE
shadow = IN
file = "file44.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = DOWN
}
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
file = "file45.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = LEFT
}
image
{
function = ARROW
recolorable = TRUE
state = PRELIGHT
file = "file46.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = LEFT
}
image
{
function = ARROW
recolorable = TRUE
shadow = IN
file = "file47.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = LEFT
}
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
file = "file48.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = RIGHT
}
image
{
function = ARROW
recolorable = TRUE
state = PRELIGHT
file = "file49.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = RIGHT
}
image
{
function = ARROW
recolorable = TRUE
shadow = IN
file = "file50.png"
stretch = TRUE
border = { 2, 2, 2, 2 }
arrow_direction = RIGHT
}
#
# Hline and Vline widgets
#
image
{
function = HLINE
recolorable = TRUE
file = "hline.png"
stretch = TRUE
}
image
{
function = VLINE
recolorable = TRUE
file = "vline.png"
border = { 1, 1, 0, 0 }
stretch = TRUE
}
#
# Check marks
#
image
{
function = CHECK
recolorable = TRUE
shadow = OUT
overlay_file = "file51.png"
overlay_stretch = FALSE
}
image
{
function = CHECK
recolorable = TRUE
shadow = IN
overlay_file = "file52.png"
overlay_stretch = FALSE
}
#
# Option marks
#
image
{
function = OPTION
recolorable = TRUE
shadow = OUT
overlay_file = "file53.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
}
image
{
function = OPTION
recolorable = TRUE
shadow = IN
overlay_file = "file54.png"
overlay_border = { 0, 0, 0, 0 }
overlay_stretch = FALSE
}
#
# The "tab" on the OptionMenu
#
image
{
function = TAB
recolorable = TRUE
overlay_file = "pulldown_indicator.png"
overlay_stretch = FALSE
}
#
# Fun with Scrollbars
#
image
{
function = SLIDER
recolorable = TRUE
file = "file55.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
orientation = HORIZONTAL
}
image
{
function = SLIDER
recolorable = TRUE
file = "file56.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
orientation = VERTICAL
}
#
# The handle on Handleboxes
#
image
{
function = HANDLE
recolorable = TRUE
file = "menu.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
overlay_file = "file57.png"
overlay_border = { 2, 2, 2, 2 }
overlay_stretch = FALSE
orientation = VERTICAL
}
image
{
function = HANDLE
recolorable = TRUE
file = "menu.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
overlay_file = "file58.png"
overlay_border = { 2, 2, 2, 2 }
overlay_stretch = FALSE
orientation = HORIZONTAL
}
#
# The background for entry widgets
#
image
{
function = FLAT_BOX
recolorable = TRUE
state = INSENSITIVE
detail = "entry_bg"
file = "entry.png"
stretch = TRUE
}
image
{
function = FLAT_BOX
recolorable = TRUE
detail = "entry_bg"
file = "entry.png"
stretch = TRUE
}
#
# How to draw the focus around a widget
#
# image
#{
#function = FOCUS
#recolorable = TRUE
#overlay_file = "focus.png"
#overlay_border = { 4, 4, 4, 4 }
#overlay_stretch = TRUE
#}
#
# How to draw shadows in general
#
image
{
function = SHADOW
recolorable = TRUE
shadow = IN
file = "shadow_in.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
image
{
function = SHADOW
recolorable = TRUE
shadow = OUT
file = "shadow_out.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
image
{
function = SHADOW
recolorable = TRUE
shadow = ETCHED_IN
file = "frame_box_inset.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
image
{
function = SHADOW
recolorable = TRUE
shadow = ETCHED_OUT
file = "frame_box_outset.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
}
#
# How to draw shadows with a gap on one side
#
image
{
function = SHADOW_GAP
recolorable = TRUE
file = "frame_box_inset.png"
border = { 2, 2, 2, 2 }
stretch = TRUE
gap_start_file = "frame_gap_top_start.png"
gap_start_border= { 2, 0, 0, 0 }
gap_end_file = "frame_gap_top_end.png"
gap_end_border = { 0, 2, 0, 0 }
gap_side = TOP
}
image
{
function = BOX
recolorable = TRUE
file = "notebook.png"
border = { 3, 3, 3, 3 }
stretch = TRUE
}
}
}
class "GtkWidget" style "default"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -