style "notebook"
{
  engine "pixmap" 
    {
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	state           = ACTIVE
	file            = "ext.png"
	border          = { 6,7,6,1 }
	stretch         = TRUE
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extt.png"
	border          = { 6,7,7,1 }
	stretch         = TRUE
	gap_side        = BOTTOM
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extb.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_side        = TOP
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extl.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_side        = RIGHT
      }
    image 
      {
        function        = EXTENSION
	recolorable     = TRUE
	file            = "extr.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_side        = LEFT
      }
#
# How to draw boxes with a gap on one side (ie the page of a notebook)
#
    image 
      {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "notebook1.png"
	border		= { 2,2,2,2 }
	stretch         = TRUE
	gap_file        = "gap.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "gapt.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "gapt.png"
	gap_end_border  = { 0, 0, 0, 0 }
	gap_side        = TOP
      }
    image 
      {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "up.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_file        = "gap.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "gapbr.png"
	gap_start_border= { 2, 0, 0, 0 }
	gap_end_file    = "gapbr.png"
	gap_end_border  = { 0, 2, 0, 0 }
	gap_side        = BOTTOM
      }
    image 
      {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "up.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_file        = "gap.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "gapl.png"
	gap_start_border= { 0, 0, 2, 0 }
	gap_end_file    = "gapl.png"
	gap_end_border  = { 0, 0, 0, 2 }
	gap_side        = LEFT
      }
    image 
      {
        function        = BOX_GAP
	recolorable     = TRUE
	file            = "up.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_file        = "gap.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "gapbr.png"
	gap_start_border= { 0, 0, 2, 0 }
	gap_end_file    = "gapbr.png"
	gap_end_border  = { 0, 0, 0, 2 }
	gap_side        = RIGHT
      }
#
# How to draw the box of a notebook when it isnt attached to a tab
#
    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "up.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_side        = TOP
      }
  }
}

class "GtkNotebook" style "notebook"
