aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGordon Norman Squash <gordsqsh@protonmail.com>2024-09-29 18:43:44 -0400
committerGordon Norman Squash <gordsqsh@protonmail.com>2024-09-29 18:43:44 -0400
commit59e1d8332530d70c0ed9fabd01b896b83efc72b5 (patch)
treebc9dcec3c5b0ed4295eeff378856779889dca1a9 /README.md
parentLicense changed to LGPL-2 to match GTK license (diff)
downloadgtk3-classic-module-59e1d8332530d70c0ed9fabd01b896b83efc72b5.tar.gz
gtk3-classic-module-59e1d8332530d70c0ed9fabd01b896b83efc72b5.tar.bz2
gtk3-classic-module-59e1d8332530d70c0ed9fabd01b896b83efc72b5.zip
Draw tree view rows in alternating colours ('zebra stripes')
NOTE: Please see the README and the file `data/zebra-stripes.css` for information on how to actually activate the zebra stripes.
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 11 insertions, 6 deletions
diff --git a/README.md b/README.md
index 6c12d58..c5fabb4 100644
--- a/README.md
+++ b/README.md
@@ -77,6 +77,16 @@ amount of documentation about each option.
**Requires disabling the GTK setting `gtk-auto-mnemonics`.**
+* Displays tree views with alternating row colours ('zebra stripes') if the
+ tree view contains more than one column.
+
+ <img src='screenshots/zebra-stripes.png'/>
+
+ **Requires copying the contents of the file `data/zebra-stripes.css` into
+ your `~/.config/gtk-3.0/gtk.css` file; please see the file
+ `data/zebra-stripes.css` for more information, as there is a comment at the
+ top of that file with more things you may need to know.**
+
* Forces GTK to display normal dialog buttons at the bottom of stock dialogs
(e.g. About dialog, color chooser, file chooser), instead of displaying the
buttons in a headerbar at the top of the dialog -- even on Wayland.
@@ -141,11 +151,6 @@ here.
* Convert menu-like popovers into traditional menus.
-* Restore 'zebra stripes' (alternating row colours in treeviews).
-
## License
-GNU LGPL-2. This is the same license under which GTK 3 is released. (This
-module used to be LGPL-3 until I was warned that GTK 3 is licensed under LGPL-2
-[*only*](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/COPYING). I didn't
-know any project other than the Linux kernel was licensed that way.)
+GNU LGPL-2. This is the same license under which GTK 3 is released.
bgstack15