Back: BLOX.BCheckMenuItem-accessing Up: BLOX package Forward: BLOX.BColorButton-accessing   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

1.9 BLOX.BColorButton

Defined in namespace BLOX
Superclass: BLOX.BButtonLike
Category: Graphics-Examples
I am a button that shows a color and that, unless a different callback is used, lets you choose a color when it is clicked.

1.9.1 BLOX.BColorButton: accessing  (instance)


1.9.1 BLOX.BColorButton: accessing

color
Set the color that the receiver is painted in.

color: aString
Set the color that the receiver is painted in.

pressed
This is the default callback; it brings up a `choose-a-color' window and, if `Ok' is pressed in the window, sets the receiver to be painted in the chosen color.



Back: BLOX.BColorButton Up: BLOX.BColorButton Forward: BLOX.BContainer   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on July, 23 2009 using texi2html