diff gtk3/dw.c @ 2410:0286ac44d347

Add DW_FEATURE_TREE feature test, since iOS does not suppor tree. Update dwtest to show a placeholder when missing the tree widget. Remove DW_FEATURE_CONTAINER_STRIPE from GTK4. Apparently it is supported with the GtkListBox widget and custom CSS, but it performs badly and is unrecommended by the GTK development team. Finally add missing feature test example code to the template source.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 30 Mar 2021 08:28:35 +0000
parents 77686ad495ba
children ed955edc7204
line wrap: on
line diff
--- a/gtk3/dw.c	Mon Mar 29 23:15:43 2021 +0000
+++ b/gtk3/dw.c	Tue Mar 30 08:28:35 2021 +0000
@@ -12638,6 +12638,7 @@
         case DW_FEATURE_TASK_BAR:
         case DW_FEATURE_UTF8_UNICODE:
         case DW_FEATURE_MLE_WORD_WRAP:
+        case DW_FEATURE_TREE:
             return DW_FEATURE_ENABLED;
         default:
             return DW_FEATURE_UNSUPPORTED;
@@ -12680,6 +12681,7 @@
         case DW_FEATURE_TASK_BAR:
         case DW_FEATURE_UTF8_UNICODE:
         case DW_FEATURE_MLE_WORD_WRAP:
+        case DW_FEATURE_TREE:
             return DW_ERROR_GENERAL;
         /* These features are supported and configurable */
         default: