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
howto:xfwm4_theme [2013/03/18 05:06] – [Xfwm4 Buttons] p0nghowto:xfwm4_theme [2014/01/09 23:25] – [Button offset and spacing] p0ng
Line 34: Line 34:
  
 ===== Window Sidebars and bottom ===== ===== Window Sidebars and bottom =====
-Each side of a window is made up of  two pixmaps. The pixmaps on the left side are named left-active.xpm and bottom-left-active.xpm. with the right side (of course) being made up of right-active.xpm and bottom-right.active.xpm.+Each side of a window is made up of  two pixmaps. The pixmaps on the left side are named left-active.xpm and bottom-left-active.xpm. with the right side (of course) being made up of right-active.xpm and bottom-right-active.xpm.
  
 The Window bottom grab bar is made up of bottom-active.xpm and bottom-inactive.xpm pixmaps which will be repeated to fit as the window is resized. The Window bottom grab bar is made up of bottom-active.xpm and bottom-inactive.xpm pixmaps which will be repeated to fit as the window is resized.
Line 43: Line 43:
 Xfwm4 can use up to six action buttons - stick (sticky windows), menu, shade, hide, maximize and close. Xfwm4 can use up to six action buttons - stick (sticky windows), menu, shade, hide, maximize and close.
  
-Buttons have active ((focused)), inactive ((unfocused)) and pressed states. As per figures 3 below:+Buttons have active ((focused)), inactive ((unfocused)), prelight and pressed states. As per figures 3 below:
 AbiWord Image menu-active.gif    AbiWord Image menu-inactive.gif   AbiWord Image image_2.gif AbiWord Image menu-active.gif    AbiWord Image menu-inactive.gif   AbiWord Image image_2.gif
  
Line 104: Line 104:
 The "button_spacing" value gives the number of pixels between each button. The "button_spacing" value gives the number of pixels between each button.
  
 +The "maximized_offset" value places a space between the right edge (top-right-active) and the button (close, hide...) when maximized.
 +
 +==== App icon ====
 +With **show_app_icon** option you can replace the menu button with application icon. The application icon will be limited by width of menu button. Stay tuned!
 +
 +  * show_app_icon=true //#Shows the application icon//
 +  * show_app_icon=false //#Shows the menu button//
 +
 +If you doesn't have a menu button, can be used a blank square. Or you cannot use this option.
 ===== Gtk Color pickup ==== ===== Gtk Color pickup ====
 As you have no doubt noticed when using Xfwm4's default theme it is possible to make themes "pick-up" gtk theme colours. It's not just running the gimp and draw the buttons. Most themes use a color symbol table. That means the xpm file must be opened and edited by hand. As you have no doubt noticed when using Xfwm4's default theme it is possible to make themes "pick-up" gtk theme colours. It's not just running the gimp and draw the buttons. Most themes use a color symbol table. That means the xpm file must be opened and edited by hand.
Line 234: Line 243:
 This is a list of all possible part names in a decoration, so you can easily copy and paste them. (Tip: if using Firefox hold Ctrl while dragging, to select cells instead of lines. ;-)) This is a list of all possible part names in a decoration, so you can easily copy and paste them. (Tip: if using Firefox hold Ctrl while dragging, to select cells instead of lines. ;-))
  
-^ Active              ^ Inactive              ^ Pressed (buttons only) ^ +^ Active              ^ Inactive              ^ Prelight (buttons only) ^ Pressed (buttons only) ^ Toggled active (buttons only) ^ Toggled inactive (buttons only) ^ Toggled prelight (buttons only) ^ Toggled pressed (buttons only) ^ 
-| menu-active         | menu-inactive         | menu-pressed     | +| menu-active         | menu-inactive         | menu-prelight     | menu-pressed     |                                                                                                      
-| shade-active        | shade-inactive        | shade-pressed    | +| shade-active        | shade-inactive        | shade-prelight    | shade-pressed    | shade-toggled-active    | shade-toggled-inactive    | shade-toggled-prelight    | shade-toggled-pressed    | 
-| stick-active        | stick-inactive        | stick-pressed    | +| stick-active        | stick-inactive        | stick-prelight    | stick-pressed    | stick-toggled-active    | stick-toggled-inactive    | stick-toggled-prelight    | stick-toggled-pressed    | 
-| hide-active         | hide-inactive         | hide-pressed     | +| hide-active         | hide-inactive         | hide-prelight     | hide-pressed     |                                                                                                      
-| maximize-active     | maximize-inactive     | maximize-pressed | +| maximize-active     | maximize-inactive     | maximize-prelight | maximize-pressed | maximize-toggled-active | maximize-toggled-inactive | maximize-toggled-prelight | maximize-toggled-pressed | 
-| close-active        | close-inactive        | close-pressed    | +| close-active        | close-inactive        | close-prelight    | close-pressed    |                                                                                                      
-| top-left-active     | top-left-inactive                      | +| top-left-active     | top-left-inactive     |                   |                  |                                                                                                      
-| title-1-active      | title-1-inactive      |                  | +| title-1-active      | title-1-inactive      |                   |                  |                                                                                                      
-| title-2-active      | title-2-inactive      |                  | +| title-2-active      | title-2-inactive      |                   |                  |                                                                                                      
-| title-3-active      | title-3-inactive      |                  | +| title-3-active      | title-3-inactive      |                   |                  |                                                                                                      
-| title-4-active      | title-4-inactive      |                  | +| title-4-active      | title-4-inactive      |                   |                  |                                                                                                      
-| title-5-active      | title-5-inactive      |                  | +| title-5-active      | title-5-inactive      |                   |                  |                                                                                                      
-| top-right-active    | top-right-inactive    |                  | +| top-right-active    | top-right-inactive    |                   |                  |                                                                                                      
-| right-active        | right-inactive        |                  | +| right-active        | right-inactive        |                   |                  |                                                                                                      
-| bottom-right-active | bottom-right-inactive |                  | +| bottom-right-active | bottom-right-inactive |                   |                  |                                                                                                      
-| bottom-active       | bottom-inactive                        | +| bottom-active       | bottom-inactive       |                   |                  |                                                                                                      
-| bottom-left-active  | bottom-left-inactive  |                  | +| bottom-left-active  | bottom-left-inactive  |                   |                  |                                                                                                      
-| left-active         | left-inactive                          | +| left-active         | left-inactive         |                   |                  |                         |                                                                              |
 ===== Credits ===== ===== Credits =====
-This how-to has been started by Drewbian (drewbian at tsn dot cc) and later modifed by Olivier Fourdan (fourdan at xfce dot org).+This how-to has been started by Drewbian (drewbian at tsn dot cc) and later modifed by Olivier Fourdan (fourdan at xfce dot org) and Renato Santos (renatosan at gmail dot com).