Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
xfce:xfce4-panel:tasklist [2012/01/04 10:25] – [Style Properties] nick | xfce:xfce4-panel:tasklist [2025/02/06 17:03] (current) – Add separator gael | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Window Buttons ====== | + | ~~NOTOC~~ |
+ | {{ : | ||
+ | ====== | ||
The //Window Buttons// panel plugin allows allows you to switch between application windows using buttons. | The //Window Buttons// panel plugin allows allows you to switch between application windows using buttons. | ||
Line 5: | Line 7: | ||
===== Properties ===== | ===== Properties ===== | ||
- | ^ Window button' | + | <figure "Window button' |
- | | {{: | + | {{: |
+ | </ | ||
+ | |||
+ | ---- | ||
===== Style Properties ===== | ===== Style Properties ===== | ||
- | You can set a custom icon size in gtk-icon-sizes with the name '' | + | <note classic> |
- | <file txt .gtkrc-2.0> | + | <file txt ~/.config/gtk-3.0/gtk.css> |
- | style " | + | /* The maximum length of a button before the label ellipsizes. |
- | { | + | |
- | # The maximum length of a button before the label ellipsizes. | + | |
- | # | + | .tasklist { |
- | # | + | |
- | XfceTasklist::max-button-length | + | } |
- | # Ellipsizing used in the task list and overflow menu labels. | + | /* The minimum length of a button, even if the label is smaller. */ |
- | XfceTasklist::ellipsize-mode = PANGO_ELLIPSIZE_END | + | .tasklist { |
+ | | ||
+ | } | ||
- | # Lucency | + | /* The maximum size controls the number |
- | # hide the icon) and 100 (don't lighten the icon). | + | |
- | XfceTasklist::minimized-icon-lucency = 50 | + | So the button size can actually be up to 2 * max-button-size. |
+ | When this value is set to -1 there is no maximum size. */ | ||
+ | .tasklist { | ||
+ | | ||
+ | } | ||
- | # Maximum number of characters in the menu label before it will | + | /* Ellipsizing used in the task list and overflow menu labels. */ |
- | # | + | .tasklist { |
- | XfceTasklist::menu-max-width-chars | + | -XfceTasklist-ellipsize-mode: |
+ | } | ||
+ | |||
+ | /* Lucency of minimized icons. Valid values are between 0 (completely | ||
+ | hide the icon) and 100 (don't lighten the icon). */ | ||
+ | .tasklist { | ||
+ | -XfceTasklist-minimized-icon-lucency: | ||
+ | } | ||
+ | |||
+ | /* Maximum number of characters in the menu label before it will | ||
+ | | ||
+ | | ||
+ | .tasklist { | ||
+ | | ||
} | } | ||
- | class " | ||
</ | </ | ||
- | See the section | + | ---- |
+ | |||
+ | ===== Theming Examples ===== | ||
+ | |||
+ | <file txt ~/ | ||
+ | /* window button font color */ | ||
+ | /* NORMAL */ | ||
+ | .tasklist button { | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | /* PRELIGHT */ | ||
+ | .tasklist button: | ||
+ | color: #ffffff; | ||
+ | } | ||
+ | /* ACTIVE - only while being clicked */ | ||
+ | .tasklist button: | ||
+ | color: #000000; | ||
+ | } | ||
+ | /* SELECTED */ | ||
+ | .tasklist button: | ||
+ | color: #000000; | ||
+ | } | ||
+ | |||
+ | /* icon text not truncated */ | ||
+ | XfdesktopIconView.view { | ||
+ | | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | |||
+ | See the [[theming|theming section]] for more information. | ||
+ | |||
+ | [[|Back To Top]] | ||
+ | ---- | ||
+ | [[: |