From 09daf20b81cdae78772f07c0af22a571d7cc73eb Mon Sep 17 00:00:00 2001
From: Michael R Sweet If all of the child widgets are packed together into a solid
-rectangle then you want to set box() to FL_NO_BOX or
-one of the _FRAME types. This will result in the best output.
+ If all of the child widgets are packed together into a solid
+rectangle then you want to set box() to FL_NO_BOX or
+one of the _FRAME types. This will result in the best output.
However, if the child widgets are a sparse arrangment you must set
-box() to a real _BOX type. This can result in some
+box() to a real _BOX type. This can result in some
blinking during redrawing, but that can be solved by using a
Fl_Double_Window. This widget can also be used to pan around a single child widget
+ This widget can also be used to pan around a single child widget
"canvas". This child widget should be of your own class, with a
-draw() method that draws the contents. The scrolling is done by
-changing the x() and y() of the widget, so this child
-must use the x() and y() to position it's drawing.
+draw() method that draws the contents. The scrolling is done by
+changing the x() and y() of the widget, so this child
+must use the x() and y() to position it's drawing.
To speed up drawing it should test fl_clip()
. Another very useful child is a single
-Fl_Pack, which is itself a group that packs it's children
+Fl_Pack, which is itself a group that packs it's children
together and changes size to surround them. Filling the Fl_Pack
- with Fl_Tabs groups (and then putting
-normal widgets inside those) gives you a very powerful scrolling list
+ with Fl_Tabs groups (and then putting
+normal widgets inside those) gives you a very powerful scrolling list
of individually-openable panels. Fluid lets you create these, but you can only lay out objects that
-fit inside the Fl_Scroll without scrolling. Be sure to leave
+ Fluid lets you create these, but you can only lay out objects that
+fit inside the Fl_Scroll without scrolling. Be sure to leave
space for the scrollbars, as Fluid won't show these either. You cannot use Fl_Window as a child of this since the
-clipping is not conveyed to it when drawn, and it will draw over the
+ You cannot use Fl_Window as a child of this since the
+clipping is not conveyed to it when drawn, and it will draw over the
scrollbars and neighboring objects.Description
- This container widget lets you maneuver around a set of widgets much
-larger than your window. If the child widgets are larger than the size
-of this object then scrollbars will appear so that you can scroll over
-to them:
+ This container widget lets you maneuver around a set of widgets much
+larger than your window. If the child widgets are larger than the size
+of this object then scrollbars will appear so that you can scroll over
+to them:

Methods
@@ -58,42 +58,42 @@ scrollbars and neighboring objects.