changeset 2441:a80df2e7195d

GTK4: Add a comment with the information about striped controls. This may not be usable, but I want to save it here for potential future use.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 08 Apr 2021 17:34:25 +0000
parents 070337dd4ef7
children 725a6fbb44cd
files gtk4/dw.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gtk4/dw.c	Wed Apr 07 19:07:46 2021 +0000
+++ b/gtk4/dw.c	Thu Apr 08 17:34:25 2021 +0000
@@ -5718,6 +5718,11 @@
  */
 void API dw_container_set_stripe(HWND handle, unsigned long oddcolor, unsigned long evencolor)
 {
+    /* TODO: If we want to accomplish this, according to mclasen we can do it
+     * with CSS on a GtkListBox widget using the following CSS:
+     * "row: nth-child(even) { background: red; }"
+     * However he does not recommend we do it for performance reasons.
+     */
 }
 
 /*