This document describes the class libraries that are distributed together with the gnu Smalltalk programming language.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.
Alphabetic list:
Classes documented in this manual are boldfaced.
Object
BLOX.BEventTarget
BLOX.BCanvasObject
BLOX.BBoundingBox
BLOX.BEmbeddedImage
BLOX.BEmbeddedText
BLOX.BLine
BLOX.BRectangle
BLOX.BOval
BLOX.BArc
BLOX.BPolyline
BLOX.BSpline
BLOX.BEventSet
BLOX.BBalloon
BLOX.Blox
BLOX.BMenuObject
BLOX.BMenu
BLOX.BPopupMenu
BLOX.BMenuBar
BLOX.BMenuItem
BLOX.BCheckMenuItem
BLOX.BWidget
BLOX.BExtended
BLOX.BButtonLike
BLOX.BColorButton
BLOX.BDropDown
BLOX.BDropDownEdit
BLOX.BDropDownList
BLOX.BProgress
BLOX.BPrimitive
BLOX.BButton
BLOX.BRadioButton
BLOX.BToggle
BLOX.BEdit
BLOX.BForm
BLOX.BContainer
BLOX.BRadioGroup
BLOX.BDialog
BLOX.BWindow
BLOX.BPopupWindow
BLOX.BTransientWindow
BLOX.BImage
BLOX.BLabel
BLOX.BViewport
BLOX.BCanvas
BLOX.BScrolledCanvas
BLOX.BList
BLOX.BText
BLOX.BTextBindings
BLOX.BTextAttributes
BLOX.BTextTags
BLOX.Gui
Specifies the normal background color to use when displaying the widget.
Specifies the normal background color to use when displaying the widget.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the normal foreground color to use when displaying the widget.
Specifies the normal foreground color to use when displaying the widget.
Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as anchor. For windows, this is the title of the window.
Specifies a string to be displayed inside the widget. The way in which the string is displayed depends on the particular widget and may be determined by other options, such as anchor. For windows, this is the title of the window.
BCanvasObject: I am BCanvas: No I am BCanvasObject: No I am BCanvas: No I am
well, you know, he always has something to object.
Specifies the normal background color to use when displaying the widget.
Specifies the normal background color to use when displaying the widget.
Specifies the normal foreground color to use when displaying the widget.
Specifies the normal foreground color to use when displaying the widget.
Widgets that are set to be “stretched” will share all the space that is not allocated to non-stretched widgets.
The layout of the widget can only be set before the first child is inserted in the widget.
If the dialog box is canceled, nil is answered, else the selected color is returned as a String with its RGB value.
If the dialog box is canceled, nil is answered, else the selected file name is returned as a String.
The dialog box is created with the given parent window and with aLabel as its title bar text. The name parameter indicates which file is initially selected, and the default extension specifies a string that will be appended to the filename if the user enters a filename without an extension.
The typeList parameter is an array of arrays, like #(('Text files' '.txt' '.diz') ('Smalltalk files' '.st')), and is used to construct a listbox of file types. When the user chooses a file type in the listbox, only the files of that type are listed. Each item in the array contains a list of strings: the first one is the name of the file type described by a particular file pattern, and is the text string that appears in the File types listbox, while the other ones are the possible extensions that belong to this particular file type.
If the dialog box is canceled, nil is answered, else the selected file name is returned as a String.
The dialog box is created with the given parent window and with aLabel as its title bar text. The name parameter indicates which file is initially selected, and the default extension specifies a string that will be appended to the filename if the user enters a filename without an extension.
The typeList parameter is an array of arrays, like #(('Text files' '.txt' '.diz') ('Smalltalk files' '.st')), and is used to construct a listbox of file types. When the user chooses a file type in the listbox, only the files of that type are listed. Each item in the array contains a list of strings: the first one is the name of the file type described by a particular file pattern, and is the text string that appears in the File types listbox, while the other ones are the possible extensions that belong to this particular file type.
Specifies the normal background color to use when displaying the widget.
Specifies the normal background color to use when displaying the widget.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the normal foreground color to use when displaying the widget.
Specifies the normal foreground color to use when displaying the widget.
Specifies the background color to use when displaying selected items in the list widget.
Specifies the background color to use when displaying selected items in the list widget.
Specifies the foreground color to use when displaying selected items in the list widget.
Specifies the foreground color to use when displaying selected items in the list widget.
If anObject is nil, then string is used as the element as well. If aString is nil, then the element's displayString is used as the label.
Answer anObject or, if it is nil, aString.
If anObject is nil, then string is used as the element as well. If aString is nil, then the element's displayString is used as the label.
Answer anObject or, if it is nil, aString.
Specifies the normal background color to use when displaying the widget.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the normal foreground color to use when displaying the widget.
Specifies the background color to use when displaying selected items in the list widget and the selection in the text widget.
Specifies the background color to use when displaying selected items in the list widget and the selection in the text widget.
Specifies the normal background color to use when displaying the widget.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the normal foreground color to use when displaying the widget.
Specifies the background color to use when displaying selected items in the list widget and, when the focus is inside the control, for the text widget as well.
Specifies the foreground color to use when displaying selected items in the list widget and, when the focus is inside the control, for the text widget as well.
Specifies the normal background color to use when displaying the widget.
Specifies the normal background color to use when displaying the widget.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the normal foreground color to use when displaying the widget.
Specifies the normal foreground color to use when displaying the widget.
Specifies the background color to use when displaying selected parts of the widget.
Specifies the background color to use when displaying selected parts of the widget.
Specifies the foreground color to use when displaying selected parts of the widget.
Specifies the foreground color to use when displaying selected parts of the widget.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the font to use when drawing text inside the widget. The font can be given as either an X font name or a Blox font description string.
X font names are given as many fields, each led by a minus, and each of which can be replaced by an * to indicate a default value is ok: foundry, family, weight, slant, setwidth, addstyle, pixel size, point size (the same as pixel size for historical reasons), horizontal resolution, vertical resolution, spacing, width, charset and character encoding.
Blox font description strings have three fields, which must be separated by a space and of which only the first is mandatory: the font family, the font size in points (or in pixels if a negative value is supplied), and a number of styles separated by a space (valid styles are normal, bold, italic, underline and overstrike). Examples of valid fonts are “Helvetica 10 Bold”, “Times -14”, “Futura Bold Underline”. You must enclose the font family in braces if it is made of two or more words.
Specifies the normal background color to use when displaying the widget.
Specifies the normal background color to use when displaying the widget.
Specifies the desired height for the form in pixels. If this option is less than or equal to zero then the window will not request any size at all.
Specifies the desired height for the form in pixels. If this option is less than or equal to zero then the window will not request any size at all.
Specifies the desired width for the form in pixels. If this option is less than or equal to zero then the window will not request any size at all.
Specifies the desired width for the form in pixels. If this option is less than or equal to zero then the window will not request any size at all.
Specifies the normal background color to use when displaying the widget.
Specifies the normal background color to use when displaying the widget.
Specifies the height of the image in pixels. This is not the height of the widget, but specifies the area of the widget that will be taken by the image.
Specifies the height of the image in pixels. This is not the height of the widget, but specifies the area of the widget that will be taken by the image.
Specifies the width of the image in pixels. This is no