![]() |
Smalltalk/X WebserverDocumentation of class 'AbstractBackground': |
|
Class: AbstractBackgroundInheritance:Object | +--AbstractBackground | +--DiffTextView::DiffTextScrollerBackground | +--GradientBackground | +--ImageBackground | +--NoBackground | +--SolidBackground | +--Tools::CodeView2::AnnotationShowingScrollerBackground
Description:This will replace the viewBackground color. Instances of me (and subclasses) can be set as a widget's viewBackground, and will get fillRectangleX:x y:y width:w height:h in:aView messages whenever the widget wants to redraw (parts of) its background. See the example in GradientBackground. Related information:GradientBackground Class protocol:queries
Instance protocol:drawing
Examples:|v| v := View new. v viewBackground:(SolidBackground new color:Color red). v open. |
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sun, 04 Jun 2023 16:20:22 GMT
|