|
|
commit bd7011a1d37d48ff9d371c76bcc1eddc0f3b946c
Author: Matthias Melcher <github@matthiasm.com>
AuthorDate: Fri Dec 17 20:06:25 2021 +0100
Commit: GitHub <noreply@github.com>
CommitDate: Fri Dec 17 20:06:25 2021 +0100
Github #237: scrollbar.align documentation.
FL/Fl_Browser_.H | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git FL/Fl_Browser_.H FL/Fl_Browser_.H
index af86bc2..3227fa1 100644
--- FL/Fl_Browser_.H
+++ 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;
/**
[ Direct Link to Message ] | |
|
| |