Guest User

Untitled

a guest
Jan 23rd, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. gtk-color-scheme = "bg_colour:#101010
  2. fg_colour:#FFFFFF
  3. fg_insensitive_colour:#EEEEEE
  4.  
  5. gtk-auto-mnemonics = 1
  6. gtk-primary-button-warps-slider = 1
  7.  
  8. engine "murrine"
  9. {
  10. contrast = 1.0
  11. glazestyle = 1 # 0 = flat hilight, 1 = curved hilight, 2 = concave style, 3 = top curved hilight, 4 = beryl hilight
  12. menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
  13. menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
  14. menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
  15. listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised
  16. listviewstyle = 0 # 0 = nothing, 1 = dotted
  17. scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
  18. highlight_shade = 0.9555 # set the amount of buttons or widgets hilight
  19. roundness = 2 # 0 = squared, 1 = old default, more will increase roundness
  20. reliefstyle = 2 # 0 = flat, 1 = inset, 2 = shadow, 3 = gradient shadow, 4 = strong shadow
  21. lightborderstyle = 1 # 0 = on top, 1 = on all sides
  22. animation = FALSE # FALSE = disabled, TRUE = enabled
  23. gradients = TRUE
  24. glow_shade = 1.0
  25. comboboxstyle = 0 # 1 to colourize below button
  26. expanderstyle = 0 # 0 = arrows, 1 = circles, 2 = buttons
  27. }
  28.  
  29. style "entry"
  30. {
  31. xthickness = 3
  32. ythickness = 4
  33.  
  34. base[ACTIVE] = @bg_colour
  35. base[INSENSITIVE] = @bg_colour
  36. base[NORMAL] = @bg_colour
  37. base[PRELIGHT] = @bg_prelight_colour
  38. base[SELECTED] = @bg_selected_colour
  39.  
  40. bg[ACTIVE] = @bg_colour
  41. bg[INSENSITIVE] = @bg_colour
  42. bg[NORMAL] = @bg_colour
  43. bg[PRELIGHT] = @bg_colour
  44. bg[SELECTED] = @bg_colour
  45.  
  46. fg[ACTIVE] = @fg_colour
  47. fg[INSENSITIVE] = @fg_insensitive_colour
  48. fg[NORMAL] = @fg_colour
  49. fg[PRELIGHT] = @fg_colour
  50. fg[SELECTED] = @fg_colour
  51.  
  52. text[ACTIVE] = @fg_colour
  53. text[INSENSITIVE] = @fg_insensitive_colour
  54. text[NORMAL] = @fg_colour
  55. text[PRELIGHT] = @fg_colour
  56. text[SELECTED] = @fg_colour
  57. }
  58.  
  59. class "GtkEntry" style "entry"
  60. "
  61.  
  62. var _a = Assembly.GetAssembly (typeof (<your class>));
  63. using (var _s = _a.GetManifestResourceStream ("<path in class's assembly to GTKRC file>")) {
  64. using (StreamReader _r = new StreamReader (_s)) {
  65. string _rc = _r.ReadToEnd ();
  66. Gtk.Rc.ParseString (_rc);
  67. Gtk.Settings.Default.ThemeName = "<your theme name>";
  68. }
  69. }
Add Comment
Please, Sign In to add comment