![]() |
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.1.0.0; WebServer 1.663 at exept.de:8081; Mon, 04 Aug 2025 11:50:04 GMT
|