Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2019-08-12 07:13:10 +0000
committerLakshmi Shanmugam2019-08-12 07:13:10 +0000
commit6659a2b2ce1804d8eee97139cc1771290ebaf1c9 (patch)
tree9fb0d435362d9cd817235c5255258db1f993f8c4
parent479e282dd65393cee5052c5021ebbedec0779311 (diff)
downloadnews-6659a2b2ce1804d8eee97139cc1771290ebaf1c9.tar.gz
news-6659a2b2ce1804d8eee97139cc1771290ebaf1c9.tar.xz
news-6659a2b2ce1804d8eee97139cc1771290ebaf1c9.zip
Bug 549451: [MAC][API]Query the current system setting for dark mode
-rw-r--r--4.13/platform_isv.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/4.13/platform_isv.html b/4.13/platform_isv.html
index 2eedef91..01aed1b9 100644
--- a/4.13/platform_isv.html
+++ b/4.13/platform_isv.html
@@ -156,6 +156,14 @@ ul {padding-left: 13px;}
<p><img src="images/styled-text-disabled-mac.png" alt=""/></p>
</td>
</tr>
+
+ <tr id="swt-is-dark-theme"> <!-- https://bugs.eclipse.org/bugs/show_bug.cgi?id=549451 -->
+ <td class="title">Query if current OS theme is dark</td>
+ <td class="content">
+ A new method <code>public static boolean Display.isSystemDarkTheme()</code> is now available to query if the current OS theme has a dark appearance.
+ The method returns <code>true</code> if the current OS theme is dark, else it returns <code>false</code>.
+ </td>
+ </tr>
<!-- *********************** End of SWT *********************** -->

Back to the top