Warning, /plasma/breeze-gtk/src/gtk2/widgets/notebook is written in an unsupported language. File is not indexed.

0001 style "notebook_tab_label"
0002 {
0003   fg[ACTIVE] = @fg_color
0004 }
0005 
0006 
0007 style "notebook"
0008 {
0009 
0010   xthickness    = 5
0011   ythickness    = 2
0012 
0013   engine "pixmap"
0014     {
0015     image
0016     {
0017         function        = EXTENSION
0018           state           = ACTIVE
0019           file            = "../assets/tab-bottom-inactive.png"
0020           border            = { 3,3,3,3 }
0021           stretch           = TRUE
0022           gap_side      = TOP
0023     }
0024     image
0025     {
0026         function        = EXTENSION
0027           state           = ACTIVE
0028           file            = "../assets/tab-top-inactive.png"
0029           border            = { 3,3,3,3 }
0030           stretch           = TRUE
0031           gap_side      = BOTTOM
0032     }
0033     image
0034     {
0035         function        = EXTENSION
0036           state           = ACTIVE
0037           file            = "../assets/tab-left-inactive.png"
0038           border            = { 3,3,3,3 }
0039           stretch           = TRUE
0040           gap_side      = RIGHT
0041     }
0042     image
0043     {
0044         function        = EXTENSION
0045           state           = ACTIVE
0046           file            = "../assets/tab-right-inactive.png"
0047           border            = { 3,3,3,3 }
0048           stretch           = TRUE
0049           gap_side      = LEFT
0050     }
0051     image
0052     {
0053         function        = EXTENSION
0054           file            = "../assets/tab-top-active.png"
0055           border            = { 3,3,3,3 }
0056           stretch           = TRUE
0057           gap_side      = BOTTOM
0058     }
0059     image
0060     {
0061         function        = EXTENSION
0062           file            = "../assets/tab-bottom-active.png"
0063           border            = { 3,3,3,3 }
0064           stretch           = TRUE
0065           gap_side      = TOP
0066     }
0067     image
0068     {
0069         function        = EXTENSION
0070           file            = "../assets/tab-left-active.png"
0071           border            = {  3,3,3,3 }
0072           stretch           = TRUE
0073           gap_side      = RIGHT
0074     }
0075     image
0076     {
0077         function        = EXTENSION
0078           file            = "../assets/tab-right-active.png"
0079           border            = {  3,3,3,3 }
0080           stretch           = TRUE
0081           gap_side      = LEFT
0082     }
0083 
0084 # How to draw boxes with a gap on one side (ie the page of a notebook)
0085 
0086     image
0087     {
0088         function            = BOX_GAP
0089           file                = "../assets/notebook-frame-top.png"
0090           border                = { 4, 4, 4, 4 }
0091           stretch               = TRUE
0092           gap_file          = "../assets/notebook-gap-horizontal.png"
0093           gap_border    = { 1, 1, 0, 0 }
0094           gap_side          = TOP
0095     }
0096     image
0097     {
0098         function            = BOX_GAP
0099           file                = "../assets/notebook-frame-bottom.png"
0100           border                = { 4, 4, 4, 4 }
0101           stretch               = TRUE
0102           gap_file          = "../assets/notebook-gap-horizontal.png"
0103           gap_border        = { 1, 1, 0, 0 }
0104           gap_side          = BOTTOM
0105     }
0106     image
0107     {
0108         function            = BOX_GAP
0109           file                = "../assets/notebook-frame-top.png"
0110           border                = { 4, 4, 4, 4 }
0111           stretch               = TRUE
0112           gap_file          = "../assets/notebook-gap-vertical.png"
0113           gap_border        = { 0, 0, 1, 1 }
0114           gap_side          = LEFT
0115     }
0116     image
0117     {
0118         function            = BOX_GAP
0119           file                = "../assets/notebook-frame-right.png"
0120           border                = { 4, 4, 4, 4 }
0121           stretch               = TRUE
0122           gap_file          = "../assets/notebook-gap-vertical.png"
0123           gap_border        = { 0, 0, 1, 1 }
0124           gap_side          = RIGHT
0125     }
0126 
0127 # How to draw the box of a notebook when it isnt attached to a tab
0128 
0129     image
0130       {
0131           function      = BOX
0132           file            = "../assets/frame.png"
0133           border            = { 4, 4, 4, 4 }
0134           stretch           = TRUE
0135       }
0136   }
0137 }
0138