Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xfce:xfce4-panel:theming [2012/01/04 10:13]
nick [Classes]
xfce:xfce4-panel:theming [2019/04/12 22:38] (current)
blueberrybrownie [Classes]
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 + 
-The normal panel window+===== XfcePanelWindow ​===== 
-? XfcePanelWindowHidden +The normal panel window.
-! Class of the hidden panel window. +
-?​XfcePanelWindowExternal +
-! The class of the external window used for the 4.6 plugins. +
-? XfcePanelWindowWrapper +
-! The class of the window used for external plugins running in the wrapper application.+
  
 <file txt .gtkrc-2.0>​ <file txt .gtkrc-2.0>​
-XfcePanelWindow 
---------------- 
 style "​xfce-panel-window-style"​ style "​xfce-panel-window-style"​
 { {
Line 28: Line 23:
 } }
 class "​XfcePanelWindow"​ style "​xfce-panel-window-style"​ class "​XfcePanelWindow"​ style "​xfce-panel-window-style"​
 +</​file>​
 +
 +===== XfcePanelWindowHidden =====
 +
 +Class of the hidden panel window.
 +
 +===== XfcePanelWindowExternal =====
 +
 +The class of the external window used for the 4.6 plugins.
 +
 +===== XfcePanelWindowWrapper =====
 +
 +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>​ </​file>​