diff --git a/docs/platform.html b/docs/platform.html
index f8200f44..b010d21b 100644
--- a/docs/platform.html
+++ b/docs/platform.html
@@ -49,12 +49,12 @@ Vadim Lopatin, coolreader.org@gmail.com
Window abstraction layer. Widgets can be shown only inside window.
-- abstract @property string windowCaption();
+
- abstract @property dstring windowCaption();
- returns window caption
-- abstract @property void windowCaption(string caption);
+
- abstract @property void windowCaption(dstring caption);
- sets window caption
@@ -157,14 +157,31 @@ Vadim Lopatin, coolreader.org@gmail.com
Represents application.
-- abstract Window createWindow(string windowCaption, Window parent, uint flags = WindowFlag.Resizable);
+
- abstract Window createWindow(dstring windowCaption, Window parent, uint flags = WindowFlag.Resizable);
-- create window
+- create window
+
+Args:
+windowCaption = window caption text
+ parent = parent Window, or null if no parent
+ flags = WindowFlag bit set, combination of Resizable, Modal, Fullscreen
+
+
+ Window w/o Resizable nor Fullscreen will be created with size based on measurement of its content widget
- abstract void closeWindow(Window w);
-- close window
+- close window
+
+Closes window earlier created with createWindow()
+
+
+ - abstract int enterMessageLoop();
+
+- Starts application message loop.
+
+When returned from this method, application is shutting down.
- abstract dstring getClipboardText(bool mouseBuffer = false);
@@ -189,12 +206,12 @@ Represents application.
- @property Platform uiLanguage(string langCode);
-- set UI language (e.g. "en", "fr", "ru")
+- set UI language (e.g. "en", "fr", "ru") - will relayout content of all windows if language has been changed
- @property Platform uiTheme(string themeResourceId);
-- sets application UI theme
+- sets application UI theme - will relayout content of all windows if theme has been changed
- @property string[] resourceDirs();
diff --git a/docs/tabs.html b/docs/tabs.html
index 80150402..06d11d65 100644
--- a/docs/tabs.html
+++ b/docs/tabs.html
@@ -79,7 +79,12 @@ Vadim Lopatin, coolreader.org@gmail.com
- tab header - tab labels, with optional More button
-- const @property int tabCount();
+
- Signal!TabHandler onTabChangedListener;
+
+- signal of tab change (e.g. by clicking on tab header)
+
+
+- const @property int tabCount();
- returns tab count
@@ -149,6 +154,11 @@ Vadim Lopatin, coolreader.org@gmail.com
- set new control widget
+
+- Signal!TabHandler onTabChangedListener;
+
+- signal of tab change (e.g. by clicking on tab header)
+
- TabHost removeTab(string id);
@@ -176,7 +186,12 @@ Vadim Lopatin, coolreader.org@gmail.com
- compound widget - contains from TabControl widget (tabs header) and TabHost (content pages)
-- TabWidget addTab(Widget widget, string labelResourceId, string iconId = null, bool enableCloseButton = false);
+
- Signal!TabHandler onTabChangedListener;
+
+- signal of tab change (e.g. by clicking on tab header)
+
+
+- TabWidget addTab(Widget widget, string labelResourceId, string iconId = null, bool enableCloseButton = false);
- add new tab by id and label string resource id
@@ -195,6 +210,21 @@ Vadim Lopatin, coolreader.org@gmail.com
- select tab
+
+- TabItem tab(int index);
+
+- returns tab item by id (null if index out of range)
+
+
+- TabItem tab(string id);
+
+- returns tab item by id (null if not found)
+
+
+- int tabIndex(string id);
+
+- get tab index by tab id (-1 if not found)
+