diff options
| author | Matthias Melcher <github@matthiasm.com> | 2021-12-17 20:06:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-17 20:06:25 +0100 |
| commit | bd7011a1d37d48ff9d371c76bcc1eddc0f3b946c (patch) | |
| tree | 057f9c520101301f582061ff29be11f0e54927fa /FL/Fl_Browser_.H | |
| parent | 6d9df0763fcb5a60e229ce270352d57da2d88abb (diff) | |
Github #237: scrollbar.align documentation.
Diffstat (limited to 'FL/Fl_Browser_.H')
| -rw-r--r-- | FL/Fl_Browser_.H | 12 |
1 files changed, 12 insertions, 0 deletions
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; /** |
