From bd7011a1d37d48ff9d371c76bcc1eddc0f3b946c Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 17 Dec 2021 20:06:25 +0100 Subject: Github #237: scrollbar.align documentation. --- FL/Fl_Browser_.H | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/FL/Fl_Browser_.H b/FL/Fl_Browser_.H index af86bc2c7..3227fa1d0 100644 --- a/FL/Fl_Browser_.H +++ b/FL/Fl_Browser_.H @@ -205,6 +205,18 @@ public: /** Vertical scrollbar. Public, so that it can be accessed directly. + + Use `scrollbar_left()` or `scrollbar_right()` to change what side + the vertical scrollbar is drawn on. + + Use `scrollbar.align(int)` (see `Fl_Widget::align(Fl_Align)`) + to change what side either of the scrollbars is drawn on. + + If the `FL_ALIGN_LEFT` bit is on, the vertical scrollbar is on + the left. If the `FL_ALIGN_TOP` bit is on, the horizontal + scrollbar is on the top. Note that only the alignment flags in + scrollbar are considered. The flags in hscrollbar however + are ignored. */ Fl_Scrollbar scrollbar; /** -- cgit v1.2.3