summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2024-12-03 11:59:09 +0100
committerMatthias Melcher <github@matthiasm.com>2024-12-03 11:59:13 +0100
commita23445344370a5fb448a93bbc4a32c4e4fd65d81 (patch)
treec987ae98ad3486623b6b2810fff7058ee3ea9d82 /src
parent8f8533c9e8d801cbe3d80c73b5efb0dfc58973c2 (diff)
Clarify use of Fl_Tabs::clieant_area()
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Tabs.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx
index 89394ac05..1fc025210 100644
--- a/src/Fl_Tabs.cxx
+++ b/src/Fl_Tabs.cxx
@@ -1117,6 +1117,10 @@ Fl_Tabs::~Fl_Tabs() {
\note Children should always use the same positions and sizes.
+ \note This function requires access to the display drivers to determine the
+ selected font height. If `client_area` is invoked before the first window is
+ displayed, ensure that `fl_open_display()` is called beforehand.
+
\p tabh can be one of
\li 0: calculate label size, tabs on top
\li -1: calculate label size, tabs on bottom