Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
xfce:xfce4-panel:theming [2012/01/04 10:14] – [Classes] nickxfce:xfce4-panel:theming [2019/04/12 22:38] – [Classes] blueberrybrownie
Line 1: Line 1:
 ====== Theming ====== ====== Theming ======
 +
 +<note warning>This applies only to GTK 2 versions of Xfce Panel, and doesn't apply to GTK 3.</note>
  
 Besize the appearance settings in the panel preferences, there are also a couple of classes you can style through the ''.gtkrc-2.0'' file. Below we'll summarize the global classes. Some plugins also have gtkrc style properties for specific settings, you can find those in the manual page of the specific plugin. Besize the appearance settings in the panel preferences, there are also a couple of classes you can style through the ''.gtkrc-2.0'' file. Below we'll summarize the global classes. Some plugins also have gtkrc style properties for specific settings, you can find those in the manual page of the specific plugin.
  
 ===== Classes ===== ===== Classes =====
-==== XfcePanelWindow ====+ 
 +===== XfcePanelWindow =====
 The normal panel window. The normal panel window.
  
Line 22: Line 25:
 </file> </file>
  
-==== XfcePanelWindowHidden ====+===== XfcePanelWindowHidden =====
  
 Class of the hidden panel window. Class of the hidden panel window.
  
-==== XfcePanelWindowExternal ====+===== XfcePanelWindowExternal =====
  
 The class of the external window used for the 4.6 plugins. The class of the external window used for the 4.6 plugins.
  
-==== XfcePanelWindowWrapper ====+===== XfcePanelWindowWrapper =====
  
 The class of the window used for external plugins running in the wrapper application. The class of the window used for external plugins running in the wrapper application.
  
 +===== XfcePanelImage =====
  
 +Class of the images used on most of the panel plugins.
 +
 +<file txt .gtkrc-2.0>
 +style "xfce-panel-image-style"
 +{
 +  # Fix the panel images to a default gtk icon size, is only works for
 +  # images below 32 pixels. You can for example use this when you have
 +  # fuzzy launcher icons.
 +  XfcePanelImage::force-gtk-icon-sizes = true
 +}
 +class "XfcePanelImage" style "xfce-panel-image-style"
 +</file>