GNU Smalltalk Library Reference ******************************* 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". 1 Graphical users interfaces with BLOX ************************************** 1.1 BLOX.BArc ============= Defined in namespace BLOX Superclass: BLOX.BOval Category: Graphics-Windows I can draw arcs, pie slices (don't eat them!!), chords, and... nothing more. 1.1.1 BLOX.BArc: accessing -------------------------- endAngle Answer the ending of the angular range that is occupied by the arc, expressed in degrees endAngle: angle Set the ending of the angular range that is occupied by the arc, expressed in degrees fillChord Specify that the arc will be filled by painting an area delimited by the arc and the chord that joins the arc's endpoints. fillSlice Specify that the arc will be filled by painting an area delimited by the arc and the two radii joins the center of the arc with each of the endpoints (that is, that a pie slice will be drawn). from Answer the starting point of the arc in cartesian coordinates from: aPoint Set the starting point of the arc in cartesian coordinates from: start to: end Set the two starting points of the arc in cartesian coordinates startAngle Answer the beginning of the angular range that is occupied by the arc, expressed in degrees startAngle: angle Set the beginning of the angular range that is occupied by the arc, expressed in degrees sweepAngle Answer the size of the angular range that is occupied by the arc, expressed in degrees sweepAngle: angle Set the size of the angular range that is occupied by the arc, expressed in degrees to Answer the ending point of the arc in cartesian coordinates to: aPoint Set the ending point of the arc in cartesian coordinates 1.2 BLOX.BBalloon ================= Defined in namespace BLOX Superclass: BLOX.BEventSet Category: Graphics-Examples This event set allows a widget to show explanatory information when the mouse lingers over it for a while. 1.2.1 BLOX.BBalloon class: accessing ------------------------------------ balloonDelayTime Answer the time after which the balloon is shown (default is half a second). balloonDelayTime: milliseconds Set the time after which the balloon is shown. shown Answer whether a balloon is displayed 1.2.2 BLOX.BBalloon: accessing ------------------------------ shown Answer whether the receiver's balloon is displayed text Answer the text displayed in the balloon text: aString Set the text displayed in the balloon to aString 1.2.3 BLOX.BBalloon: initializing --------------------------------- initialize: aBWidget Initialize the event sets for the receiver 1.3 BLOX.BBoundingBox ===================== Defined in namespace BLOX Superclass: BLOX.BCanvasObject Category: Graphics-Windows I am the ultimate ancestor of all items that you can put in a BCanvas and which are well defined by their bounding box - i.e. everything except BPolylines and BSplines. 1.3.1 BLOX.BBoundingBox: accessing ---------------------------------- boundingBox Answer a Rectangle enclosing all of the receiver center Answer the center point of the receiver center: center extent: extent Move the object so that it is centered around the center Point and its size is given by the extent Point. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. corner Answer the Point specifying the lower-right corner of the receiver corner: pointOrArray Set the Point specifying the lower-right corner of the receiver; pointOrArray can be a Point or a two-item Array. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. extent Answer a Point specifying the size of the receiver extent: pointOrArray Set the Point specifying the size of the receiver; pointOrArray can be a Point or a two-item Array. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. moveBy: pointOrArray Move the object by the amount indicated by pointOrArray: that is, its whole bounding box is shifted by that amount. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. origin Answer the Point specifying the top-left corner of the receiver origin: pointOrArray Set the Point specifying the top-left corner of the receiver; pointOrArray can be a Point or a two-item Array. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. origin: originPointOrArray corner: cornerPointOrArray Set the bounding box of the object, based on a Point specifying the top-left corner of the receiver and another specifying the bottom-right corner; the two parameters can both be Points or two-item Arrays. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. origin: originPointOrArray extent: extentPointOrArray Set the bounding box of the object, based on a Point specifying the top-left corner of the receiver and another specifying its size; the two parameters can both be Points or two-item Arrays. No changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. 1.4 BLOX.BButton ================ Defined in namespace BLOX Superclass: BLOX.BPrimitive Category: Graphics-Windows I am a button that a user can click. In fact I am at the head of a small hierarchy of objects which exhibit button-like look and behavior 1.4.1 BLOX.BButton class: instance creation ------------------------------------------- new: parent label: label Answer a new BButton widget laid inside the given parent widget, showing by default the 'label' String. 1.4.2 BLOX.BButton: accessing ----------------------------- backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. callback Answer a DirectedMessage that is sent when the receiver is clicked, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the receiver is clicked. If the method accepts an argument, the receiver is passed. font Answer the value of the font option for 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. font: value Set the value of the font option for 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. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. invokeCallback Generate a synthetic callback label Answer the value of the label option for 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. label: value Set the value of the label option for 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. 1.5 BLOX.BButtonLike ==================== Defined in namespace BLOX Superclass: BLOX.BExtended Category: Graphics-Examples I am an object whose 3-D appearance resembles that of buttons. 1.5.1 BLOX.BButtonLike: accessing --------------------------------- callback Answer a DirectedMessage that is sent when the receiver is clicked, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the receiver is clicked. If the method accepts an argument, the receiver is passed. invokeCallback Generate a synthetic callback pressed This is the default callback for the widget; it does nothing if you don't override it. Of course if a subclass overriddes this you (user of the class) might desire to call this method from your own callback. 1.6 BLOX.BCanvas ================ Defined in namespace BLOX Superclass: BLOX.BViewport Category: Graphics-Windows I am an host for whatever geometric shape you want. If you want to do some fancy graphics with Smalltalk, I'll be happy to help. My friends derived from BCanvasObject ask me all sort of things to do, so I am the real worker, not they! BCanvasObject: I am BCanvas: No I am BCanvasObject: No I am BCanvas: No I am well, you know, he always has something to object. 1.6.1 BLOX.BCanvas: accessing ----------------------------- backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. 1.6.2 BLOX.BCanvas: geometry management --------------------------------------- addChild: child The widget identified by child has been added to the receiver. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to either the superclass implementation or #basicAddChild:, to perform some initialization on the children just added. Answer the new child. child: child height: value Set the given child's height. child: child heightOffset: value Offset the given child's height by value pixels. child: child width: value Set the given child's width. child: child widthOffset: value Offset the given child's width by value pixels. child: child x: value Set the given child's top-left corner's x coordinate, in pixels in the canvas' coordinate system. child: child xOffset: value Offset the given child's top-left x by value pixels. child: child y: value Set the given child's top-left corner's y coordinate, in pixels in the canvas' coordinate system. child: child yOffset: value Offset the given child's top-left y by value pixels. heightChild: child Answer the given child's height in pixels. widthChild: child Answer the given child's width in pixels. xChild: child Answer the given child's top-left corner's x coordinate, in pixels in the canvas' coordinate system. yChild: child Answer the given child's top-left corner's y coordinate, in pixels in the canvas' coordinate system. 1.6.3 BLOX.BCanvas: widget protocol ----------------------------------- at: aPoint Selects the topmost item in the canvas overlapping the point given by aPoint. between: origin and: corner do: aBlock Evaluate aBlock for each item whose bounding box intersects the rectangle between the two Points, origin and corner. Pass the item to the block. boundingBox Answer the bounding box of all the items in the canvas destroyed The widget has been destroyed. Tell all of its items about this fact. do: aBlock Evaluate aBlock, passing each item to it. empty Remove all the items from the canvas, leaving it empty extraSpace Answer the amount of space that is left as a border around the canvas items. extraSpace: aPoint Set the amount of space that is left as a border around the canvas items. items Answer an Array containing all the items in the canvas mapPoint: aPoint Given aPoint, a point expressed in window coordinates, answer the corresponding canvas coordinates that are displayed at that location. 1.7 BLOX.BCanvasObject ====================== Defined in namespace BLOX Superclass: BLOX.BEventTarget Category: Graphics-Windows I am the ultimate ancestor of all items that you can put in a BCanvas. I provide some general methods to my concrete offspring. 1.7.1 BLOX.BCanvasObject class: instance creation ------------------------------------------------- new This method should not be called for instances of this class. new: parentCanvas Answer a new instance of the receiver, displayed into the given parentCanvas. 1.7.2 BLOX.BCanvasObject: accessing ----------------------------------- blox Answer the parent canvas of the receiver boundingBox Answer a Rectangle enclosing all of the receiver color Answer the color to be used to fill this item's area. color: color Set the color to be used to fill this item's area. copyInto: newCanvas Answer a new BCanvasObject identical to this but displayed into another canvas, newCanvas. The new instance is not created at the time it is returned. copyObject Answer a new BCanvasObject identical to this. Unlike #copy, which merely creates a new Smalltalk object with the same data and referring to the same canvas item, the object created with #copyObject is physically distinct from the original. The new instance is not created at the time it is returned. createCopy Answer a new BCanvasObject identical to this. Unlike #copy, which merely creates a new Smalltalk object with the same data and referring to the same canvas item, the object created with #copyObject is physically distinct from the original. The new instance has already been created at the time it is returned. createCopyInto: newCanvas Answer a new BCanvasObject identical to this but displayed into another canvas, newCanvas. The new instance has already been created at the time it is returned. deepCopy It does not make sense to make a copy, because it would make data inconsistent across different objects; so answer the receiver grayOut Apply a 50% gray stippling pattern to the object shallowCopy It does not make sense to make a copy, because it would make data inconsistent across different objects; so answer the receiver 1.7.3 BLOX.BCanvasObject: widget protocol ----------------------------------------- create If the object has not been created yet and has been initialized correctly, insert it for real in the parent canvas created Answer whether the object is just a placeholder or has already been inserted for real in the parent canvas lower Move the item to the lowest position in the display list. Child widgets always obscure other item types, and the stacking order of window items is determined by sending methods to the widget object directly. raise Move the item to the highest position in the display list. Child widgets always obscure other item types, and the stacking order of window items is determined by sending methods to the widget object directly. redraw Force the object to be displayed in the parent canvas, creating it if it has not been inserted for real in the parent, and refresh its position if it has changed. remove Remove the object from the canvas show Ensure that the object is visible in the center of the canvas, scrolling it if necessary. 1.8 BLOX.BCheckMenuItem ======================= Defined in namespace BLOX Superclass: BLOX.BMenuItem Category: Graphics-Windows I am a menu item which can be toggled between two states, marked and unmarked. 1.8.1 BLOX.BCheckMenuItem class: instance creation -------------------------------------------------- new: parent This method should not be called for instances of this class. 1.8.2 BLOX.BCheckMenuItem: accessing ------------------------------------ invokeCallback Generate a synthetic callback value Answer whether the menu item is in a selected (checked) state. value: aBoolean Set whether the button is in a selected (checked) state and generates a callback accordingly. 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 ---------------------------------- 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. 1.10 BLOX.BContainer ==================== Defined in namespace BLOX Superclass: BLOX.BForm Category: Graphics-Windows I am used to group many widgets together. I can perform simple management by putting widgets next to each other, from left to right or from top to bottom. 1.10.1 BLOX.BContainer: accessing --------------------------------- setVerticalLayout: aBoolean Answer whether the container will align the widgets vertically or horizontally. Horizontal alignment means that widgets are packed from left to right, while vertical alignment means that widgets are packed from the top to the bottom of 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. 1.11 BLOX.BDialog ================= Defined in namespace BLOX Superclass: BLOX.BForm Category: Graphics-Windows I am a facility for implementing dialogs with many possible choices and requests. In addition I provide support for a few platform native common dialog boxes, such as choose-a-file and choose-a-color. 1.11.1 BLOX.BDialog class: instance creation -------------------------------------------- new: parent Answer a new dialog handler (containing a label widget and some button widgets) laid out within the given parent window. The label widget, when it is created, is empty. new: parent label: aLabel Answer a new dialog handler (containing a label widget and some button widgets) laid out within the given parent window. The label widget, when it is created, contains aLabel. new: parent label: aLabel prompt: aString Answer a new dialog handler (containing a label widget, some button widgets, and an edit window showing aString by default) laid out within the given parent window. The label widget, when it is created, contains aLabel. 1.11.2 BLOX.BDialog class: prompters ------------------------------------ chooseColor: parent label: aLabel default: color Prompt for a color. The dialog box is created with the given parent window and with aLabel as its title bar text, and initially it selects the color given in the color parameter. If the dialog box is canceled, nil is answered, else the selected color is returned as a String with its RGB value. chooseFileToOpen: parent label: aLabel default: name defaultExtension: ext types: typeList Pop up a dialog box for the user to select a file to open. Its purpose is for the user to select an existing file only. If the user enters an non-existent file, the dialog box gives the user an error prompt and requires the user to give an alternative selection or to cancel the selection. If an application allows the user to create new files, it should do so by providing a separate New menu command. 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. chooseFileToSave: parent label: aLabel default: name defaultExtension: ext types: typeList Pop up a dialog box for the user to select a file to save; this differs from the file open dialog box in that non-existent file names are accepted and existing file names trigger a confirmation dialog box, asking the user whether the file should be overwritten or not. 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. 1.11.3 BLOX.BDialog: accessing ------------------------------ addButton: aLabel receiver: anObject index: anInt Add a button to the dialog box that, when clicked, will cause the #dispatch: method to be triggered in anObject, passing anInt as the argument of the callback. The caption of the button is set to aLabel. addButton: aLabel receiver: anObject message: aSymbol Add a button to the dialog box that, when clicked, will cause the aSymbol unary selector to be sent to anObject. The caption of the button is set to aLabel. addButton: aLabel receiver: anObject message: aSymbol argument: arg Add a button to the dialog box that, when clicked, will cause the aSymbol one-argument selector to be sent to anObject, passing arg as the argument of the callback. The caption of the button is set to aLabel. contents Answer the text that is displayed in the entry widget associated to the dialog box. contents: newText Display newText in the entry widget associated to the dialog box. 1.11.4 BLOX.BDialog: widget protocol ------------------------------------ center Center the dialog box's parent window in the screen centerIn: view Center the dialog box's parent window in the given widget destroyed Private - The receiver has been destroyed, clear the corresponding Tcl variable to avoid memory leaks. invokeCallback: index Generate a synthetic callback corresponding to the index-th button being pressed, and destroy the parent window (triggering its callback if one was established). loop Map the parent window modally. In other words, an event loop is started that ends only after the window has been destroyed. For more information on the treatment of events for modal windows, refer to BWindow>>#modalMap. 1.12 BLOX.BDropDown =================== Defined in namespace BLOX Superclass: BLOX.BExtended Category: Graphics-Examples This class is an abstract superclass for widgets offering the ability to pick items from a pre-built list. The list is usually hidden, but a button on the right of this widgets makes it pop up. This widget is thus composed of three parts: an unspecified text widget (shown on the left of the button and always visible), the button widget (shown on the right, it depicts a down arrow, and is always visible), and the pop-up list widget. 1.12.1 BLOX.BDropDown: accessing -------------------------------- backgroundColor Answer the value of the backgroundColor for the widget, which in this class is only set for the list widget (that is, the pop-up widget). Subclasses should override this method so that the color is set properly for the text widget as well. Specifies the normal background color to use when displaying the widget. backgroundColor: aColor Set the value of the backgroundColor for the widget, which in this class is only set for the list widget (that is, the pop-up widget). Subclasses should override this method so that the color is set properly for the text widget as well. Specifies the normal background color to use when displaying the widget. droppedRows Answer the number of items that are visible at any time in the listbox. droppedRows: anInteger Set the number of items that are visible at any time in the listbox. font Answer the value of the font option for the widget, which in this class is only set for the list widget (that is, the pop-up widget). Subclasses should override this method so that the color is set properly for the text widget as well. 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. font: value Set the value of the font option for the widget, which in this class is only set for the list widget (that is, the pop-up widget). Subclasses should override this method so that the color is set properly for the text widget as well. 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. foregroundColor Answer the value of the foregroundColor for the widget, which in this class is only set for the list widget (that is, the pop-up widget). Subclasses should override this method so that the color is set properly for the text widget as well. Specifies the normal foreground color to use when displaying the widget. foregroundColor: aColor Set the value of the foregroundColor for the widget, which in this class is only set for the list widget (that is, the pop-up widget). Subclasses should override this method so that the color is set properly for the text widget as well. Specifies the normal foreground color to use when displaying the widget. highlightBackground Answer the value of the highlightBackground option for the widget. Specifies the background color to use when displaying selected items in the list widget. highlightBackground: aColor Set the value of the highlightBackground option for the widget. Specifies the background color to use when displaying selected items in the list widget. highlightForeground Answer the value of the highlightForeground option for the widget. Specifies the foreground color to use when displaying selected items in the list widget. highlightForeground: aColor Set the value of the highlightForeground option for the widget. Specifies the foreground color to use when displaying selected items in the list widget. 1.12.2 BLOX.BDropDown: callbacks -------------------------------- callback Answer a DirectedMessage that is sent when the receiver is clicked, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the receiver is clicked. If the method accepts an argument, the receiver is passed. invokeCallback Generate a synthetic callback 1.12.3 BLOX.BDropDown: flexibility ---------------------------------- createList Create the popup widget to be used for the 'drop-down list'. It is a BList by default, but you can use any other widget, overriding the 'list box accessing' methods if necessary. createTextWidget Create the widget that will hold the string chosen from the list box and answer it. The widget must be a child of 'self primitive'. itemHeight Answer the height of an item in the drop-down list. The default implementation assumes that the receiver understands #font, but you can modify it if you want. listCallback Called when an item of the listbox is highlighted. Do nothing by default listSelectAt: aPoint Select the item lying at the given position in the list box. The default implementation assumes that list is a BList, but you can modify it if you want. listText Answer the text currently chosen in the list box. The default implementation assumes that list is a BList, but you can modify it if you want. text Answer the text that the user has picked from the widget and/or typed in the control (the exact way the text is entered will be established by subclasses, since this is an abstract method). text: aString Set the text widget to aString 1.12.4 BLOX.BDropDown: list box accessing ----------------------------------------- add: anObject afterIndex: index Add an element with the given value after another element whose index is contained in the index parameter. The label displayed in the widget is anObject's displayString. Answer anObject. add: aString element: anObject afterIndex: index Add an element with the aString label after another element whose index is contained in the index parameter. This method allows the client to decide autonomously the label that the widget will display. 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. addLast: anObject Add an element with the given value at the end of the listbox. The label displayed in the widget is anObject's displayString. Answer anObject. addLast: aString element: anObject Add an element with the given value at the end of the listbox. This method allows the client to decide autonomously the label that the widget will display. 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. associationAt: anIndex Answer an association whose key is the item at the given position in the listbox and whose value is the label used to display that item. at: anIndex Answer the element displayed at the given position in the list box. contents: stringCollection Set the elements displayed in the listbox, and set the labels to be their displayStrings. contents: stringCollection elements: elementList Set the elements displayed in the listbox to be those in elementList, and set the labels to be the corresponding elements in stringCollection. The two collections must have the same size. do: aBlock Iterate over each element of the listbox and pass it to aBlock. elements: elementList Set the elements displayed in the listbox, and set the labels to be their displayStrings. index: newIndex Highlight the item at the given position in the listbox, and transfer the text in the list box to the text widget. labelAt: anIndex Answer the label displayed at the given position in the list box. labelsDo: aBlock Iterate over the labels in the list widget and pass each of them to aBlock. numberOfStrings Answer the number of items in the list box removeAtIndex: index Remove the item at the given index in the list box, answering the object associated to the element (i.e. the value that #at: would have returned for the given index) size Answer the number of items in the list box 1.12.5 BLOX.BDropDown: widget protocol -------------------------------------- dropRectangle Answer the rectangle in which the list widget will pop-up. If possible, this is situated below the drop-down widget's bottom side, but if the screen space there is not enough it could be above the drop-down widget's above side. If there is no screen space above as well, we pick the side where we can offer the greatest number of lines in the pop-up widget. dropdown Force the pop-up list widget to be visible. isDropdownVisible Answer whether the pop-up widget is visible toggle Toggle the visibility of the pop-up widget. unmapList Unmap the pop-up widget from the screen, transfer its selected item to the always visible text widget, and generate a callback. 1.13 BLOX.BDropDownEdit ======================= Defined in namespace BLOX Superclass: BLOX.BDropDown Category: Graphics-Examples This class resembles an edit widget, but it has an arrow button that allows the user to pick an item from a pre-built list. 1.13.1 BLOX.BDropDownEdit: accessing ------------------------------------ backgroundColor: aColor Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. font: aString Set the value of the font option for 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. foregroundColor: aColor Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. highlightBackground: aColor Set the value of the highlightBackground option for the widget. Specifies the background color to use when displaying selected items in the list widget and the selection in the text widget. highlightForeground: aColor Set the value of the highlightBackground option for the widget. Specifies the background color to use when displaying selected items in the list widget and the selection in the text widget. 1.13.2 BLOX.BDropDownEdit: accessing-overrides ---------------------------------------------- text Answer the text shown in the widget 1.13.3 BLOX.BDropDownEdit: text accessing ----------------------------------------- insertAtEnd: aString Clear the selection and append aString at the end of the text widget. replaceSelection: aString Insert aString in the text widget at the current insertion point, replacing the currently selected text (if any), and leaving the text selected. selectAll Select the whole contents of the text widget selectFrom: first to: last Sets the selection of the text widget to include the characters starting with the one indexed by first (the very first character in the widget having index 1) and ending with the one just before last. If last refers to the same character as first or an earlier one, then the text widget's selection is cleared. selection Answer an empty string if the text widget has no selection, else answer the currently selected text selectionRange Answer nil if the text widget has no selection, else answer an Interval object whose first item is the index of the first character in the selection, and whose last item is the index of the character just after the last one in the selection. text: aString Set the contents of the text widget and select them. 1.14 BLOX.BDropDownList ======================= Defined in namespace BLOX Superclass: BLOX.BDropDown Category: Graphics-Examples This class resembles a list box widget, but its actual list shows up only when you click the arrow button beside the currently selected item. 1.14.1 BLOX.BDropDownList: accessing ------------------------------------ backgroundColor: aColor Set the value of the backgroundColor for the widget, which in this class is set for the list widget and, when the focus is outside the control, for the text widget as well. Specifies the normal background color to use when displaying the widget. font: aString Set the value of the font option for 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. foregroundColor: aColor Set the value of the foregroundColor for the widget, which in this class is set for the list widget and, when the focus is outside the control, for the text widget as well. Specifies the normal foreground color to use when displaying the widget. highlightBackground: aColor Answer the value of the highlightBackground option for 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. highlightForeground: aColor Answer the value of the highlightForeground option for the widget. 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. text Answer the text that the user has picked from the widget and/or typed in the control (the exact way the text is entered will be established by subclasses, since this is an abstract method). 1.14.2 BLOX.BDropDownList: callbacks ------------------------------------ callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a selector with at most two arguemtnts) when the active item in the receiver changegs. If the method accepts two arguments, the receiver is passed as the first parameter. If the method accepts one or two arguments, the selected index is passed as the last parameter. invokeCallback Generate a synthetic callback. 1.14.3 BLOX.BDropDownList: list box accessing --------------------------------------------- index Answer the value of the index option for the widget. Since it is not possible to modify an item once it has been picked from the list widget, this is always defined for BDropDownList widgets. 1.15 BLOX.BEdit =============== Defined in namespace BLOX Superclass: BLOX.BPrimitive Category: Graphics-Windows I am a widget showing one line of modifiable text. 1.15.1 BLOX.BEdit class: instance creation ------------------------------------------ new: parent contents: aString Answer a new BEdit widget laid inside the given parent widget, with a default content of aString 1.15.2 BLOX.BEdit: accessing ---------------------------- backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. callback Answer a DirectedMessage that is sent when the receiver is modified, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the receiver is modified. If the method accepts an argument, the receiver is passed. contents Return the contents of the widget contents: newText Set the contents of the widget font Answer the value of the font option for 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. font: value Set the value of the font option for 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. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. selectBackground Answer the value of the selectBackground option for the widget. Specifies the background color to use when displaying selected parts of the widget. selectBackground: value Set the value of the selectBackground option for the widget. Specifies the background color to use when displaying selected parts of the widget. selectForeground Answer the value of the selectForeground option for the widget. Specifies the foreground color to use when displaying selected parts of the widget. selectForeground: value Set the value of the selectForeground option for the widget. Specifies the foreground color to use when displaying selected parts of the widget. 1.15.3 BLOX.BEdit: widget protocol ---------------------------------- destroyed Private - The receiver has been destroyed, clear the corresponding Tcl variable to avoid memory leaks. hasSelection Answer whether there is selected text in the widget insertAtEnd: aString Clear the selection and append aString at the end of the widget. insertText: aString Insert aString in the widget at the current insertion point, replacing the currently selected text (if any). invokeCallback Generate a synthetic callback. nextPut: aCharacter Clear the selection and append aCharacter at the end of the widget. nextPutAll: aString Clear the selection and append aString at the end of the widget. nl Clear the selection and append a linefeed character at the end of the widget. replaceSelection: aString Insert aString in the widget at the current insertion point, replacing the currently selected text (if any), and leaving the text selected. selectAll Select the whole contents of the widget. selectFrom: first to: last Sets the selection to include the characters starting with the one indexed by first (the very first character in the widget having index 1) and ending with the one just before last. If last refers to the same character as first or an earlier one, then the widget's selection is cleared. selection Answer an empty string if the widget has no selection, else answer the currently selected text selectionRange Answer nil if the widget has no selection, else answer an Interval object whose first item is the index of the first character in the selection, and whose last item is the index of the character just after the last one in the selection. space Clear the selection and append a space at the end of the widget. 1.16 BLOX.BEmbeddedImage ======================== Defined in namespace BLOX Superclass: BLOX.BBoundingBox Category: Graphics-Windows I can draw a colorful image inside the canvas. 1.16.1 BLOX.BEmbeddedImage: accessing ------------------------------------- copyInto: aBlox Answer a new BCanvasObject identical to this but displayed into another canvas, newCanvas. The new instance is not created at the time it is returned. data Answer the data of the image. The result will be a String containing image data either as Base-64 encoded GIF data, as XPM data, or as PPM data. data: aString Set the data of the image. aString may contain the data either as Base-64 encoded GIF data, as XPM data, or as PPM data. No changes are visible until you toggle a redraw using the appropriate method. redraw Force the object to be displayed in the parent canvas, creating it if it has not been inserted for real in the parent, and refresh its position and image data if it has changed. 1.17 BLOX.BEmbeddedText ======================= Defined in namespace BLOX Superclass: BLOX.BBoundingBox Category: Graphics-Windows I can draw text in all sorts of colors, sizes and fonts. 1.17.1 BLOX.BEmbeddedText: accessing ------------------------------------ font Answer the value of the font option for the canvas object. 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. font: font Set the value of the font option for the canvas object. 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. justify Answer how to justify the text within its bounding region. justify: aSymbol Sets how to justify the text within its bounding region. Can be #left, #right or #center (the default). redraw Force the object to be displayed in the parent canvas, creating it if it has not been inserted for real in the parent, and refresh its position. text Answer the text that is printed by the object text: aString Set the text that is printed by the object 1.18 BLOX.BEventSet =================== Defined in namespace BLOX Superclass: BLOX.BEventTarget Category: Graphics-Windows I combine event handlers and let you apply them to many objects. Basically, you derive a class from me, override the #initialize: method to establish the handlers, then use the #addEventSet: method understood by every Blox class to add the event handlers specified by the receiver to the object. 1.18.1 BLOX.BEventSet class: initializing ----------------------------------------- new This method should not be called for instances of this class. new: widget Private - Create a new event set object that will attach to the given widget. Answer the object. Note: this method should be called by #addEventSet:, not directly 1.18.2 BLOX.BEventSet: accessing -------------------------------- widget Answer the widget to which the receiver is attached. 1.18.3 BLOX.BEventSet: initializing ----------------------------------- initialize: aBWidget Initialize the receiver's event handlers to attach to aBWidget. You can override this of course, but don't forget to call the superclass implementation first. 1.19 BLOX.BEventTarget ====================== Defined in namespace BLOX Superclass: Object Category: Graphics-Windows I track all the event handling procedures that you apply to an object. 1.19.1 BLOX.BEventTarget: intercepting events --------------------------------------------- addEventSet: aBEventSetSublass Add to the receiver the event handlers implemented by an instance of aBEventSetSubclass. Answer the new instance of aBEventSetSublass. onAsciiKeyEventSend: aSelector to: anObject When an ASCII key is pressed and the receiver has the focus, send the 1-argument message identified by aSelector to anObject, passing to it a Character. onDestroySend: aSelector to: anObject When the receiver is destroyed, send the unary message identified by aSelector to anObject. onFocusEnterEventSend: aSelector to: anObject When the focus enters the receiver, send the unary message identified by aSelector to anObject. onFocusLeaveEventSend: aSelector to: anObject When the focus leaves the receiver, send the unary message identified by aSelector to anObject. onKeyEvent: key send: aSelector to: anObject When the given key is pressed and the receiver has the focus, send the unary message identified by aSelector to anObject. Examples for key are: 'Ctrl-1', 'Alt-X', 'Meta-plus', 'enter'. The last two cases include example of special key identifiers; these include: 'backslash', 'exclam', 'quotedbl', 'dollar', 'asterisk', 'less', 'greater', 'asciicircum' (caret), 'question', 'equal', 'parenleft', 'parenright', 'colon', 'semicolon', 'bar' (pipe sign), 'underscore', 'percent', 'minus', 'plus', 'BackSpace', 'Delete', 'Insert', 'Return', 'End', 'Home', 'Prior' (Pgup), 'Next' (Pgdn), 'F1'..'F24', 'Caps_Lock', 'Num_Lock', 'Tab', 'Left', 'Right', 'Up', 'Down'. There are in addition four special identifiers which map to platform-specific keys: '', '', '', '' (all with the angular brackets!). onKeyEventSend: aSelector to: anObject When a key is pressed and the receiver has the focus, send the 1-argument message identified by aSelector to anObject. The pressed key will be passed as a String parameter; some of the keys will send special key identifiers such as those explained in the documentation for #onKeyEvent:send:to: Look at the #eventTest test program in the BloxTestSuite to find out the parameters passed to such an event procedure onKeyUpEventSend: aSelector to: anObject When a key has been released and the receiver has the focus, send the 1-argument message identified by aSelector to anObject. The released key will be passed as a String parameter; some of the keys will send special key identifiers such as those explained in the documentation for #onKeyEvent:send:to: Look at the #eventTest test program in the BloxTestSuite to find out the parameters passed to such an event procedure onMouseDoubleEvent: button send: aSelector to: anObject When the given button is double-clicked on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point. onMouseDoubleEventSend: aSelector to: anObject When a button is double-clicked on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter. onMouseDownEvent: button send: aSelector to: anObject When the given button is pressed on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point. onMouseDownEventSend: aSelector to: anObject When a button is pressed on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter. onMouseEnterEventSend: aSelector to: anObject When the mouse enters the widget, send the unary message identified by aSelector to anObject. onMouseLeaveEventSend: aSelector to: anObject When the mouse leaves the widget, send the unary message identified by aSelector to anObject. onMouseMoveEvent: button send: aSelector to: anObject When the mouse is moved while the given button is pressed on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point. onMouseMoveEventSend: aSelector to: anObject When the mouse is moved, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point. onMouseTripleEvent: button send: aSelector to: anObject When the given button is triple-clicked on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point. onMouseTripleEventSend: aSelector to: anObject When a button is triple-clicked on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter. onMouseUpEvent: button send: aSelector to: anObject When the given button is released on the mouse, send the 1-argument message identified by aSelector to anObject. The mouse position will be passed as a Point. onMouseUpEventSend: aSelector to: anObject When a button is released on the mouse, send the 2-argument message identified by aSelector to anObject. The mouse position will be passed as a Point in the first parameter, the button number will be passed as an Integer in the second parameter. onResizeSend: aSelector to: anObject When the receiver is resized, send the 1-argument message identified by aSelector to anObject. The new size will be passed as a Point. 1.20 BLOX.BExtended =================== Defined in namespace BLOX Superclass: BLOX.BWidget Category: Graphics-Windows Just like Gui, I serve as a base for complex objects which expose an individual protocol but internally use a Blox widget for creating their user interface. Unlike Gui, however, the instances of my subclasses understand the standard widget protocol. Just override my newPrimitive method to return another widget, and you'll get a class which interacts with the user like that widget (a list box, a text box, or even a label) but exposes a different protocol. 1.20.1 BLOX.BExtended: accessing -------------------------------- asPrimitiveWidget Answer the primitive widget that implements the receiver. 1.20.2 BLOX.BExtended: customization ------------------------------------ create After this method is called (the call is made automatically) the receiver will be attached to a 'primitive' widget (which can be in turn another extended widget). This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to super (which only calls #newPrimitive and saves the result), to perform some initialization on the primitive widget just created; overriding #create is in fact more generic than overriding #newPrimitive. For an example of this, see the implementation of BButtonLike. newPrimitive Create and answer a new widget on which the implementation of the receiver will be based. You should not call this method directly; instead you must override it in BExtended's subclasses. 1.21 BLOX.BForm =============== Defined in namespace BLOX Superclass: BLOX.BPrimitive Category: Graphics-Windows I am used to group many widgets together. I leave the heavy task of managing their position to the user. 1.21.1 BLOX.BForm: accessing ---------------------------- backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. defaultHeight Answer the value of the defaultHeight option for 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. defaultHeight: value Set the value of the defaultHeight option for 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. defaultWidth Answer the value of the defaultWidth option for the widget. 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. defaultWidth: value Set the value of the defaultWidth option for the widget. 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. 1.22 BLOX.BImage ================ Defined in namespace BLOX Superclass: BLOX.BPrimitive Category: Graphics-Windows I can display colorful images. 1.22.1 BLOX.BImage class: arrows -------------------------------- downArrow Answer the XPM representation of a 12x12 arrow pointing downwards. leftArrow Answer the XPM representation of a 12x12 arrow pointing leftwards. rightArrow Answer the XPM representation of a 12x12 arrow pointing rightwards. upArrow Answer the XPM representation of a 12x12 arrow pointing upwards. 1.22.2 BLOX.BImage class: GNU ----------------------------- gnu Answer the XPM representation of a 48x48 GNU. 1.22.3 BLOX.BImage class: icons ------------------------------- exclaim Answer the XPM representation of a 32x32 exclamation mark icon. info Answer the XPM representation of a 32x32 'information' icon. question Answer the XPM representation of a 32x32 question mark icon. stop Answer the XPM representation of a 32x32 'critical stop' icon. 1.22.4 BLOX.BImage class: instance creation ------------------------------------------- new: parent data: aString Answer a new BImage widget laid inside the given parent widget, loading data from the given string (Base-64 encoded GIF, XPM, PPM are supported). new: parent image: aFileStream Answer a new BImage widget laid inside the given parent widget, loading data from the given file (GIF, XPM, PPM are supported). new: parent size: aPoint Answer a new BImage widget laid inside the given parent widget, showing by default a transparent image of aPoint size. 1.22.5 BLOX.BImage class: small icons ------------------------------------- directory Answer the Base-64 GIF representation of a 'directory folder' icon. file Answer the Base-64 GIF representation of a 'file' icon. 1.22.6 BLOX.BImage: accessing ----------------------------- backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. displayHeight Answer the value of the displayHeight option for 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. displayHeight: value Set the value of the displayHeight option for 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. displayWidth Answer the value of the displayWidth option for the widget. Specifies the width of the image in pixels. This is not the width of the widget, but specifies the area of the widget that will be taken by the image. displayWidth: value Set the value of the displayWidth option for the widget. Specifies the width of the image in pixels. This is not the width of the widget, but specifies the area of the widget that will be taken by the image. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. gamma Answer the value of the gamma option for the widget. Specifies that the colors allocated for displaying the image widget should be corrected for a non-linear display with the specified gamma exponent value. (The intensity produced by most CRT displays is a power function of the input value, to a good approximation; gamma is the exponent and is typically around 2). The value specified must be greater than zero. The default value is one (no correction). In general, values greater than one will make the image lighter, and values less than one will make it darker. gamma: value Set the value of the gamma option for the widget. Specifies that the colors allocated for displaying the image widget should be corrected for a non-linear display with the specified gamma exponent value. (The intensity produced by most CRT displays is a power function of the input value, to a good approximation; gamma is the exponent and is typically around 2). The value specified must be greater than zero. The default value is one (no correction). In general, values greater than one will make the image lighter, and values less than one will make it darker. 1.22.7 BLOX.BImage: image management ------------------------------------ blank Blank the corresponding image data: aString Set the image to be drawn to aString, which can be a GIF in Base-64 representation or an X pixelmap. dither Recalculate the dithered image in the window where the image is displayed. The dithering algorithm used in displaying images propagates quantization errors from one pixel to its neighbors. If the image data is supplied in pieces, the dithered image may not be exactly correct. Normally the difference is not noticeable, but if it is a problem, this command can be used to fix it. fillFrom: origin extent: extent color: color Fill a rectangle with the given origin and extent, using the given color. fillFrom: origin to: corner color: color Fill a rectangle between the given corners, using the given color. fillRectangle: rectangle color: color Fill a rectangle having the given bounding box, using the given color. image: aFileStream Read a GIF or XPM image from aFileStream. The whole contents of the file are read, not only from the file position. imageHeight Specifies the height of the image, in pixels. This option is useful primarily in situations where you wish to build up the contents of the image piece by piece. A value of zero (the default) allows the image to expand or shrink vertically to fit the data stored in it. imageWidth Specifies the width of the image, in pixels. This option is useful primarily in situations where you wish to build up the contents of the image piece by piece. A value of zero (the default) allows the image to expand or shrink horizontally to fit the data stored in it. lineFrom: origin extent: extent color: color Draw a line with the given origin and extent, using the given color. lineFrom: origin to: corner color: color This method's functionality has not been implemented yet. lineFrom: origin toX: endX color: color Draw an horizontal line between the given corners, using the given color. lineFrom: origin toY: endY color: color Draw a vertical line between the given corners, using the given color. lineInside: rectangle color: color Draw a line having the given bounding box, using the given color. 1.22.8 BLOX.BImage: widget protocol ----------------------------------- destroyed Private - The receiver has been destroyed, clear the corresponding Tcl image to avoid memory leaks. 1.23 BLOX.BLabel ================ Defined in namespace BLOX Superclass: BLOX.BPrimitive Category: Graphics-Windows I am a label showing static text. 1.23.1 BLOX.BLabel class: initialization ---------------------------------------- initialize Private - Initialize the receiver's class variables. 1.23.2 BLOX.BLabel class: instance creation ------------------------------------------- new: parent label: label Answer a new BLabel widget laid inside the given parent widget, showing by default the 'label' String. 1.23.3 BLOX.BLabel: accessing ----------------------------- alignment Answer the value of the anchor option for the widget. Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. Must be one of the symbols #topLeft, #topCenter, #topRight, #leftCenter, #center, #rightCenter, #bottomLeft, #bottomCenter, #bottomRight. For example, #topLeft means display the information such that its top-left corner is at the top-left corner of the widget. alignment: aSymbol Set the value of the anchor option for the widget. Specifies how the information in a widget (e.g. text or a bitmap) is to be displayed in the widget. Must be one of the symbols #topLeft, #topCenter, #topRight, #leftCenter, #center, #rightCenter, #bottomLeft, #bottomCenter, #bottomRight. For example, #topLeft means display the information such that its top-left corner is at the top-left corner of the widget. backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. font Answer the value of the font option for 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. font: value Set the value of the font option for 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. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. label Answer the value of the label option for 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. label: value Set the value of the label option for 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. 1.24 BLOX.BLine =============== Defined in namespace BLOX Superclass: BLOX.BBoundingBox Category: Graphics-Windows I only draw straight lines but I can do that very well, even without a ruler... 1.24.1 BLOX.BLine: accessing ---------------------------- cap Answer the way in which caps are to be drawn at the endpoints of the line. The answer may be #butt (the default), #projecting, or #round). cap: aSymbol Set the way in which caps are to be drawn at the endpoints of the line. aSymbol may be #butt (the default), #projecting, or #round). width Answer the width with which the line is drawn. width: pixels Set the width with which the line is drawn. 1.25 BLOX.BList =============== Defined in namespace BLOX Superclass: BLOX.BViewport Category: Graphics-Windows I represent a list box from which you can choose one or more elements. 1.25.1 BLOX.BList: accessing ---------------------------- add: anObject afterIndex: index Add an element with the given value after another element whose index is contained in the index parameter. The label displayed in the widget is anObject's displayString. Answer anObject. add: aString element: anObject afterIndex: index Add an element with the aString label after another element whose index is contained in the index parameter. This method allows the client to decide autonomously the label that the widget will display. 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. addLast: anObject Add an element with the given value at the end of the listbox. The label displayed in the widget is anObject's displayString. Answer anObject. addLast: aString element: anObject Add an element with the given value at the end of the listbox. This method allows the client to decide autonomously the label that the widget will display. 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. associationAt: anIndex Answer an association whose key is the item at the given position in the listbox and whose value is the label used to display that item. at: anIndex Answer the element displayed at the given position in the list box. backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. contents: elementList Set the elements displayed in the listbox, and set the labels to be their displayStrings. contents: stringCollection elements: elementList Set the elements displayed in the listbox to be those in elementList, and set the labels to be the corresponding elements in stringCollection. The two collections must have the same size. do: aBlock Iterate over each element of the listbox and pass it to aBlock. elements Answer the collection of objects that represent the elements displayed by the list box. elements: elementList Set the elements displayed in the listbox, and set the labels to be their displayStrings. font Answer the value of the font option for 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. font: value Set the value of the font option for 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. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. highlightBackground Answer the value of the highlightBackground option for the widget. Specifies the background color to use when displaying selected items in the widget. highlightBackground: value Set the value of the highlightBackground option for the widget. Specifies the background color to use when displaying selected items in the widget. highlightForeground Answer the value of the highlightForeground option for the widget. Specifies the foreground color to use when displaying selected items in the widget. highlightForeground: value Set the value of the highlightForeground option for the widget. Specifies the foreground color to use when displaying selected items in the widget. index Answer the value of the index option for the widget. Indicates the element that has the location cursor. This item will be displayed in the highlightForeground color, and with the corresponding background color. indexAt: point Answer the index of the element that covers the point in the listbox window specified by x and y (in pixel coordinates). If no element covers that point, then the closest element to that point is used. isSelected: index Answer whether the element indicated by index is currently selected. label Return nil, it is here for Gtk+ support label: aString Do nothing, it is here for Gtk+ support labelAt: anIndex Answer the label displayed at the given position in the list box. labels Answer the labels displayed by the list box. labelsDo: aBlock Iterate over each listbox element's label and pass it to aBlock. mode Answer the value of the mode option for the widget. Specifies one of several styles for manipulating the selection. The value of the option may be either single, browse, multiple, or extended. If the selection mode is single or browse, at most one element can be selected in the listbox at once. Clicking button 1 on an unselected element selects it and deselects any other selected item, while clicking on a selected element has no effect. In browse mode it is also possible to drag the selection with button 1. That is, moving the mouse while button 1 is pressed keeps the item under the cursor selected. If the selection mode is multiple or extended, any number of elements may be selected at once, including discontiguous ranges. In multiple mode, clicking button 1 on an element toggles its selection state without affecting any other elements. In extended mode, pressing button 1 on an element selects it, deselects everything else, and sets the anchor to the element under the mouse; dragging the mouse with button 1 down extends the selection to include all the elements between the anchor and the element under the mouse, inclusive. In extended mode, the selected range can be adjusted by pressing button 1 with the Shift key down: this modifies the selection to consist of the elements between the anchor and the element under the mouse, inclusive. The un-anchored end of this new selection can also be dragged with the button down. Also in extended mode, pressing button 1 with the Control key down starts a toggle operation: the anchor is set to the element under the mouse, and its selection state is reversed. The selection state of other elements is not changed. If the mouse is dragged with button 1 down, then the selection state of all elements between the anchor and the element under the mouse is set to match that of the anchor element; the selection state of all other elements remains what it was before the toggle operation began. Most people will probably want to use browse mode for single selections and extended mode for multiple selections; the other modes appear to be useful only in special situations. mode: value Set the value of the mode option for the widget. Specifies one of several styles for manipulating the selection. The value of the option may be either single, browse, multiple, or extended. If the selection mode is single or browse, at most one element can be selected in the listbox at once. Clicking button 1 on an unselected element selects it and deselects any other selected item, while clicking on a selected element has no effect. In browse mode it is also possible to drag the selection with button 1. That is, moving the mouse while button 1 is pressed keeps the item under the cursor selected. If the selection mode is multiple or extended, any number of elements may be selected at once, including discontiguous ranges. In multiple mode, clicking button 1 on an element toggles its selection state without affecting any other elements. In extended mode, pressing button 1 on an element selects it, deselects everything else, and sets the anchor to the element under the mouse; dragging the mouse with button 1 down extends the selection to include all the elements between the anchor and the element under the mouse, inclusive. In extended mode, the selected range can be adjusted by pressing button 1 with the Shift key down: this modifies the selection to consist of the elements between the anchor and the element under the mouse, inclusive. The un-anchored end of this new selection can also be dragged with the button down. Also in extended mode, pressing button 1 with the Control key down starts a toggle operation: the anchor is set to the element under the mouse, and its selection state is reversed. The selection state of other elements is not changed. If the mouse is dragged with button 1 down, then the selection state of all elements between the anchor and the element under the mouse is set to match that of the anchor element; the selection state of all other elements remains what it was before the toggle operation began. Most people will probably want to use browse mode for single selections and extended mode for multiple selections; the other modes appear to be useful only in special situations. numberOfStrings Answer the number of items in the list box removeAtIndex: index Remove the item at the given index in the list box, answering the object associated to the element (i.e. the value that #at: would have returned for the given index) size Answer the number of items in the list box 1.25.2 BLOX.BList: widget protocol ---------------------------------- callback Answer a DirectedMessage that is sent when the active item in the receiver changes, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a selector with at most two arguemtnts) when the active item in the receiver changegs. If the method accepts two arguments, the receiver is passed as the first parameter. If the method accepts one or two arguments, the selected index is passed as the last parameter. highlight: index Highlight the item at the given position in the listbox. invokeCallback Generate a synthetic callback. select: index Highlight the item at the given position in the listbox, without unhighlighting other items. This is meant for multiple- or extended-mode listboxes, but can be used with other selection mode in particular cases. show: index Ensure that the item at the given position in the listbox is visible. unhighlight Unhighlight all the items in the listbox. unselect: index Unhighlight the item at the given position in the listbox, without affecting the state of the other items. 1.26 BLOX.Blox ============== Defined in namespace BLOX Superclass: BLOX.BEventTarget Category: Graphics-Windows I am the superclass for every visible user interface object (excluding canvas items, which are pretty different). I provide common methods and a simple Tcl interface for internal use. In addition, I expose class methods that do many interesting event-handling things. NOTE: some of the methods (notably geometry methods) may not be suitable for all Blox subclasses and may be included only for backwards compatibility towards 1.1.5 BLOX. You should use geometry methods only for subclasses of BWidget. 1.26.1 BLOX.Blox class: C call-outs ----------------------------------- evalIn: interp tcl: cmd Not commented. idle Not commented. resultIn: interp Not commented. tclInit Not commented. 1.26.2 BLOX.Blox class: event dispatching ----------------------------------------- dispatchEvents If this is the outermost dispatching loop that is started, dispatch events until the number of calls to #terminateMainLoop balances the number of calls to #dispatchEvents; return instantly if this is not the outermost dispatching loop that is started. dispatchEvents: mainWindow Dispatch some events; return upon destruction of the 'mainWindow' widget (which can be any kind of BWidget, but will be typically a BWindow). terminateMainLoop Terminate the event dispatching loop if this call to #terminateMainLoop balances the number of calls to #dispatchEvents. update: aspect Initialize the Tcl and Blox environments; executed automatically on startup. 1.26.3 BLOX.Blox class: instance creation ----------------------------------------- new This method should not be called for instances of this class. new: parent Create a new widget of the type identified by the receiver, inside the given parent widget. Answer the new widget 1.26.4 BLOX.Blox class: utility ------------------------------- active Answer the currently active Blox, or nil if the focus does not belong to a Smalltalk window. at: aPoint Answer the Blox containing the given point on the screen, or nil if no Blox contains the given point (either because no Smalltalk window is there or because it is covered by another window). atMouse Answer the Blox under the mouse cursor's hot spot, or nil if no Blox contains the given point (either because no Smalltalk window is there or because it is covered by another window). beep Produce a bell clearClipboard Clear the clipboard, answer its old contents. clipboard Retrieve the text in the clipboard. clipboard: aString Set the contents of the clipboard to aString (or empty the clipboard if aString is nil). createColor: red green: green blue: blue Answer a color that can be passed to methods such as 'backgroundColor:'. The color will have the given RGB components (range is 0~65535). createColor: cyan magenta: magenta yellow: yellow Answer a color that can be passed to methods such as 'backgroundColor:'. The color will have the given CMY components (range is 0~65535). createColor: cyan magenta: magenta yellow: yellow black: black Answer a color that can be passed to methods such as 'backgroundColor:'. The color will have the given CMYK components (range is 0~65535). createColor: hue saturation: sat value: value Answer a color that can be passed to methods such as 'backgroundColor:'. The color will have the given HSV components (range is 0~65535). defaultFont Answer the default font used by Blox. fonts Answer the names of the font families in the system. Additionally, 'Times', 'Courier' and 'Helvetica' are always made available. mousePointer If the mouse pointer is on the same screen as the application's windows, returns a Point containing the pointer's x and y coordinates measured in pixels in the screen's root window (under X, if a virtual root window is in use on the screen, the position is computed in the whole desktop, not relative to the top-left corner of the currently shown portion). If the mouse pointer isn't on the same screen as window then answer nil. platform Answer the platform on which Blox is running; it can be either #unix, #macintosh or #windows. screenOrigin Answer a Point indicating the coordinates of the upper left point of the screen in the virtual root window on which the application's windows are drawn (under Windows and the Macintosh, that's always 0 @ 0) screenResolution Answer a Point containing the resolution in dots per inch of the screen, in the x and y directions. screenSize Answer a Point containing the size of the virtual root window on which the application's windows are drawn (under Windows and the Macintosh, that's the size of the screen) 1.26.5 BLOX.Blox: accessing --------------------------- state Answer the value of the state option for the widget. Specifies one of three states for the button: normal, active, or disabled. In normal state the button is displayed using the foreground and background options. The active state is typically used when the pointer is over the button. In active state the button is displayed using the activeForeground and activeBackground options. Disabled state means that the button should be insensitive: the application will refuse to activate the widget and will ignore mouse button presses. state: value Set the value of the state option for the widget. Specifies one of three states for the button: normal, active, or disabled. In normal state the button is displayed using the foreground and background options. The active state is typically used when the pointer is over the button. In active state the button is displayed using the activeForeground and activeBackground options. Disabled state means that the button should be insensitive: the application will refuse to activate the widget and will ignore mouse button presses. 1.26.6 BLOX.Blox: basic ----------------------- deepCopy It does not make sense to make a copy, because it would make data inconsistent across different objects; so answer the receiver release Destroy the receiver if it still exists, then perform the usual task of removing the dependency links shallowCopy It does not make sense to make a copy, because it would make data inconsistent across different objects; so answer the receiver 1.26.7 BLOX.Blox: creating children ----------------------------------- make: array Create children of the receiver. Answer a Dictionary of the children. Each element of array is an Array including: a string which becomes the Dictionary's key, a binding like #{Blox.BWindow} identifying the class name, an array with the parameters to be set (for example #(#width: 50 #height: 30 #backgroundColor: 'blue')), and afterwards the children of the widget, described as arrays with this same format. make: array on: result Private - Create children of the receiver, adding them to result; answer result. array has the format described in the comment to #make: makeChild: each on: result Private - Create a child of the receiver, adding them to result; each is a single element of the array described in the comment to #make: 1.26.8 BLOX.Blox: customization ------------------------------- addChild: child The widget identified by child has been added to the receiver. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to either the superclass implementation or #basicAddChild:, to perform some initialization on the children just added. Answer the new child. basicAddChild: child The widget identified by child has been added to the receiver. Add it to the children collection and answer the new child. This method is public because you can call it from #addChild:. 1.26.9 BLOX.Blox: widget protocol --------------------------------- asPrimitiveWidget Answer the primitive widget that implements the receiver. childrenCount Answer how many children the receiver has childrenDo: aBlock Evaluate aBlock once for each of the receiver's child widgets, passing the widget to aBlock as a parameter destroy Destroy the receiver drawingArea Answer a Rectangle identifying the receiver's drawing area. The rectangle's corners specify the upper-left and lower-right corners of the client area. Because coordinates are relative to the upper-left corner of a window's drawing area, the coordinates of the rectangle's corner are (0,0). enabled Answer whether the receiver is enabled to input. Although defined here, this method is only used for widgets that define a #state method enabled: enabled Set whether the receiver is enabled to input (enabled is a boolean). Although defined here, this method is only used for widgets that define a #state: method exists Answer whether the receiver has been destroyed or not (answer false in the former case, true in the latter). fontHeight: aString Answer the height of aString in pixels, when displayed in the same font as the receiver. Although defined here, this method is only used for widgets that define a #font method fontWidth: aString Answer the width of aString in pixels, when displayed in the same font as the receiver. Although defined here, this method is only used for widgets that define a #font method isWindow Answer whether the receiver represents a window on the screen. parent Answer the receiver's parent (or nil for a top-level window). toplevel Answer the top-level object (typically a BWindow or BPopupWindow) connected to the receiver. window Answer the window in which the receiver stays. Note that while #toplevel won't answer a BTransientWindow, this method will. withChildrenDo: aBlock Evaluate aBlock passing the receiver, and then once for each of the receiver's child widgets. 1.27 BLOX.BMenu =============== Defined in namespace BLOX Superclass: BLOX.BMenuObject Category: Graphics-Windows I am a Menu that is part of a menu bar. 1.27.1 BLOX.BMenu class: instance creation ------------------------------------------ new: parent label: label Add a new menu to the parent window's menu bar, with 'label' as its caption (for popup menus, parent is the widget over which the menu pops up as the right button is pressed). 1.27.2 BLOX.BMenu: accessing ---------------------------- label Answer the value of the label option for 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. label: value Set the value of the label option for 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. 1.27.3 BLOX.BMenu: callback registration ---------------------------------------- addLine Add a separator item at the end of the menu addMenuItemFor: anArray notifying: receiver Add a menu item described by anArray at the end of the menu. If anArray is empty, insert a separator line. If anArray has a single item, a menu item is created without a callback. If anArray has two or three items, the second one is used as the selector sent to receiver, and the third one (if present) is passed to the selector. callback: receiver using: selectorPairs Add menu items described by anArray at the end of the menu. Each element of selectorPairs must be in the format described in BMenu>>#addMenuItemFor:notifying:. All the callbacks will be sent to receiver. destroy Destroy the menu widget; that is, simply remove ourselves from the parent menu bar. empty Empty the menu widget; that is, remove all the children 1.28 BLOX.BMenuBar ================== Defined in namespace BLOX Superclass: BLOX.BMenuObject Category: Graphics-Windows I am the Menu Bar, the top widget in a full menu structure. 1.28.1 BLOX.BMenuBar: accessing ------------------------------- add: aMenu Add aMenu to the menu bar remove: aMenu Remove aMenu from the menu bar 1.29 BLOX.BMenuItem =================== Defined in namespace BLOX Superclass: BLOX.BMenuObject Category: Graphics-Windows I am the tiny and humble Menu Item, a single command choice in the menu structure. But if it wasn't for me, nothing could be done... eh eh eh!! 1.29.1 BLOX.BMenuItem class: instance creation ---------------------------------------------- new: parent Add a new separator item to the specified menu. new: parent label: label Add a new menu item to the specified menu (parent) , with 'label' as its caption. 1.29.2 BLOX.BMenuItem: accessing -------------------------------- label Answer the value of the label option for 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. label: value Set the value of the label option for 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. 1.30 BLOX.BMenuObject ===================== Defined in namespace BLOX Superclass: BLOX.Blox Category: Graphics-Windows I am an abstract superclass for widgets which make up a menu structure. 1.30.1 BLOX.BMenuObject: accessing ---------------------------------- activeBackground Answer the value of the activeBackground option for the widget. Specifies background color to use when drawing active elements. An element (a widget or portion of a widget) is active if the mouse cursor is positioned over the element and pressing a mouse button will cause some action to occur. For some elements on Windows and Macintosh systems, the active color will only be used while mouse button 1 is pressed over the element. activeBackground: value Set the value of the activeBackground option for the widget. Specifies background color to use when drawing active elements. An element (a widget or portion of a widget) is active if the mouse cursor is positioned over the element and pressing a mouse button will cause some action to occur. For some elements on Windows and Macintosh systems, the active color will only be used while mouse button 1 is pressed over the element. activeForeground Answer the value of the activeForeground option for the widget. Specifies foreground color to use when drawing active elements. See above for definition of active elements. activeForeground: value Set the value of the activeForeground option for the widget. Specifies foreground color to use when drawing active elements. See above for definition of active elements. asPrimitiveWidget Answer the primitive widget that implements the receiver. backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. 1.30.2 BLOX.BMenuObject: callback --------------------------------- callback Answer a DirectedMessage that is sent when the receiver is modified, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the receiver is clicked. If the method accepts an argument, the receiver is passed. callback: aReceiver message: aSymbol argument: anObject Set up so that aReceiver is sent the aSymbol message (the name of a one- or two-argument selector) when the receiver is clicked. If the method accepts two argument, the receiver is passed together with anObject; if it accepts a single one, instead, only anObject is passed. invokeCallback Generate a synthetic callback 1.31 BLOX.BOval =============== Defined in namespace BLOX Superclass: BLOX.BRectangle Category: Graphics-Windows I can draw ovals (ok, if you're a mathematic, they're really ellipses), or even circles. 1.32 BLOX.BPolyline =================== Defined in namespace BLOX Superclass: BLOX.BCanvasObject Category: Graphics-Windows I can draw closed or open polylines, and even fill them! 1.32.1 BLOX.BPolyline: accessing -------------------------------- boundingBox Answer 'boundingBox'. cap Answer the way in which caps are to be drawn at the endpoints of the line. This option is only available for open polylines. If you want to set it for a closed polylines, draw an open one on top of it. cap: aSymbol Set the way in which caps are to be drawn at the endpoints of the line. aSymbol may be #butt (the default), #projecting, or #round). This option is only available for open polylines. If you want to set it for a closed polylines, draw an open one on top of it. closed Answer whether the polyline is an open or a closed one. closed: aBoolean Set whether the polyline is an open or a closed one. This option may be set only once. join Answer the way in which joints are to be drawn at the vertices of the line. This option is only available for open polylines. If you want to set it for a closed polylines, draw an open one on top of it. join: aSymbol Answer the way in which joints are to be drawn at the vertices of the line. aSymbol can be #bevel, #miter (the default) or #round. This option is only available for open polylines. If you want to set it for a closed polylines, draw an open one on top of it. outlineColor Answer the color with which the outline of the polyline is drawn. This option is only available for closed polylines. outlineColor: color Set the color with which the outline of the polyline is drawn. This option is only available for closed polylines. points Answer the points that are vertices of the polyline. points: arrayOfPointsOrArrays Set the points that are vertices of the polyline. Each of the items of arrayOfPointsOrArrays can be a Point or a two-element Array. Note that no changes take place until you invoke the #create (if the object has not been inserted in the canvas yet) or the #redraw method. width Answer the width with which the polyline (or its outline if it is a closed one) is drawn. width: pixels Set the width with which the polyline (or its outline if it is a closed one) is drawn. 1.33 BLOX.BPopupMenu ==================== Defined in namespace BLOX Superclass: BLOX.BMenu Category: Graphics-Windows I am a class that provides the ability to show popup menus when the right button (Button 3) is clicked on another window. 1.33.1 BLOX.BPopupMenu: widget protocol --------------------------------------- popup Generate a synthetic menu popup event 1.34 BLOX.BPopupWindow ====================== Defined in namespace BLOX Superclass: BLOX.BWindow Category: Graphics-Windows I am a pseudo-window that has no decorations and no ability to interact with the user. My main usage, as my name says, is to provide pop-up functionality for other widgets. Actually there should be no need to directly use me - always rely on the #new and #popup: class methods. 1.34.1 BLOX.BPopupWindow: geometry management --------------------------------------------- addChild: w Private - The widget identified by child has been added to the receiver. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to either the superclass implementation or #basicAddChild:, to perform some initialization on the children just added. Answer the new child. child: child height: value Set the given child's height. This is done by setting its parent window's (that is, our) height. child: child heightOffset: value This method should not be called for instances of this class. child: child width: value Set the given child's width. This is done by setting its parent window's (that is, our) width. child: child widthOffset: value This method should not be called for instances of this class. child: child x: value Set the x coordinate of the given child's top-left corner. This is done by setting its parent window's (that is, our) x. child: child xOffset: value This method should not be called for instances of this class. child: child y: value Set the y coordinate of the given child's top-left corner. This is done by setting its parent window's (that is, our) y. child: child yOffset: value This method should not be called for instances of this class. heightChild: child Answer the given child's height, which is the height that was imposed on the popup window. widthChild: child Answer the given child's width in pixels, which is the width that was imposed on the popup window. xChild: child Answer the x coordinate of the given child's top-left corner, which is desumed by the position of the popup window. yChild: child Answer the y coordinate of the given child's top-left corner, which is desumed by the position of the popup window. 1.35 BLOX.BPrimitive ==================== Defined in namespace BLOX Superclass: BLOX.BWidget Category: Graphics-Windows I am the superclass for every widget (except menus) directly provided by the underlying GUI system. 1.35.1 BLOX.BPrimitive: accessing --------------------------------- asPrimitiveWidget Answer the primitive widget that implements the receiver. 1.36 BLOX.BProgress =================== Defined in namespace BLOX Superclass: BLOX.BExtended Category: Graphics-Examples I show how much of a task has been completed. 1.36.1 BLOX.BProgress: accessing -------------------------------- backgroundColor Answer the background color of the widget. This is used for the background of the non-filled part, as well as for the foreground of the filled part. backgroundColor: aColor Set the background color of the widget. This is used for the background of the non-filled part, as well as for the foreground of the filled part. filledColor Answer the background color of the widget's filled part. filledColor: aColor Set the background color of the widget's filled part. foregroundColor Set the foreground color of the widget. This is used for the non-filled part, while the background color also works as the foreground of the filled part. foregroundColor: aColor Set the foreground color of the widget. This is used for the non-filled part, while the background color also works as the foreground of the filled part. value Answer the filled percentage of the receiver (0..1) value: newValue Set the filled percentage of the receiver and update the appearance. newValue must be between 0 and 1. 1.37 BLOX.BRadioButton ====================== Defined in namespace BLOX Superclass: BLOX.BButton Category: Graphics-Windows I am just one in a group of mutually exclusive buttons. 1.37.1 BLOX.BRadioButton: accessing ----------------------------------- callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a selector accepting at most two arguments) when the receiver is clicked. If the method accepts two arguments, the receiver is passed as the first parameter. If the method accepts one or two arguments, true is passed as the last parameter for interoperability with BToggle widgets. value Answer whether this widget is the selected one in its radio button group. value: aBoolean Answer whether this widget is the selected one in its radio button group. Setting this property to false for a group's currently selected button unhighlights all the buttons in that group. 1.38 BLOX.BRadioGroup ===================== Defined in namespace BLOX Superclass: BLOX.BContainer Category: Graphics-Windows I am used to group many mutually-exclusive radio buttons together. In addition, just like every BContainer I can perform simple management by putting widgets next to each other, from left to right or (which is more useful in this particular case...) from top to bottom. 1.38.1 BLOX.BRadioGroup: accessing ---------------------------------- value Answer the index of the button that is currently selected, 1 being the first button added to the radio button group. 0 means that no button is selected value: value Force the value-th button added to the radio button group to be the selected one. 1.38.2 BLOX.BRadioGroup: widget protocol ---------------------------------------- destroyed Private - The receiver has been destroyed, clear the corresponding Tcl variable to avoid memory leaks. 1.39 BLOX.BRectangle ==================== Defined in namespace BLOX Superclass: BLOX.BBoundingBox Category: Graphics-Windows I only draw rectangles but I can do that very well. 1.39.1 BLOX.BRectangle: accessing --------------------------------- outlineColor Answer the color with which the outline of the rectangle is drawn. outlineColor: color Set the color with which the outline of the rectangle is drawn. width Answer the width with which the outline of the rectangle is drawn. width: pixels Set the width with which the outline of the rectangle is drawn. 1.40 BLOX.BScrolledCanvas ========================= Defined in namespace BLOX Superclass: BLOX.BCanvas Category: Graphics-Windows I am much similar to BCanvas, but I sport, in addition, two fancy scroll bars. This is just a convenience, since it could be easily done when creating the canvas... 1.41 BLOX.BSpline ================= Defined in namespace BLOX Superclass: BLOX.BPolyline Category: Graphics-Windows Unlike my father BPolyline, I am more smooth at doing my job. 1.41.1 BLOX.BSpline: accessing ------------------------------ smoothness Answer the degree of smoothness desired for curves. Each spline will be approximated with this number of line segments. smoothness: anInteger Set the degree of smoothness desired for curves. Each spline will be approximated with this number of line segments. 1.42 BLOX.BText =============== Defined in namespace BLOX Superclass: BLOX.BViewport Category: Graphics-Windows I represent a text viewer with pretty good formatting options. 1.42.1 BLOX.BText class: accessing ---------------------------------- emacsLike Answer whether we are using Emacs or Motif key bindings. emacsLike: aBoolean Set whether we are using Emacs or Motif key bindings. 1.42.2 BLOX.BText class: instance creation ------------------------------------------ newReadOnly: parent Answer a new read-only text widget (read-only is achieved simply by setting its state to be disabled) 1.42.3 BLOX.BText: accessing ---------------------------- backgroundColor Answer the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. backgroundColor: value Set the value of the backgroundColor option for the widget. Specifies the normal background color to use when displaying the widget. callback Answer a DirectedMessage that is sent when the receiver is modified, or nil if none has been set up. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the receiver is modified. If the method accepts an argument, the receiver is passed. contents Return the contents of the widget contents: aString Set the contents of the widget font Answer the value of the font option for 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. font: value Set the value of the font option for 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. foregroundColor Answer the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. foregroundColor: value Set the value of the foregroundColor option for the widget. Specifies the normal foreground color to use when displaying the widget. getSelection Answer an empty string if the widget has no selection, else answer the currently selected text selectBackground Answer the value of the selectBackground option for the widget. Specifies the background color to use when displaying selected parts of the widget. selectBackground: value Set the value of the selectBackground option for the widget. Specifies the background color to use when displaying selected parts of the widget. selectForeground Answer the value of the selectForeground option for the widget. Specifies the foreground color to use when displaying selected parts of the widget. selectForeground: value Set the value of the selectForeground option for the widget. Specifies the foreground color to use when displaying selected parts of the widget. wrap Answer the value of the wrap option for the widget. Specifies how to handle lines in the text that are too long to be displayed in a single line of the text's window. The value must be #none or #char or #word. A wrap mode of none means that each line of text appears as exactly one line on the screen; extra characters that do not fit on the screen are not displayed. In the other modes each line of text will be broken up into several screen lines if necessary to keep all the characters visible. In char mode a screen line break may occur after any character; in word mode a line break will only be made at word boundaries. wrap: value Set the value of the wrap option for the widget. Specifies how to handle lines in the text that are too long to be displayed in a single line of the text's window. The value must be #none or #char or #word. A wrap mode of none means that each line of text appears as exactly one line on the screen; extra characters that do not fit on the screen are not displayed. In the other modes each line of text will be broken up into several screen lines if necessary to keep all the characters visible. In char mode a screen line break may occur after any character; in word mode a line break will only be made at word boundaries. 1.42.4 BLOX.BText: attributes ----------------------------- insertAtEnd: aString attribute: attr Clear the selection and append aString at the end of the widget. Use the given attributes to format the text. insertText: aString attribute: attr Insert aString in the widget at the current insertion point, replacing the currently selected text (if any). Use the given attributes to format the text. removeAttributes Remove any kind of formatting from the text in the widget removeAttributesFrom: aPoint to: endPoint Remove any kind of formatting from the text in the widget between the given endpoints. The two endpoints are Point objects in which both coordinates are 1-based: the first line is line 1, and the first character in the first line is character 1. setAttributes: attr from: aPoint to: endPoint Add the formatting given by attr to the text in the widget between the given endpoints. The two endpoints are Point objects in which both coordinates are 1-based: the first line is line 1, and the first character in the first line is character 1. 1.42.5 BLOX.BText: geometry management -------------------------------------- child: child height: value Set the height of the given child to be 'value' pixels. child: child heightOffset: value Adjust the height of the given child to be given by 'value' more pixels. child: child width: value Set the width of the given child to be 'value' pixels. child: child widthOffset: value Adjust the width of the given child to be given by 'value' more pixels. child: child x: value Never fail and do nothing, the children stay where the text ended at the time each child was added in the widget child: child xOffset: value This method should not be called for instances of this class. child: child y: value Never fail and do nothing, the children stay where the text ended at the time each child was added in the widget child: child yOffset: value This method should not be called for instances of this class. heightChild: child Answer the given child's height in pixels. widthChild: child Answer the given child's width in pixels. xChild: child Answer the given child's top-left border's x coordinate. We always answer 0 since the children actually move when the text widget scrolls yChild: child Answer the given child's top-left border's y coordinate. We always answer 0 since the children actually move when the text widget scrolls 1.42.6 BLOX.BText: images ------------------------- insertImage: anObject Insert an image where the insertion point currently lies in the widget. anObject can be a String containing image data (either Base-64 encoded GIF data, XPM data, or PPM data), or the result or registering an image with #registerImage: insertImage: anObject at: position Insert an image at the given position in the widget. The position is a Point object in which both coordinates are 1-based: the first line is line 1, and the first character in the first line is character 1. anObject can be a String containing image data (either Base-64 encoded GIF data, XPM data, or PPM data), or the result or registering an image with #registerImage: insertImageAtEnd: anObject Insert an image at the end of the widgets text. anObject can be a String containing image data (either Base-64 encoded GIF data, XPM data, or PPM data), or the result or registering an image with #registerImage: registerImage: anObject Register an image (whose data is in anObject, a String including Base-64 encoded GIF data, XPM data, or PPM data) to be used in the widget. If the same image must be used a lot of times, it is better to register it once and then pass the result of #registerImage: to the image insertion methods. Registered image are private within each BText widget. Registering an image with a widget and using it with another could give unpredictable results. 1.42.7 BLOX.BText: inserting text --------------------------------- insertAtEnd: aString Clear the selection and append aString at the end of the widget. insertSelectedText: aString Insert aString in the widget at the current insertion point, leaving the currently selected text (if any) in place, and selecting the text. insertText: aString Insert aString in the widget at the current insertion point, replacing the currently selected text (if any). insertText: aString at: position Insert aString in the widget at the given position, replacing the currently selected text (if any). The position is a Point object in which both coordinates are 1-based: the first line is line 1, and the first character in the first line is character 1. insertTextSelection: aString Insert aString in the widget after the current selection, leaving the currently selected text (if any) intact. invokeCallback Generate a synthetic callback. nextPut: aCharacter Clear the selection and append aCharacter at the end of the widget. nextPutAll: aString Clear the selection and append aString at the end of the widget. nl Clear the selection and append a linefeed character at the end of the widget. refuseTabs Arrange so that Tab characters, instead of being inserted in the widget, traverse the widgets in the parent window. replaceSelection: aString Insert aString in the widget at the current insertion point, replacing the currently selected text (if any), and leaving the text selected. searchString: aString Search aString in the widget. If it is not found, answer zero, else answer the 1-based line number and move the insertion point to the place where the string was found. space Clear the selection and append a space at the end of the widget. 1.42.8 BLOX.BText: position & lines ----------------------------------- charsInLine: number Answer how many characters are there in the number-th line currentColumn Answer the 1-based column number where the insertion point currently lies. currentLine Answer the 1-based line number where the insertion point currently lies. currentPosition Answer a Point representing where the insertion point currently lies. Both coordinates in the answer are 1-based: the first line is line 1, and the first character in the first line is character 1. currentPosition: aPoint Move the insertion point to the position given by aPoint. Both coordinates in aPoint are interpreted as 1-based: the first line is line 1, and the first character in the first line is character 1. gotoLine: line end: aBoolean If aBoolean is true, move the insertion point to the last character of the line-th line (1 being the first line in the widget); if aBoolean is false, move it to the start of the line-th line. indexAt: point Answer the position of the character that covers the pixel whose coordinates within the text's window are given by the supplied Point object. lineAt: number Answer the number-th line of text in the widget numberOfLines Answer the number of lines in the widget selectFrom: first to: last Select the text between the given endpoints. The two endpoints are Point objects in which both coordinates are 1-based: the first line is line 1, and the first character in the first line is character 1. setToEnd Move the insertion point to the end of the widget 1.43 BLOX.BTextAttributes ========================= Defined in namespace BLOX Superclass: Object Category: Graphics-Windows I help you creating wonderful, colorful BTexts. 1.43.1 BLOX.BTextAttributes class: instance-creation shortcuts -------------------------------------------------------------- backgroundColor: color Create a new BTextAttributes object resulting in text with the given background color. black Create a new BTextAttributes object resulting in black text. blue Create a new BTextAttributes object resulting in blue text. center Create a new BTextAttributes object resulting in centered paragraphs. cyan Create a new BTextAttributes object resulting in cyan text. darkCyan Create a new BTextAttributes object resulting in dark cyan text. darkGreen Create a new BTextAttributes object resulting in dark green text. darkMagenta Create a new BTextAttributes object resulting in dark purple text. events: aBTextBindings Create a new BTextAttributes object for text that responds to events according to the callbacks established in aBTextBindings. font: font Create a new BTextAttributes object resulting in text with the given font. 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. foregroundColor: color Create a new BTextAttributes object resulting in text with the given foreground color. green Create a new BTextAttributes object resulting in green text. magenta Create a new BTextAttributes object resulting in magenta text. red Create a new BTextAttributes object resulting in red text. strikeout Create a new BTextAttributes object resulting in struck-out text. underline Create a new BTextAttributes object resulting in underlined text. white Create a new BTextAttributes object resulting in white text. yellow Create a new BTextAttributes object resulting in yellow text. 1.43.2 BLOX.BTextAttributes: colors ----------------------------------- black Set the receiver so that applying it results in black text. blue Set the receiver so that applying it results in blue text. cyan Set the receiver so that applying it results in cyan text. darkCyan Set the receiver so that applying it results in dark cyan text. darkGreen Set the receiver so that applying it results in dark green text. darkMagenta Set the receiver so that applying it results in dark magenta text. green Set the receiver so that applying it results in green text. magenta Set the receiver so that applying it results in magenta text. red Set the receiver so that applying it results in red text. white Set the receiver so that applying it results in white text. yellow Set the receiver so that applying it results in black text. 1.43.3 BLOX.BTextAttributes: setting attributes ----------------------------------------------- backgroundColor Answer the value of the backgroundColor option for the text. Specifies the background color to use when displaying text with these attributes. nil indicates that the default value is not overridden. backgroundColor: color Set the value of the backgroundColor option for the text. Specifies the background color to use when displaying text with these attributes. nil indicates that the default value is not overridden. center Center the text to which these attributes are applied events Answer the event bindings which apply to text subject to these attributes events: aBTextBindings Set the event bindings which apply to text subject to these attributes font Answer the value of the font option for the text. The font can be given as either an X font name or a Blox font description string, or nil if you want the widget's default font to apply. 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. font: fontName Set the value of the font option for the text. The font can be given as either an X font name or a Blox font description string, or nil if you want the widget's default font to apply. 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. foregroundColor Answer the value of the foregroundColor option for the text. Specifies the foreground color to use when displaying text with these attributes. nil indicates that the default value is not overridden. foregroundColor: color Set the value of the foregroundColor option for the text. Specifies the foreground color to use when displaying text with these attributes. nil indicates that the default value is not overridden. isCentered Answer whether the text to which these attributes are applied is centered isStruckout Answer whether the text to which these attributes are applied is struckout isUnderlined Answer whether the text to which these attributes are applied is underlined strikeout Strike out the text to which these attributes are applied underline Underline the text to which these attributes are applied 1.44 BLOX.BTextBindings ======================= Defined in namespace BLOX Superclass: BLOX.BEventTarget Category: Graphics-Windows This object is used to assign event handlers to particular sections of text in a BText widget. To use it, you simply have to add event handlers to it, and then create a BTextAttributes object that refers to it. 1.44.1 BLOX.BTextBindings class: instance creation -------------------------------------------------- new Create a new instance of the receiver. 1.45 BLOX.BTextTags =================== Defined in namespace BLOX Superclass: Object Category: Graphics-Windows I am a private class. I sit between a BText and BTextAttributes, helping the latter in telling the former which attributes to use. 1.46 BLOX.BToggle ================= Defined in namespace BLOX Superclass: BLOX.BButton Category: Graphics-Windows I represent a button whose choice can be included (by checking me) or excluded (by leaving me unchecked). 1.46.1 BLOX.BToggle: accessing ------------------------------ callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a selector accepting at most two arguments) when the receiver is clicked. If the method accepts two arguments, the receiver is passed as the first parameter. If the method accepts one or two arguments, the state of the widget (true if it is selected, false if it is not) is passed as the last parameter. invokeCallback Generate a synthetic callback. value Answer whether the button is in a selected (checked) state. value: aBoolean Set whether the button is in a selected (checked) state and generates a callback accordingly. variable: value Set the value of Tk's variable option for the widget. 1.47 BLOX.BTransientWindow ========================== Defined in namespace BLOX Superclass: BLOX.BWindow Category: Graphics-Windows I am almost a boss. I represent a window which is logically linked to another which sits higher in the widget hierarchy, e.g. a dialog box 1.47.1 BLOX.BTransientWindow class: instance creation ----------------------------------------------------- new This method should not be called for instances of this class. new: parentWindow Answer a new transient window attached to the given parent window and with nothing in its title bar caption. new: label in: parentWindow Answer a new transient window attached to the given parent window and with 'label' as its title bar caption. 1.47.2 BLOX.BTransientWindow: widget protocol --------------------------------------------- map Map the window and inform the windows manager that the receiver is a transient window working on behalf of its parent. The window is also put in its parent window's window group: the window manager might use this information, for example, to unmap all of the windows in a group when the group's leader is iconified. 1.48 BLOX.BViewport =================== Defined in namespace BLOX Superclass: BLOX.BPrimitive Category: Graphics-Windows I represent an interface which is common to widgets that can be scrolled, like list boxes or text widgets. 1.48.1 BLOX.BViewport: accessing -------------------------------- connected Private - Answer the name of Tk widget for the connected widget. 1.48.2 BLOX.BViewport: scrollbars --------------------------------- horizontal Answer whether an horizontal scrollbar is drawn in the widget if needed. horizontal: aBoolean Set whether an horizontal scrollbar is drawn in the widget if needed. horizontalNeeded Answer whether an horizontal scrollbar is needed to show all the information in the widget. horizontalShown Answer whether an horizontal scrollbar is drawn in the widget. vertical Answer whether a vertical scrollbar is drawn in the widget if needed. vertical: aBoolean Set whether a vertical scrollbar is drawn in the widget if needed. verticalNeeded Answer whether a vertical scrollbar is needed to show all the information in the widget. verticalShown Answer whether a vertical scrollbar is drawn in the widget. 1.49 BLOX.BWidget ================= Defined in namespace BLOX Superclass: BLOX.Blox Category: Graphics-Windows I am the superclass for every widget except those related to menus. I provide more common methods and geometry management 1.49.1 BLOX.BWidget class: popups --------------------------------- new Create an instance of the receiver inside a BPopupWindow; do not map the window, answer the new widget. The created widget will become a child of the window and be completely attached to it (e.g. the geometry methods will modify the window's geometry). Note that while the widget *seems* to be directly painted on the root window, it actually belongs to the BPopupWindow; so don't send #destroy to the widget to remove it, but rather to the window. popup: initializationBlock Create an instance of the receiver inside a BPopupWindow; before returning, pass the widget to the supplied initializationBlock, then map the window. Answer the new widget. The created widget will become a child of the window and be completely attached to it (e.g. the geometry methods will modify the window's geometry). Note that while the widget *seems* to be directly painted on the root window, it actually belongs to the BPopupWindow; so don't send #destroy to the widget to remove it, but rather to the window. 1.49.2 BLOX.BWidget: accessing ------------------------------ borderWidth Answer the value of the borderWidth option for the widget. Specifies a non-negative value indicating the width of the 3-D border to draw around the outside of the widget (if such a border is being drawn; the effect option typically determines this). The value may also be used when drawing 3-D effects in the interior of the widget. The value is measured in pixels. borderWidth: value Set the value of the borderWidth option for the widget. Specifies a non-negative value indicating the width of the 3-D border to draw around the outside of the widget (if such a border is being drawn; the effect option typically determines this). The value may also be used when drawing 3-D effects in the interior of the widget. The value is measured in pixels. cursor Answer the value of the cursor option for the widget. Specifies the mouse cursor to be used for the widget. The value of the option is given by the standard X cursor cursor, i.e., any of the names defined in cursorcursor.h, without the leading XC_. cursor: value Set the value of the cursor option for the widget. Specifies the mouse cursor to be used for the widget. The value of the option is given by the standard X cursor cursor, i.e., any of the names defined in cursorcursor.h, without the leading XC_. effect Answer the value of the effect option for the widget. Specifies the effect desired for the widget's border. Acceptable values are raised, sunken, flat, ridge, solid, and groove. The value indicates how the interior of the widget should appear relative to its exterior; for example, raised means the interior of the widget should appear to protrude from the screen, relative to the exterior of the widget. Raised and sunken give the traditional 3-D appearance (for example, that of Xaw3D), while ridge and groove give a "chiseled" appearance like that of Swing or GTK+'s Metal theme. Flat and solid are not 3-D. effect: value Set the value of the effect option for the widget. Specifies the effect desired for the widget's border. Acceptable values are raised, sunken, flat, ridge, solid, and groove. The value indicates how the interior of the widget should appear relative to its exterior; for example, raised means the interior of the widget should appear to protrude from the screen, relative to the exterior of the widget. Raised and sunken give the traditional 3-D appearance (for example, that of Xaw3D), while ridge and groove give a "chiseled" appearance like that of Swing or GTK+'s Metal theme. Flat and solid are not 3-D. tabStop Answer the value of the tabStop option for the widget. Determines whether the window accepts the focus during keyboard traversal (e.g., Tab and Shift-Tab). Before setting the focus to a window, Blox consults the value of the tabStop option. A value of false means that the window should be skipped entirely during keyboard traversal. true means that the window should receive the input focus as long as it is viewable (it and all of its ancestors are mapped). If you do not set this option, Blox makes the decision about whether or not to focus on the window: the current algorithm is to skip the window if it is disabled, it has no key bindings, or if it is not viewable. Of the standard widgets, BForm, BContainer, BLabel and BImage have no key bindings by default. tabStop: value Set the value of the tabStop option for the widget. Determines whether the window accepts the focus during keyboard traversal (e.g., Tab and Shift-Tab). Before setting the focus to a window, Blox consults the value of the tabStop option. A value of false means that the window should be skipped entirely during keyboard traversal. true means that the window should receive the input focus as long as it is viewable (it and all of its ancestors are mapped). If you do not set this option, Blox makes the decision about whether or not to focus on the window: the current algorithm is to skip the window if it is disabled, it has no key bindings, or if it is not viewable. Of the standard widgets, BForm, BContainer, BLabel and BImage have no key bindings by default. 1.49.3 BLOX.BWidget: customization ---------------------------------- addChild: child The widget identified by child has been added to the receiver. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to basicAddChild, to perform some initialization on the children just added. Answer the new child. create Make the receiver able to respond to its widget protocol. This method is public not because you can call it, but because it can be useful to override it, not forgetting the call to super, to perform some initialization on the primitive widget just created; for an example of this, see the implementation of BButtonLike. initialize: parentWidget This is called by #new: to initialize the widget (as the name says...). The default implementation calls all the other methods in the 'customization' protocol and some private ones that take care of making the receiver's status consistent, so you should usually call it instead of doing everything by hand. This method is public not because you can call it, but because it might be useful to override it. Always answer the receiver. setInitialSize This is called by #initialize: to set the widget's initial size. The whole area is occupied by default. This method is public not because you can call it, but because it can be useful to override it. 1.49.4 BLOX.BWidget: geometry management ---------------------------------------- boundingBox Answer a Rectangle containing the bounding box of the receiver boundingBox: rect Set the bounding box of the receiver to rect (a Rectangle). child: child height: value Set the given child's height to value. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #height method. You should not use this method, which is automatically called by the child's #height: method, but you might want to override it. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just do nothing. child: child heightOffset: value Adjust the given child's height by a fixed amount of value pixel. This is meaningful for the default implementation, using 'rubber-sheet' geometry management as explained in the comment to BWidget's #height and #heightOffset: methods. You should not use this method, which is automatically called by the child's #heightOffset: method, but you might want to override it. if it doesn't apply to the kind of geometry management that the receiver does, just add value to the current height of the widget. child: child stretch: aBoolean This method is only used when on the path from the receiver to its toplevel there is a BContainer. It decides whether child is among the widgets that are stretched to fill the entire width of the BContainer; if this has not been set for this widget, it is propagated along the widget hierarchy. child: child width: value Set the given child's width to value. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #width method. You should not use this method, which is automatically called by the child's #width: method, but you might want to override it. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just do nothing. child: child widthOffset: value Adjust the given child's width by a fixed amount of value pixel. This is meaningful for the default implementation, using 'rubber-sheet' geometry management as explained in the comment to BWidget's #width and #widthOffset: methods. You should not use this method, which is automatically called by the child's #widthOffset: method, but you might want to override it. if it doesn't apply to the kind of geometry management that the receiver does, just add value to the current width of the widget. child: child x: value Set the given child's x to value. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #x method. You should not use this method, which is automatically called by the child's #x: method, but you might want to override it. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just do nothing. child: child xOffset: value Adjust the given child's x by a fixed amount of value pixel. This is meaningful for the default implementation, using 'rubber-sheet' geometry management as explained in the comment to BWidget's #x and #xOffset: methods. You should not use this method, which is automatically called by the child's #xOffset: method, but you might want to override it. if it doesn't apply to the kind of geometry management that the receiver does, just add value to the current x of the widget. child: child y: value Set the given child's y to value. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #y method. You should not use this method, which is automatically called by the child's #y: method, but you might want to override it. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just do nothing. child: child yOffset: value Adjust the given child's y by a fixed amount of value pixel. This is meaningful for the default implementation, using 'rubber-sheet' geometry management as explained in the comment to BWidget's #y and #yOffset: methods. You should not use this method, which is automatically called by the child's #yOffset: method, but you might want to override it. if it doesn't apply to the kind of geometry management that the receiver does, just add value to the current y of the widget. extent Answer a Point containing the receiver's size extent: extent Set the receiver's size to the width and height contained in extent (a Point). height Answer the 'variable' part of the receiver's height within the parent widget. The value returned does not include any fixed amount of pixels indicated by #heightOffset: and must be interpreted in a relative fashion: the ratio of the returned value to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. Behavior if the left or right edges are not within the client area of the parent is not defined - the window might be clamped or might be positioned according to the specification. height: value Set to 'value' the height of the widget within the parent widget. The value is specified in a relative fashion as an integer, so that the ratio of 'value' to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. heightAbsolute Force a recalculation of the layout of widgets in the receiver's parent, then answer the current height of the receiver in pixels. heightChild: child Answer the given child's height. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #height method. You should not use this method, which is automatically called by the child's #height method, but you might want to override. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just return 0. heightOffset Private - Answer the pixels to be added or subtracted to the height of the receiver, with respect to the value set in a relative fashion through the #height: method. heightOffset: value Add or subtract to the height of the receiver a fixed amount of 'value' pixels, with respect to the value set in a relative fashion through the #height: method. Usage of this method is deprecated; use #inset: and BContainers instead. heightPixels: value Set the current height of the receiver to 'value' pixels. Note that, after calling this method, #height will answer 0, which is logical considering that there is no 'variable' part of the size (refer to #height and #height: for more explanations). inset: pixels Inset the receiver's bounding box by the specified amount. left: left top: top right: right bottom: bottom Set the bounding box of the receiver through its components. pos: position Set the receiver's origin to the width and height contained in position (a Point). posHoriz: aBlox Position the receiver immediately to the right of aBlox. posVert: aBlox Position the receiver just below aBlox. stretch: aBoolean This method is only considered when on the path from the receiver to its toplevel there is a BContainer. It decides whether we are among the widgets that are stretched to fill the entire width of the BContainer. width Answer the 'variable' part of the receiver's width within the parent widget. The value returned does not include any fixed amount of pixels indicated by #widthOffset: and must be interpreted in a relative fashion: the ratio of the returned value to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. Behavior if the left or right edges are not within the client area of the parent is not defined - the window might be clamped or might be positioned according to the specification. width: value Set to 'value' the width of the widget within the parent widget. The value is specified in a relative fashion as an integer, so that the ratio of 'value' to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. width: xSize height: ySize Set the size of the receiver through its components xSize and ySize. widthAbsolute Force a recalculation of the layout of widgets in the receiver's parent, then answer the current width of the receiver in pixels. widthChild: child Answer the given child's width. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #width method. You should not use this method, which is automatically called by the child's #width method, but you might want to override. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just return 0. widthOffset Private - Answer the pixels to be added or subtracted to the width of the receiver, with respect to the value set in a relative fashion through the #width: method. widthOffset: value Add or subtract to the width of the receiver a fixed amount of 'value' pixels, with respect to the value set in a relative fashion through the #width: method. Usage of this method is deprecated; use #inset: and BContainers instead. widthPixels: value Set the current width of the receiver to 'value' pixels. Note that, after calling this method, #width will answer 0, which is logical considering that there is no 'variable' part of the size (refer to #width and #width: for more explanations). x Answer the 'variable' part of the receiver's x within the parent widget. The value returned does not include any fixed amount of pixels indicated by #xOffset: and must be interpreted in a relative fashion: the ratio of the returned value to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. Behavior if the left or right edges are not within the client area of the parent is not defined - the window might be clamped or might be positioned according to the specification. x: value Set to 'value' the x of the widget within the parent widget. The value is specified in a relative fashion as an integer, so that the ratio of 'value' to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. x: xPos y: yPos Set the origin of the receiver through its components xPos and yPos. x: xPos y: yPos width: xSize height: ySize Set the bounding box of the receiver through its origin and size. xAbsolute Force a recalculation of the layout of widgets in the receiver's parent, then answer the current x of the receiver in pixels. xChild: child Answer the given child's x. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #x method. You should not use this method, which is automatically called by the child's #x method, but you might want to override. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just return 0. xOffset Private - Answer the pixels to be added or subtracted to the x of the receiver, with respect to the value set in a relative fashion through the #x: method. xOffset: value Add or subtract to the x of the receiver a fixed amount of 'value' pixels, with respect to the value set in a relative fashion through the #x: method. Usage of this method is deprecated; use #inset: and BContainers instead. xPixels: value Set the current x of the receiver to 'value' pixels. Note that, after calling this method, #x will answer 0, which is logical considering that there is no 'variable' part of the size (refer to #x and #x: for more explanations). xRoot Answer the x position of the receiver with respect to the top-left corner of the desktop (including the offset of the virtual root window under X). y Answer the 'variable' part of the receiver's y within the parent widget. The value returned does not include any fixed amount of pixels indicated by #yOffset: and must be interpreted in a relative fashion: the ratio of the returned value to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. Behavior if the left or right edges are not within the client area of the parent is not defined - the window might be clamped or might be positioned according to the specification. y: value Set to 'value' the y of the widget within the parent widget. The value is specified in a relative fashion as an integer, so that the ratio of 'value' to the current size of the parent will be preserved upon resize. This apparently complicated method is known as 'rubber sheet' geometry management. yAbsolute Force a recalculation of the layout of widgets in the receiver's parent, then answer the current y of the receiver in pixels. yChild: child Answer the given child's y. The default implementation of this method uses 'rubber-sheet' geometry management as explained in the comment to BWidget's #y method. You should not use this method, which is automatically called by the child's #y method, but you might want to override. The child's property slots whose name ends with 'Geom' are reserved for this method. This method should never fail - if it doesn't apply to the kind of geometry management that the receiver does, just return 0. yOffset Private - Answer the pixels to be added or subtracted to the y of the receiver, with respect to the value set in a relative fashion through the #y: method. yOffset: value Add or subtract to the y of the receiver a fixed amount of 'value' pixels, with respect to the value set in a relative fashion through the #y: method. Usage of this method is deprecated; use #inset: and BContainers instead. yPixels: value Set the current y of the receiver to 'value' pixels. Note that, after calling this method, #y will answer 0, which is logical considering that there is no 'variable' part of the size (refer to #y and #y: for more explanations). yRoot Answer the y position of the receiver with respect to the top-left corner of the desktop (including the offset of the virtual root window under X). 1.49.5 BLOX.BWidget: widget protocol ------------------------------------ activate At any given time, one window on each display is designated as the focus window; any key press or key release events for the display are sent to that window. This method allows one to choose which window will have the focus in the receiver's display If the application currently has the input focus on the receiver's display, this method resets the input focus for the receiver's display to the receiver. If the application doesn't currently have the input focus on the receiver's display, Blox will remember the receiver as the focus for its top-level; the next time the focus arrives at the top-level, it will be redirected to the receiver (this is because most window managers will set the focus only to top-level windows, leaving it up to the application to redirect the focus among the children of the top-level). activateNext Activate the next widget in the focus 'tabbing' order. The focus order depends on the widget creation order; you can set which widgets are in the order with the #tabStop: method. activatePrevious Activate the previous widget in the focus 'tabbing' order. The focus order depends on the widget creation order; you can set which widgets are in the order with the #tabStop: method. bringToTop Raise the receiver so that it is above all of its siblings in the widgets' z-order; the receiver will not be obscured by any siblings and will obscure any siblings that overlap it. isActive Return whether the receiver is the window that currently owns the focus on its display. sendToBack Lower the receiver so that it is below all of its siblings in the widgets' z-order; the receiver will be obscured by any siblings that overlap it and will not obscure any siblings. 1.50 BLOX.BWindow ================= Defined in namespace BLOX Superclass: BLOX.BForm Category: Graphics-Windows I am the boss. Nothing else could be viewed or interacted with if it wasn't for me... )):-> 1.50.1 BLOX.BWindow class: instance creation -------------------------------------------- new Answer a new top-level window. new: label Answer a new top-level window with 'label' as its title bar caption. popup: initializationBlock This method should not be called for instances of this class. 1.50.2 BLOX.BWindow: accessing ------------------------------ callback Answer a DirectedMessage that is sent to verify whether the receiver must be destroyed when the user asks to unmap it. callback: aReceiver message: aSymbol Set up so that aReceiver is sent the aSymbol message (the name of a zero- or one-argument selector) when the user asks to unmap the receiver. If the method accepts an argument, the receiver is passed. If the method returns true, the window and its children are destroyed (which is the default action, taken if no callback is set up). If the method returns false, the window is left in place. invokeCallback Generate a synthetic callback, destroying the window if no callback was set up or if the callback method answers true. label Answer the value of the label option for 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. label: value Set the value of the label option for 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. menu: value Set the value of the menu option for the widget. Specifies a menu widget to be used as a menubar. On the Macintosh, the menubar will be displayed accross the top of the main monitor. On Microsoft Windows and all UNIX platforms, the menu will appear accross the toplevel window as part of the window dressing maintained by the window manager. resizable Answer the value of the resizable option for the widget. Answer whether the user can be resize the window or not. If resizing is disabled, then the window's size will be the size from the most recent interactive resize or geometry-setting method. If there has been no such operation then the window's natural size will be used. resizable: value Set the value of the resizable option for the widget. Answer whether the user can be resize the window or not. If resizing is disabled, then the window's size will be the size from the most recent interactive resize or geometry-setting method. If there has been no such operation then the window's natural size will be used. 1.50.3 BLOX.BWindow: widget protocol ------------------------------------ center Center the window in the screen centerIn: view Center the window in the given widget height Answer the height of the window, as deduced from the geometry that the window manager imposed on the window. height: anInteger Ask the window manager to give the given height to the window. heightAbsolute Answer the height of the window, as deduced from the geometry that the window manager imposed on the window. heightOffset: value This method should not be called for instances of this class. iconify Map a window and in iconified state. If a window has not been mapped yet, this is achieved by mapping the window in withdrawn state first, and then iconifying it. isMapped Answer whether the window is mapped isWindow Answer 'true'. map Map the window and bring it to the topmost position in the Z-order. modalMap Map the window while establishing an application-local grab for it. An event loop is started that ends only after the window has been destroyed. When a grab is set for a particular window, all pointer events are restructed to the grab window and its descendants in Blox's window hierarchy. Whenever the pointer is within the grab window's subtree, the pointer will behave exactly the same as if there had been no grab grab at all and all events will be reported in the normal fashion. When the pointer is outside the window's tree, button presses and releases and mouse motion events are reported to the grabbing window, and window entry and window exit events are ignored. In other words, windows outside the grab subtree will be visible on the screen but they will be insensitive until the grab is released. The tree of windows underneath the grab window can include top-level windows, in which case all of those top-level windows and their descendants will continue to receive mouse events during the grab. Keyboard events (key presses and key releases) are delivered as usual: the window manager controls which application receives keyboard events, and if they are sent to any window in the grabbing application then they are redirected to the window owning the focus. state Set the value of the state option for the window. Specifies one of four states for the window: either normal, iconic, withdrawn, or (Windows only) zoomed. state: aSymbol Raise an error. To set a BWindow's state, use #map and #unmap. unmap Unmap a window, causing it to be forgotten about by the window manager width Answer the width of the window, as deduced from the geometry that the window manager imposed on the window. width: anInteger Ask the window manager to give the given width to the window. width: xSize height: ySize Ask the window manager to give the given width and height to the window. widthAbsolute Answer the width of the window, as deduced from the geometry that the window manager imposed on the window. widthOffset: value This method should not be called for instances of this class. window Answer the receiver. x Answer the x coordinate of the window's top-left corner, as deduced from the geometry that the window manager imposed on the window. x: anInteger Ask the window manager to move the window's left border to the given x coordinate, keeping the size unchanged x: xPos y: yPos Ask the window manager to move the window's top-left corner to the given coordinates, keeping the size unchanged x: xPos y: yPos width: xSize height: ySize Ask the window manager to give the requested geometry to the window. xAbsolute Answer the x coordinate of the window's top-left corner, as deduced from the geometry that the window manager imposed on the window. xOffset: value This method should not be called for instances of this class. y Answer the y coordinate of the window's top-left corner, as deduced from the geometry that the window manager imposed on the window. y: anInteger Ask the window manager to move the window's left border to the given y coordinate, keeping the size unchanged yAbsolute Answer the y coordinate of the window's top-left corner, as deduced from the geometry that the window manager imposed on the window. yOffset: value This method should not be called for instances of this class. 1.51 BLOX.Gui ============= Defined in namespace BLOX Superclass: Object Category: Graphics-Windows I am a small class which serves as a base for complex objects which expose an individual protocol but internally use a Blox widget for creating their user interface. 1.51.1 BLOX.Gui: accessing -------------------------- blox Return instance of blox subclass which implements window blox: aBlox Set instance of blox subclass which implements window 2 Complex number computations ***************************** 2.1 Complex =========== Defined in namespace Smalltalk Superclass: Number Category: Examples-Useful I provide complex numbers, with full interoperability with other kinds of numbers. Complex numbers can be created from imaginary numbers, which in turn are created with 'Complex i' or the #i method (e.g. '3 i'). Alternatively, they can be created from polar numbers. 2.1.1 Complex class: instance creation -------------------------------------- i Return the imaginary unit, -1 sqrt. initialize Initialize some common complex numbers. new This method should not be called for instances of this class. real: re imaginary: im Return a complex number with the given real and imaginary parts. realResult: re imaginary: im Private - Return a new complex number knowing that re and im have the same generality. rho: dist theta: angle Return a complex number whose absolute value is dist and whose argument is angle. 2.1.2 Complex: comparing ------------------------ < aNumber Not commented. <= aNumber Not commented. = aNumber Not commented. > aNumber Not commented. >= aNumber Not commented. hash Not commented. ~= aNumber Not commented. 2.1.3 Complex: converting ------------------------- asExactFraction Not commented. asFloat Not commented. asFloatD Not commented. asFloatE Not commented. asFloatQ Not commented. asFraction Not commented. ceiling Not commented. floor Not commented. rounded Not commented. truncated Not commented. 2.1.4 Complex: creation/coercion -------------------------------- coerce: aNumber Not commented. generality Not commented. i Return the receiver multiplied by the imaginary unit. imaginary Answer 'im'. isComplex Answer 'true'. one Answer 'One'. real Answer 're'. setReal: real imaginary: imag Not commented. zero Answer 'Zero'. 2.1.5 Complex: math ------------------- * z Multiply the receiver by the (real or complex) number z. + z Sum the receiver with the (real or complex) number z. - z Subtract the (real or complex) number z from the receiver. / z Divide the receiver by the (real or complex) number z. abs Return the absolute value of the receiver. absSquared Return the squared absolute value of the receiver. conjugate Return the complex conjugate of the receiver. reciprocal Return the reciprocal of the receiver. 2.1.6 Complex: printing ----------------------- printOn: aStream Not commented. storeOn: aStream Not commented. 2.1.7 Complex: testing ---------------------- isExact Answer whether the receiver performs exact arithmetic. Complex numbers do so as long as both parts, real and imaginary, are exact. 2.1.8 Complex: transcendental functions --------------------------------------- arcTan Return the arc-tangent of the receiver. arcTan: aNumber Return the arc-tangent of aNumber divided by the receiver. arg Return the argument of the receiver. cos Return the cosine of the receiver. cosh Return the hyperbolic cosine of the receiver. exp Return e raised to the receiver. ln Return the natural logarithm of the receiver. log Return the base-10 logarithm of the receiver. sin Return the sine of the receiver. sinh Return the hyperbolic sine of the receiver. sqrt Return the square root of the receiver. Can be improved! tan Return the tangent of the receiver. tanh Return the hyperbolic tangent of the receiver. 3 Database connectivity with DBI ******************************** 3.1 DBI.ColumnInfo ================== Defined in namespace DBI Superclass: Object Category: DBI-Framework 3.1.1 DBI.ColumnInfo: accessing ------------------------------- index Return the 1-based index of the column in the result set (abstract). isNullable Return whether the column can be NULL (always returns true in ColumnInfo). name Return the name of the column (abstract). size Return the size of the column (abstract). type Return a string containing the type of the column (abstract). 3.1.2 DBI.ColumnInfo: printing ------------------------------ displayOn: aStream Print a representation of the receiver on aStream. printOn: aStream Print a representation of the receiver on aStream. 3.2 DBI.Connection ================== Defined in namespace DBI Superclass: Object Category: DBI-Framework I represent a connection to a database. 3.2.1 DBI.Connection class: connecting -------------------------------------- connect: aDSN user: aUserName password: aPassword Connect to the database server identified by aDSN using the given username and password. The DSN is in the format dbi:DriverName:dbname=database_name;host=hostname;port=port Where dbi is constant, DriverName is the name of the driver, and everything else is parameters in the form name1=value1;name2=value2;... Individual drivers may parse the parameters differently, though the existing ones all support parameters dbname, host and port. paramConnect: params user: aUserName password: aPassword Connect to the database server using the parameters in params (a Dictionary) and the given username and password (abstract). 3.2.2 DBI.Connection class: initialization ------------------------------------------ updateDriverList Private - Look for new subclasses of Connection. 3.2.3 DBI.Connection: accessing ------------------------------- >> aString Returns a Table object corresponding to the given table. database Returns the database name for this connection. This corresponds to the catalog in SQL standard parlance (abstract). fieldConverter Returns a FieldConverter that can be used to insert Smalltalk objects into queries. tableAt: aString Returns a Table object corresponding to the given table. tableAt: aString ifAbsent: aBlock Returns a Table object corresponding to the given table. 3.2.4 DBI.Connection: connecting -------------------------------- close Close the connection now; should happen on GC too (abstract). 3.2.5 DBI.Connection: querying ------------------------------ do: aSQLQuery Executes a SQL statement (usually one that doesn't return a result set). Return value is a ResultSet, to which you can send #rowsAffected (abstract). prepare: aSQLQuery Creates a statement object, that can be executed (with parameters, if applicable) repeatedly (abstract). primTableAt: aString ifAbsent: aBlock Returns a Table object corresponding to the given table. Should be overridden by subclasses. select: aSQLQuery Prepares and executes a SQL statement. Returns the result set or throws an exception on failure (abstract). 3.3 DBI.ConnectionInfo ====================== Defined in namespace DBI Superclass: Object Category: DBI-Framework A utility class to contain connection info. 3.3.1 DBI.ConnectionInfo class: instance creation ------------------------------------------------- fromDSN: aDSN Parse a DSN in the format dbi:DriverName:dbname=database_name;host=hostname;port=port where dbi is constant, DriverName is the name of the driver, and everything else is parameters in the form name1=value1;name2=value2;... 3.3.2 DBI.ConnectionInfo: accessing ----------------------------------- driver Answer the driver; this is not the driver class. driver: aString Set the driver; this is not the driver class. paramString: aString Set the parameter list. params Return the parsed parameters in a Dictionary. scheme Answer the scheme; the only supported one is 'dbi'. scheme: aString Set the scheme; the only supported one is 'dbi'. 3.4 DBI.FieldConverter ====================== Defined in namespace DBI Superclass: Object Category: DBI 3.4.1 DBI.FieldConverter class: instance creation ------------------------------------------------- new Not commented. uniqueInstance Not commented. 3.4.2 DBI.FieldConverter: actions --------------------------------- print: aValue on: aStream Not commented. printString: aValue Not commented. 3.4.3 DBI.FieldConverter: converting-smalltalk ---------------------------------------------- writeBoolean: aBoolean on: aStream Not commented. writeDate: aDate on: aStream Not commented. writeDateTime: aDateTime on: aStream Not commented. writeFloat: aFloat on: aStream Not commented. writeInteger: anInteger on: aStream Not commented. writeQuotedDate: aDate on: aStream Not commented. writeQuotedTime: aDate on: aStream Not commented. writeTime: aTime on: aStream Not commented. 3.5 DBI.ResultSet ================= Defined in namespace DBI Superclass: Stream Category: DBI-Framework I represent a result set, ie. the set of rows returned from a SELECT statement. I may also be returned for DML statements (INSERT, UPDATE, DELETE), in which case I only hold the number of rows affected. 3.5.1 DBI.ResultSet: accessing ------------------------------ columnAt: aIndex Answer the aIndex'th column name. columnNames Answer an array of column names in order (abstract). columns Answer a Dictionary of column name -> ColumnInfo pairs (abstract). isDML Returns true if the statement was not a SELECT or similar operation (e.g. SHOW, DESCRIBE, EXPLAIN). isSelect Returns true if the statement was a SELECT or similar operation (e.g. SHOW, DESCRIBE, EXPLAIN), false otherwise. rowCount Returns the number of rows in the result set; error for DML statements. rows Answer the contents of the execution result as array of Rows. rowsAffected For DML statments, returns the number of rows affected; error for SELECT statements. statement Return the Statement, if any, that generated the result set. 3.5.2 DBI.ResultSet: cursor access ---------------------------------- atEnd Return whether all the rows in the result set have been consumed. (abstract). fetch Return the next row, or nil if at the end of the result set. next Return the next row, or raise an error if at the end of the stream (abstract). 3.5.3 DBI.ResultSet: printing ----------------------------- printOn: aStream Print a representation of the receiver on aStream. 3.5.4 DBI.ResultSet: stream protocol ------------------------------------ position Returns the current row index (0-based) in the result set (abstract). position: anInteger Sets the current row index (0-based) in the result set (abstract). size Returns the number of rows in the result set. 3.6 DBI.Row =========== Defined in namespace DBI Superclass: Object Category: DBI-Framework I represent a row in a result set. 3.6.1 DBI.Row: accessing ------------------------ asArray Return the values of the columns. asDictionary Return the names and values of the columns as a dictionary. at: aColumnName Return the value of the named column (abstract). atIndex: aColumnIndex Return the value of the column at the given 1-based index (abstract). columnAt: aIndex Return a ColumnInfo object for the aIndex-th column in the row. columnCount Return the number of columns in the row. columnNames Return an array of column names for the columns in the row. columns Return a Dictionary of ColumnInfo objects for the columns in the row, where the keys are the column names. keysAndValuesDo: aBlock Pass to aBlock each column name and the corresponding value. resultSet Return the result set that includes the receiver. 3.6.2 DBI.Row: printing ----------------------- printOn: aStream Print a representation of the receiver on aStream. 3.7 DBI.Statement ================= Defined in namespace DBI Superclass: Object Category: DBI-Framework I represent a prepared statement. 3.7.1 DBI.Statement class: instance creation -------------------------------------------- on: aConnection Return a new statement for this connection. 3.7.2 DBI.Statement: querying ----------------------------- execute Execute with no parameters (abstract). executeWith: aParameter Execute with one parameters. executeWith: aParam1 with: aParam2 Execute with two parameters. executeWith: aParam1 with: aParam2 with: aParam3 Execute with three parameters. executeWithAll: aParams Execute taking parameters from the Collection aParams (abstract). 3.8 DBI.Table ============= Defined in namespace DBI Superclass: DBI.ROE.RASQLRelation Category: DBI 3.8.1 DBI.Table: accessing -------------------------- columnAt: aIndex Answer the aIndex'th column name. columnNames Answer an array of column names in order (abstract). columns Not commented. database Returns the database name for this table. This corresponds to the catalog in SQL standard parlance. 3.8.2 DBI.Table: core --------------------- size Not commented. 3.8.3 DBI.Table: printing ------------------------- print: anObject on: aStream Not commented. 4 Controlling Smalltalk processes with DebugTools ************************************************* 4.1 Debugger ============ Defined in namespace Smalltalk Superclass: Object Category: System-Debugging I provide debugging facilities for another inferior process. I have methods that allow the controlled process to proceed with varying granularity. In addition, I keep a cache mapping instruction pointer bytecodes to line numbers. 4.1.1 Debugger class: disabling debugging ----------------------------------------- debuggerClass Answer 'nil'. 4.1.2 Debugger class: instance creation --------------------------------------- on: aProcess Suspend aProcess and return a new Debugger that controls aProcess. aProcess must not be the currently running process. 4.1.3 Debugger class: source code --------------------------------- currentLineIn: aContext Not commented. 4.1.4 Debugger: inferior process properties ------------------------------------------- currentLine Return the line number in traced process. isActive Answer true if the inferior process is still running. process Answer the inferior process. suspendedContext Answer the suspended execution state of the inferior process. 4.1.5 Debugger: stepping commands --------------------------------- continue Terminate the controlling process and continue execution of the traced process. finish Run to the next return. finish: aContext Run up until aContext returns. next Run to the end of the current line in the inferior process, skipping over message sends. slowFinish Run in single-step mode up to the next return. slowFinish: aContext Run in single-step mode until aContext returns. step Run to the end of the current line in the inferior process or to the next message send. stepBytecode Run a single bytecode in the inferior process. stopInferior Suspend the inferior process and raise a DebuggerReentered notification in the controlling process. stopInferior: anObject Suspend the inferior process and raise a DebuggerReentered notification in the controlling process with anObject as the exception's message. 5 Multilingual and international support with Iconv and I18N ************************************************************ 5.1 I18N.BigEndianFileStream ============================ Defined in namespace I18N Superclass: FileStream Category: i18n-Messages Unlike ByteStream and FileStream, this retrieves integer numbers in big-endian (68000, PowerPC, SPARC) order. 5.2 I18N.EncodedStream ====================== Defined in namespace I18N Superclass: Stream Category: i18n-Character sets This class is a factory for subclasses of Encoder. Encoders act as parts of a pipe, hence this class provides methods that construct an appropriate pipe. 5.2.1 I18N.EncodedStream class: initializing -------------------------------------------- initialize Initialize the registry of the encoders to include the standard encoders contained in the library. registerEncoderFor: arrayOfAliases toUTF32: toUTF32Class fromUTF32: fromUTF32Class Register the two classes that will respectively convert from the charsets in arrayOfAliases to UTF-32 and vice versa. The former class is a stream that accepts characters and returns (via #next) integers representing UTF-32 character codes, while the latter accepts UTF-32 character codes and converts them to characters. For an example see respectively FromUTF7 and ToUTF7 (I admit it is not a trivial example). 5.2.2 I18N.EncodedStream class: instance creation ------------------------------------------------- encoding: anUnicodeString Answer a pipe of encoders that converts anUnicodeString to default encoding for strings (the current locale's default charset if none is specified). encoding: aStringOrStream as: toEncoding Answer a pipe of encoders that converts anUnicodeString (which contains to the supplied encoding (which can be an ASCII String or Symbol). on: aStringOrStream from: fromEncoding Answer a pipe of encoders that converts aStringOrStream (which can be a string or another stream) from the given encoding to the default locale's default charset. on: aStringOrStream from: fromEncoding to: toEncoding Answer a pipe of encoders that converts aStringOrStream (which can be a string or another stream) between the two supplied encodings (which can be ASCII Strings or Symbols) on: aStringOrStream to: toEncoding Answer a pipe of encoders that converts aStringOrStream (which can be a string or another stream) from the default locale's default charset to the given encoding. unicodeOn: aStringOrStream Answer a pipe of encoders that converts aStringOrStream (which can be a string or another stream) from its encoding (or the current locale's default charset, if the encoding cannot be determined) to integers representing Unicode character codes. unicodeOn: aStringOrStream encoding: fromEncoding Answer a pipe of encoders that converts aStringOrStream (which can be a string or another stream) from the supplied encoding (which can be an ASCII String or Symbol) to integers representing Unicode character codes. 5.3 I18N.EncodedString ====================== Defined in namespace I18N Superclass: CharacterArray Category: i18n-Character sets An EncodedString, like a String, is a sequence of bytes representing a specific encoding of a UnicodeString. Unlike a String, however, the encoding name is known, rather than detected, irrelevant or assumed to be the system default. 5.3.1 I18N.EncodedString class: accessing ----------------------------------------- isUnicode Answer false; the receiver stores bytes (i.e. an encoded form), not characters. 5.3.2 I18N.EncodedString class: instance creation ------------------------------------------------- fromString: aString Not commented. fromString: aString encoding: encoding Not commented. new This method should not be called for instances of this class. new: size This method should not be called for instances of this class. 5.3.3 I18N.EncodedString: accessing ----------------------------------- asString Answer 'string'. asUnicodeString Not commented. at: anIndex Not commented. at: anIndex put: anObject Not commented. do: aBlock Not commented. encoding Not commented. hash Not commented. size Not commented. species Not commented. utf16Encoding Not commented. utf32Encoding Not commented. valueAt: anIndex Not commented. valueAt: anIndex put: anObject Not commented. 5.3.4 I18N.EncodedString: copying --------------------------------- copy Not commented. copyEmpty Not commented. copyEmpty: size Not commented. 5.3.5 I18N.EncodedString: initializing -------------------------------------- encoding: aString Not commented. setString: aString Not commented. 5.3.6 I18N.EncodedString: printing ---------------------------------- displayOn: aStream Print a representation of the receiver on aStream. Unlike #printOn:, this method does not display the encoding and enclosing quotes. printOn: aStream Print a representation of the receiver on aStream. 5.4 I18N.EncodedStringFactory ============================= Defined in namespace I18N Superclass: Object Category: i18n-Character sets An EncodedStringFactory is used (in place of class objects) so that Encoders can return EncodedString objects with the correct encoding. 5.4.1 I18N.EncodedStringFactory class: instance creation -------------------------------------------------------- encoding: aString Answer a new EncodedStringFactory, creating strings with the given encoding. 5.4.2 I18N.EncodedStringFactory: accessing ------------------------------------------ isUnicode Answer false; the receiver stores bytes (i.e. an encoded form), not characters. 5.4.3 I18N.EncodedStringFactory: instance creation -------------------------------------------------- encoding Answer the encoding used for the created Strings. encoding: aString Set the encoding used for the created Strings. fromString: aString Answer an EncodedString based on aString and in the encoding represented by the receiver. new Answer a new, empty EncodedString using the encoding represented by the receiver. new: size Answer a new EncodedString of the given size, using the encoding represented by the receiver. 5.5 I18N.Encoder ================ Defined in namespace I18N Superclass: Stream Category: i18n-Character sets This class is the superclass of streams that take an origin and encode it to another character set. The subclasses are are for internal use unless you are writing support for your own encodings. 5.5.1 I18N.Encoder class: instance creation ------------------------------------------- on: aStringOrStream from: fromEncoding to: toEncoding Answer a new encoder that translates from fromEncoding to toEncoding. The encodings are guaranteed to be those for which the encoder was registered. 5.5.2 I18N.Encoder: stream operations ------------------------------------- atEnd Return whether the receiver can produce another character in the receiver; by default, this is true if there is another character in the origin. atEndOfInput Return whether there is another character in the origin. This method is for private use by encoders, calling it outside won't corrupt the internal state of the encoder but the result probably won't be meaningful (depending on the innards of the encoder). next Return the next character in the receiver; by default, this is the next character in the origin. nextInput Return the next character in the origin. This method is for private use by encoders, calling it outside may corrupt the internal state of the encoder. nextInputAvailable: n into: aCollection startingAt: pos Place up to N characters from the origin in aCollection. This method is for private use by encoders, calling it outside may corrupt the internal state of the encoder. peekInput Return the next character in the origin without advancing it. species We answer a string of Characters encoded in our destination encoding. 5.6 I18N.FileStreamSegment ========================== Defined in namespace I18N Superclass: FileSegment Category: i18n-Messages Unlike FileSegment, this object assumes that the 'file' instance variable is a FileStream, not a file name. 5.6.1 I18N.FileStreamSegment: basic ----------------------------------- fileName Answer the name of the file containing the segment withFileDo: aBlock Evaluate aBlock, passing a FileStream corresponding to the file 5.7 I18N.IncompleteSequenceError ================================ Defined in namespace I18N Superclass: Error Category: i18n-Character sets I am raised if an invalid sequence is found while converting a string from a charset to another. In particular, I am raised if the input stream ends abruptly in the middle of a multi-byte sequence. 5.7.1 I18N.IncompleteSequenceError: accessing --------------------------------------------- description Answer a textual description of the exception. 5.8 I18N.InvalidCharsetError ============================ Defined in namespace I18N Superclass: SystemExceptions.SystemExceptions.InvalidArgument Category: i18n-Character sets I am raised if the user tries to encode from or to an unknown encoding 5.8.1 I18N.InvalidCharsetError: accessing ----------------------------------------- description Answer a textual description of the exception. 5.9 I18N.InvalidSequenceError ============================= Defined in namespace I18N Superclass: Error Category: i18n-Character sets I am raised if an invalid sequence is found while converting a string from a charset to another 5.9.1 I18N.InvalidSequenceError: accessing ------------------------------------------ description Answer a textual description of the exception. 5.10 I18N.LcMessages ==================== Defined in namespace I18N Superclass: I18N.LocaleConventions Category: i18n-Messages This object is a factory of LcMessagesDomain objects 5.10.1 I18N.LcMessages class: accessing --------------------------------------- category Answer the environment variable used to determine the default locale selector Answer the selector that accesses the receiver when sent to a Locale object. 5.10.2 I18N.LcMessages: accessing --------------------------------- languageDirectory Answer the directory holding MO files for the language languageDirectory: rootDirectory Answer the directory holding MO files for the language, given the root directory of the locale data. territoryDirectory Answer the directory holding MO files for the language, specific to the territory territoryDirectory: rootDirectory Answer the directory holding MO files for the language, specific to the territory, given the root directory of the locale data. 5.10.3 I18N.LcMessages: opening MO files ---------------------------------------- ? aString Answer an object for the aString domain, querying both the language catalog (e.g. pt) and the territory catalog (e.g. pt_BR or pt_PT). domain: aString Answer an object for the aString domain, querying both the language catalog (e.g. pt) and the territory catalog (e.g. pt_BR or pt_PT). domain: aString localeDirectory: rootDirectory Answer an object for the aString domain, querying both the language catalog (e.g. pt) and the territory catalog (e.g. pt_BR or pt_PT). The localeDirectory is usually '/share/locale'. 5.11 I18N.LcMessagesCatalog =========================== Defined in namespace I18N Superclass: I18N.LcMessagesDomain Category: i18n-Messages This object is an abstract superclass of objects that retrieve translated strings from a file. 5.12 I18N.LcMessagesDomain ========================== Defined in namespace I18N Superclass: I18N.LocaleData Category: i18n-Messages This object is an abstract superclass for message domains (catalogs). It contains methods to create instances of its subclasses, but they are commonly used only by LcMessages. Translations are accessed using either #at: or the shortcut binary messages '?'. This way, common idioms to access translated strings will be string := NLS? 'abc'. string := self? 'abc'. (in the first case NLS is a class variable, in the second the receiver implements #? through delegation) which is only five or six characters longer than the traditional string := 'abc'. (cfr. the _("abc") idiom used by GNU gettext) 5.12.1 I18N.LcMessagesDomain class: opening MO files ---------------------------------------------------- id: anArray on: aFileName Create an instance of the receiver with a given locale identifier from a path to the MO file 5.12.2 I18N.LcMessagesDomain: handling the cache ------------------------------------------------ flush Flush the receiver's cache of translations shouldCache Answer whether translations should be cached. Never override this method to always answer false, because that would cause bugs when transliteration is being used. 5.12.3 I18N.LcMessagesDomain: querying -------------------------------------- ? aString Answer the translation of 'aString', or answer aString itself if none is available. at: aString Answer the translation of 'aString', or answer aString itself if none is available. at: singularString plural: pluralString with: n Answer either the translation of pluralString with '%1' replaced by n if n ~= 1, or the translation of singularString if n = 1. at: aString put: anotherString This method should not be called for instances of this class. translatorInformation Answer information on the translation, or nil if there is none. This information is stored as the 'translation' of an empty string. translatorInformationAt: key Answer information on the translation associated to a given key translatorInformationAt: key at: subkey Answer information on the translation associated to a given key and to a subkey of the key 5.13 I18N.LcMessagesDummyDomain =============================== Defined in namespace I18N Superclass: I18N.LcMessagesDomain Category: i18n-Messages This object does no attempt to translate strings, returning instead the same string passed as an argument to #?. 5.14 I18N.LcMessagesMoFileVersion0 ================================== Defined in namespace I18N Superclass: I18N.LcMessagesCatalog Category: i18n-Messages This object is an concrete class that retrieves translated strings from a GNU gettext MO file. The class method #fileFormatDescription contains an explanation of the file format. 5.14.1 I18N.LcMessagesMoFileVersion0 class: documentation --------------------------------------------------------- fileFormatDescription The Format of GNU MO Files (excerpt of the GNU gettext manual) ============================================================== The format of the generated MO files is best described by a picture, which appears below. The first two words serve the identification of the file. The magic number will always signal GNU MO files. The number is stored in the byte order of the generating machine, so the magic number really is two numbers: '0x950412de' and '0xde120495'. The second word describes the current revision of the file format. For now the revision is 0. This might change in future versions, and ensures that the readers of MO files can distinguish new formats from old ones, so that both can be handled correctly. The version is kept separate from the magic number, instead of using different magic numbers for different formats, mainly because '/etc/magic' is not updated often. It might be better to have magic separated from internal format version identification. Follow a number of pointers to later tables in the file, allowing for the extension of the prefix part of MO files without having to recompile programs reading them. This might become useful for later inserting a few flag bits, indication about the charset used, new tables, or other things. Then, at offset O and offset T in the picture, two tables of string descriptors can be found. In both tables, each string descriptor uses two 32 bits integers, one for the string length, another for the offset of the string in the MO file, counting in bytes from the start of the file. The first table contains descriptors for the original strings, and is sorted so the original strings are in increasing lexicographical order. The second table contains descriptors for the translated strings, and is parallel to the first table: to find the corresponding translation one has to access the array slot in the second array with the same index. Having the original strings sorted enables the use of simple binary search, for when the MO file does not contain an hashing table, or for when it is not practical to use the hashing table provided in the MO file. This also has another advantage, as the empty string in a PO file GNU 'gettext' is usually *translated* into some system information attached to that particular MO file, and the empty string necessarily becomes the first in both the original and translated tables, making the system information very easy to find. The size S of the hash table can be zero. In this case, the hash table itself is not contained in the MO file. Some people might prefer this because a precomputed hashing table takes disk space, and does not win *that* much speed. The hash table contains indices to the sorted array of strings in the MO file. Conflict resolution is done by double hashing. The precise hashing algorithm used is fairly dependent of GNU 'gettext' code, and is not documented here. As for the strings themselves, they follow the hash file, and each is terminated with a , and this is not counted in the length which appears in the string descriptor. The 'msgfmt' program has an option selecting the alignment for MO file strings. With this option, each string is separately aligned so it starts at an offset which is a multiple of the alignment value. On some RISC machines, a correct alignment will speed things up. Nothing prevents a MO file from having embedded s in strings. However, the program interface currently used already presumes that strings are terminated, so embedded s are somewhat useless. But MO file format is general enough so other interfaces would be later possible, if for example, we ever want to implement wide characters right in MO files, where bytes may accidently appear. This particular issue has been strongly debated in the GNU 'gettext' development forum, and it is expectable that MO file format will evolve or change over time. It is even possible that many formats may later be supported concurrently. But surely, we have to start somewhere, and the MO file format described here is a good start. Nothing is cast in concrete, and the format may later evolve fairly easily, so we should feel comfortable with the current approach. byte +----------------------------+ 0 | magic number = 0x950412de | | | 4 | file format revision = 0 | | | 8 | number of strings | == N | | 12 | offset of table with original strings | == O | | 16 | offset of table with translation strings | == T | | 20 | size of hashing table | == S | | 24 | offset of hashing table | == H | | . . . (possibly more entries later) . . . | | O | length & offset 0th string -----------. O + 8 | length & offset 1st string ------------. ... ... | | O + ((N-1)*8)| length & offset (N-1)th string | | | | | | | T | length & offset 0th translation ----------. T + 8 | length & offset 1st translation -----------. ... ... | | | | T + ((N-1)*8)| length & offset (N-1)th translation | | | | | | | | | | | H | start hash table | | | | | ... ... | | | | H + S * 4 | end hash table | | | | | | | | | | | | NUL terminated 0th string <-----------' | | | | | | | | | NUL terminated 1st string <------------' | | | | | | ... ... | | | | | | | NUL terminated 0th translation <----------' | | | | | NUL terminated 1st translation <-----------' | | ... ... | | +----------------------------+ Locating Message Catalog Files -------------------- Because many different languages for many different packages have to be stored we need some way to add these information to file message catalog files. The way usually used in Unix environments is have this encoding in the file name. This is also done here. The directory name given in 'bindtextdomain's second argument (or the default directory), followed by the value and name of the locale and the domain name are concatenated: DIR_NAME/LOCALE/LC_CATEGORY/DOMAIN_NAME.mo The default value for DIR_NAME is system specific. For the GNU library, and for packages adhering to its conventions, it's: /usr/local/share/locale LOCALE is the value of the locale whose name is this 'LC_CATEGORY'. For 'gettext' and 'dgettext' this locale is always 'LC_MESSAGES'. 5.14.2 I18N.LcMessagesMoFileVersion0 class: plurals --------------------------------------------------- initialize Initialize a table with the expressions computing the plurals for the most common languages pluralExpressionFor: locale ifAbsent: aBlock Answer a RunTimeExpression yielding the plural form for the given language and territory, if one is known, else evaluate aBlock and answer it. 5.14.3 I18N.LcMessagesMoFileVersion0: flushing the cache -------------------------------------------------------- flush Flush the cache and reread the catalog's metadata. shouldCache Answer true, we always cache translations if they are read from a file 5.15 I18N.LcMessagesTerritoryDomain =================================== Defined in namespace I18N Superclass: I18N.LcMessagesDomain Category: i18n-Messages This object asks for strings to a primary domain (e.g. it_IT) and a secondary one (e.g. it). 5.15.1 I18N.LcMessagesTerritoryDomain class: instance creation -------------------------------------------------------------- primary: domain1 secondary: domain2 Answer an instance of the receiver that queries, in sequence, domain1 and domain2 5.16 I18N.LcMonetary ==================== Defined in namespace I18N Superclass: I18N.LcNumeric Category: i18n-Printing Sending either #?, #printString: or #print:on: converts a Number to a String according to the rules that are mandated by ISO for printing currency amounts in the current locale. 5.16.1 I18N.LcMonetary class: accessing --------------------------------------- category Answer the environment variable used to determine the default locale selector Answer the selector that accesses the receiver when sent to a Locale object. 5.16.2 I18N.LcMonetary: printing -------------------------------- print: aNumber on: aStream Print aNumber on aStream according to the receiver's formatting conventions. Always print a currency sign and don't force to print negative numbers by putting parentheses around them. print: aNumber on: aStream currency: currency parentheses: p Print aNumber on aStream according to the receiver's formatting conventions. If currency is true, print a currency sign, and if p is true force to print negative numbers by putting parentheses around them. If p is true, for positive numbers spaces are put around the number to keep them aligned. 5.17 I18N.LcMonetaryISO ======================= Defined in namespace I18N Superclass: I18N.LcMonetary Category: i18n-Printing 5.17.1 I18N.LcMonetaryISO class: accessing ------------------------------------------ selector Answer the selector that accesses the receiver when sent to a Locale object. 5.18 I18N.LcNumeric =================== Defined in namespace I18N Superclass: I18N.LcPrintFormats Category: i18n-Printing Sending either #?, #printString: or #print:on: converts a Number to a String according to the rules that are used in the given locale. 5.18.1 I18N.LcNumeric class: accessing -------------------------------------- category Answer the environment variable used to determine the default locale selector Answer the selector that accesses the receiver when sent to a Locale object. 5.18.2 I18N.LcNumeric: printing ------------------------------- basicPrint: aNumber on: aStream Print aNumber on aStream according to the receiver's formatting conventions, without currency signs or anything like that. This method must not be overridden. print: aNumber on: aStream Print aNumber on aStream according to the receiver's formatting conventions. 5.19 I18N.LcPrintFormats ======================== Defined in namespace I18N Superclass: I18N.LocaleConventions Category: i18n-Messages LcPrintFormats subclasses have instances that understand #?, #printString: and #print:on: (the last of which is abstract) which provide a means to convert miscellaneous objects to Strings according to the rules that are used in the given locale. 5.19.1 I18N.LcPrintFormats: printing ------------------------------------ ? anObject Answer how anObject must be printed according to the receiver's formatting conventions. print: anObject on: aStream Print anObject on aStream according to the receiver's formatting conventions. printString: anObject Answer how anObject must be printed according to the receiver's formatting conventions. 5.20 I18N.LcTime ================ Defined in namespace I18N Superclass: I18N.LcPrintFormats Category: i18n-Printing Sending either #?, #printString: or #print:on: converts a Date or Time to a String according to the rules that are used in the given locale. 5.20.1 I18N.LcTime class: accessing ----------------------------------- category Answer the environment variable used to determine the default locale selector Answer the selector that accesses the receiver when sent to a Locale object. 5.20.2 I18N.LcTime: printing ---------------------------- print: aDateOrTimeOrArray on: aStream Print aDateOrTimeOrArray on aStream according to the receiver's formatting conventions. It can be a Date, Time, DateTime, or an array made of a Date and a Time print: aDateOrTimeOrArray on: aStream ifFull: fullFmt ifDate: dateFmt ifTime: timeFmt Print aDateOrTimeOrArray on aStream according to the receiver's formatting conventions. It can be a Date, Time, DateTime, or an array made of a Date and a Time: Date is printed with dateFmt and Time with timeFmt, while in the other cases fullFmt is used. For information on the formatting codes, see #print:time:format:on:. print: aDate time: aTime format: aString on: aStream Print the specified date and time on aStream according to the receiver's formatting conventions, using the given format. The valid abbreviations are the same used by the C function strftime: abbreviated weekday (%a) weekday (%A) abbreviated month (%b) month (%B) date & time (%c) century (%C) day of the month (%d) date (US) (%D) day of the month (%e) year for the ISO week (%g) year for the ISO week (%G) abbreviated month (%h) hours (%H) hours (AM/PM) (%I) day of the year (%j) hours (%k) hours (AM/PM) (%l) month (%m) minutes (%M) AM/PM (%p) lowercase AM/PM (%P) AM/PM time (%r) time (US) (%R) time_t (%s) seconds (%S) time (US) (%T) day of the week (%u) week number starting at Sun (%U) week number starting at Thu (%V) day of the week, Sunday=0 (%w) week number starting at Mon (%W) date (%x) time (%X) year (2-digit) (%y) year (4-digit) (%Y). 5.20.3 I18N.LcTime: tests ------------------------- allFormatsExample Answer a long string that includes all the possible formats 5.21 I18N.Locale ================ Defined in namespace I18N Superclass: I18N.LocaleData Category: i18n-Messages This object is an abstract superclass of objects related to the territory and language in which the program is being used. Instances of it are asked about information on the current locale, and provide a means to be asked for things with a common idiom, the #? binary message. 5.21.1 I18N.Locale class: C call-outs ------------------------------------- primRootDirectory Not commented. 5.21.2 I18N.Locale class: initialization ---------------------------------------- rootDirectory Answer the directory under which locale definition files are found. rootDirectory: aString Set under which directory locale definition files are found. 5.21.3 I18N.Locale class: instance creation ------------------------------------------- default Answer an instance of the receiver that accesses the default locale. flush Flush the information on locales that are not valid across an image save/load. fromString: aString Answer an instance of the receiver that accesses the given locale (in the form language[_territory][.charset]). posix Answer an instance of the receiver that accesses the POSIX locale. 5.21.4 I18N.Locale: C call-outs ------------------------------- load: name Not commented. 5.21.5 I18N.Locale: subobjects ------------------------------ messages Answer the LcMessages object for the locale represented by the receiver. monetary Answer the LcMonetary object for the locale represented by the receiver. monetaryIso Answer the LcMonetaryISO object for the locale represented by the receiver. numeric Answer the LcNumeric object for the locale represented by the receiver. time Answer the LcTime object for the locale represented by the receiver. 5.22 I18N.LocaleConventions =========================== Defined in namespace I18N Superclass: I18N.LocaleData Category: i18n-Messages I am an abstract superclass of objects that are referred to by a Locale object. 5.22.1 I18N.LocaleConventions class: accessing ---------------------------------------------- ? anObject Query the default object, forwarding the message to it. default Answer an instance of the receiver that accesses the default locale. fromString: aString Answer an instance of the receiver that accesses the given locale (in the form language[_territory][.charset]). posix Answer an instance of the receiver that accesses the POSIX locale. selector This method's functionality should be implemented by subclasses of LocaleConventions 5.22.2 I18N.LocaleConventions: accessing ---------------------------------------- ? anObject This method's functionality should be implemented by subclasses of LocaleConventions 5.23 I18N.LocaleData ==================== Defined in namespace I18N Superclass: Object Category: i18n-Messages I am an abstract superclass of objects that represent localization information. 5.23.1 I18N.LocaleData class: accessing --------------------------------------- category Answer 'nil'. default This method's functionality should be implemented by subclasses of LocaleData flush Flush the contents of the instances of each subclass of LocaleData. fromString: lang This method's functionality should be implemented by subclasses of LocaleData language: lang Answer the local object for the given language. language: lang territory: territory Answer the local object for the given language and territory. language: lang territory: territory charset: charset Answer the local object for the given language, territory and charset. new This method should not be called for instances of this class. posix This method's functionality should be implemented by subclasses of LocaleData update: aspect Flush instances of the receiver when an image is loaded. 5.23.2 I18N.LocaleData class: database -------------------------------------- defaultCharset Answer the default charset used when nothing is specified. defaultCharset: aString Set the default charset used when nothing is specified. defaults Answer the default territory-language and language-charset associations. initialize Initialize the receiver's class variables. languages ISO639 language codes territories ISO3166 territory codes 5.23.3 I18N.LocaleData: accessing --------------------------------- charset Return the charset supported by the receiver. id Return the identifier of the locale supported by the receiver. isPosixLocale Answer whether the receiver implements the default POSIX behavior for a locale. language Return the language supported by the receiver. languageDirectory Answer the directory where data files for the current language reside. languageDirectory: rootDirectory Answer the directory where data files for the current language reside, given the root directory of the locale data. territory Return the territory supported by the receiver. territoryDirectory Answer the directory where data files for the current language, specific to the territory, reside. territoryDirectory: rootDirectory Answer the directory where data files for the current language, specific to the territory, reside, given the root directory of the locale data. 5.23.4 I18N.LocaleData: initialization -------------------------------------- id: anArray Private - Set which locale the receiver contains data for initialize: aString Set which locale the receiver contains data for, starting from a string describing the locale. 5.24 I18N.RTEAlternativeNode ============================ Defined in namespace I18N Superclass: I18N.RunTimeExpression Category: i18n-Messages 5.24.1 I18N.RTEAlternativeNode class: compiling ----------------------------------------------- condition: cond ifTrue: trueNode ifFalse: falseNode Private - Create a node in the parse tree for the run-time expression, mapping s to a Smalltalk arithmetic selector 5.24.2 I18N.RTEAlternativeNode: computing ----------------------------------------- condition: condNode ifTrue: trueNode ifFalse: falseNode Initialize the children of the receiver and the conditional expression to choose between them printOn: aStream Print a representation of the receiver on aStream send: parameter Evaluate the receiver by conditionally choosing one of its children and evaluating it 5.25 I18N.RTEBinaryNode ======================= Defined in namespace I18N Superclass: I18N.RunTimeExpression Category: i18n-Messages 5.25.1 I18N.RTEBinaryNode class: compiling ------------------------------------------ lhs: lhs op: op rhs: rhs Private - Create a node in the parse tree for the run-time expression, mapping s to a Smalltalk arithmetic selector 5.25.2 I18N.RTEBinaryNode: compiling ------------------------------------ lhs Answer 'lhs'. op Answer 'op'. rhs Answer 'rhs'. 5.25.3 I18N.RTEBinaryNode: computing ------------------------------------ lhs: lhsNode op: aSymbol rhs: rhsNode Initialize the children of the receiver and the operation to be done between them printOn: aStream Print a representation of the receiver on aStream send: parameter Private - Evaluate the receiver by evaluating both children and performing an arithmetic operation between them. 5.26 I18N.RTELiteralNode ======================== Defined in namespace I18N Superclass: I18N.RunTimeExpression Category: i18n-Messages 5.26.1 I18N.RTELiteralNode class: initializing ---------------------------------------------- parseFrom: aStream Parse a literal number from aStream and return a new node 5.26.2 I18N.RTELiteralNode: computing ------------------------------------- n: value Set the value of the literal that the node represents printOn: aStream Print a representation of the receiver on aStream send: parameter Answer a fixed value, the literal encoded in the node 5.27 I18N.RTENegationNode ========================= Defined in namespace I18N Superclass: I18N.RunTimeExpression Category: i18n-Messages 5.27.1 I18N.RTENegationNode class: initializing ----------------------------------------------- child: aNode Answer a new node representing the logical negation of aNode 5.27.2 I18N.RTENegationNode: computing -------------------------------------- child: value Set the child of which the receiver will compute the negation printOn: aStream Print a representation of the receiver on aStream send: parameter Evaluate the receiver by computing the child's logical negation 5.28 I18N.RTEParameterNode ========================== Defined in namespace I18N Superclass: I18N.RunTimeExpression Category: i18n-Messages 5.28.1 I18N.RTEParameterNode: computing --------------------------------------- printOn: aStream Print a representation of the receiver on aStream send: parameter Evaluate the receiver by answering the parameter 5.29 I18N.RunTimeExpression =========================== Defined in namespace I18N Superclass: Object Category: i18n-Messages 5.29.1 I18N.RunTimeExpression class: compiling ---------------------------------------------- parseExpression: stream Private - Compile the expression in the stream parseOperand: stream Parse an operand from the stream (i.e. an unary negation, a parenthesized subexpression, 'n' or a number) and answer the corresponding parse node. parseOperator: stream Answer a Symbol for an operator read from stream, or nil if something else is found. 5.29.2 I18N.RunTimeExpression class: initializing ------------------------------------------------- initialize Private - Initialize internal tables for the parser 5.29.3 I18N.RunTimeExpression class: instance creation ------------------------------------------------------ on: aString Compile aString and answer a RunTimeExpression 5.29.4 I18N.RunTimeExpression: computing ---------------------------------------- send: parameter This method's functionality should be implemented by subclasses of RunTimeExpression value: parameter Evaluate the receiver, and answer its value as an integer 6 Network programming with Sockets ********************************** 6.1 Sockets.AbstractSocket ========================== Defined in namespace Sockets Superclass: Stream Category: Sockets-Streams This class models a client site socket. A socket is a TCP/IP endpoint for network communications conceptually similar to a file handle. This class only takes care of buffering and blocking if requested. It uses an underlying socket implementation object which is a subclass of AbstractSocketImpl. This is necessary to hide some methods in FileDescriptor that are not relevant to sockets, as well as to implement buffering independently of the implementation nuances required by the different address families. The address family class (a subclass of SocketAddress) acts as a factory for socket implementation objects. 6.1.1 Sockets.AbstractSocket class: defaults -------------------------------------------- defaultAddressClass Answer the default address family to be used. In the library, the address family is represented by a subclass of SocketAddress which is by default IPAddress. defaultAddressClass: class Set the default address family to be used. In the library, the address family is represented by a subclass of SocketAddress which is by default IPAddress. defaultImplementationClassFor: aSocketAddressClass Answer the default implementation class. Depending on the subclass, this might be the default stream socket implementation class of the given address class, or rather its default datagram socket implementation class. 6.1.2 Sockets.AbstractSocket class: instance creation ----------------------------------------------------- new This method should not be called for instances of this class. new: implementation Answer a new instance of the receiver, using as the underlying layer the object passed as the 'implementation' parameter; the object is probably going to be some kind of AbstractSocketImpl. new: implClass addressClass: addressClass Answer a new instance of the receiver, using as the underlying layer a new instance of 'implementationClass' and using the protocol family of 'addressClass'. 6.1.3 Sockets.AbstractSocket class: timed-out operations -------------------------------------------------------- checkPeriod Answer the period that is to elapse between socket polls if data data is not ready and the connection is still open (in milliseconds) checkPeriod: anInteger Set the period that is to elapse between socket polls if data data is not ready and the connection is still open (in milliseconds) timeout Answer the period that is to elapse between the request for (yet unavailable) data and the moment when the connection is considered dead (in milliseconds) timeout: anInteger Set the period that is to elapse between the request for (yet unavailable) data and the moment when the connection is considered dead (in milliseconds) 6.1.4 Sockets.AbstractSocket class: well known ports ---------------------------------------------------- defaultPortAt: protocol Answer the port that is used (by default) for the given service (high level protocol) defaultPortAt: protocol ifAbsent: port Answer the port that is used (by default) for the given service (high level protocol), or the specified port if none is registered. defaultPortAt: protocol put: port Associate the given port to the service specified by 'protocol'. portCmdServer Answer the port on which the rsh daemon listens portDNS Answer the port on which the DNS listens portDayTime Answer the port on which the TOD service listens portDiscard Answer the port on which the DISCARD service listens portEcho Answer the port on which the ECHO service listens portExecServer Answer the port on which the exec server listens portFTP Answer the port on which the FTP daemon listens portFinger Answer the port on which the finger daemon listens portGopher Answer the port on which the Gopher daemon listens portHTTP Answer the port on which the http daemon listens portLoginServer Answer the port on which the rlogin daemon listens portNNTP Answer the port on which the nntp daemon listens portNetStat Answer the port on which the NETSTAT service listens portPOP3 Answer the port on which the pop3 daemon listens portReserved Answer the last port reserved to privileged processes portSMTP Answer the port on which the SMTP daemon listens portSSH Answer the port on which the SSH daemon listens portSystat Answer the port on which the SYSTAT service listens portTelnet Answer the port on which the TELNET daemon listens portTimeServer Answer the port on which the time server listens portWhois Answer the port on which the WHOIS daemon listens 6.1.5 Sockets.AbstractSocket: accessing --------------------------------------- address Answer an IP address that is of common interest (this can be either the local or the remote address, according to the definition in the subclass). available Answer whether there is data available on the socket. Same as #canRead, present for backwards compatibility. canRead Answer whether there is data available on the socket. canWrite Answer whether there is free space in the socket's write buffer. close Close the socket represented by the receiver. flush Flush any buffers used by the receiver. isOpen Answer whether the connection between the receiver and the remote endpoint is still alive. isPeerAlive Answer whether the connection with the peer remote machine is still valid. localAddress Answer the local IP address of the socket. localPort Answer the local IP port of the socket. port Answer an IP port that is of common interest (this can be the port for either the local or remote endpoint, according to the definitions in the subclass remoteAddress Answer the IP address of the socket's remote endpoint. remotePort Answer the IP port of the socket's remote endpoint. 6.1.6 Sockets.AbstractSocket: printing -------------------------------------- printOn: aStream Print a representation of the receiver on aStream 6.1.7 Sockets.AbstractSocket: socket options -------------------------------------------- soLinger Answer the number of seconds that the socket is allowed to wait if it promises reliable delivery but has unacknowledged/untransmitted packets when it is closed, or nil if those packets are left to their destiny or discarded. soLinger: linger Set the number of seconds that the socket is allowed to wait if it promises reliable delivery but has unacknowledged/untransmitted packets when it is closed. soLingerOff Specify that, even if the socket promises reliable delivery, any packets that are unacknowledged/untransmitted when it is closed are to be left to their destiny or discarded. species Answer 'String'. 6.1.8 Sockets.AbstractSocket: stream protocol --------------------------------------------- atEnd By default, answer whether the connection is still open. next Read another character from the socket, failing if the connection is dead. next: n putAll: aCollection startingAt: pos Write 'char' to the socket, failing if the connection is dead. The SIGPIPE signal is automatically caught and ignored by the system. nextPut: char Write 'char' to the socket, failing if the connection is dead. The SIGPIPE signal is automatically caught and ignored by the system. 6.1.9 Sockets.AbstractSocket: testing ------------------------------------- isExternalStream Answer whether the receiver streams on a file or socket. 6.2 Sockets.AbstractSocketImpl ============================== Defined in namespace Sockets Superclass: FileDescriptor Category: Sockets-Protocols This abstract class serves as the parent class for socket implementations. The implementation class serves an intermediary to routines that perform the actual socket operations. It hides the buffering and blocking behavior of the Socket classes. A default implementation is provided by each address family, but this can be changed by class methods on SocketAddress sublcasses. 6.2.1 Sockets.AbstractSocketImpl class: abstract ------------------------------------------------ addressClass Answer the class responsible for handling addresses for the receiver protocol Answer the protocol parameter for 'create' socketType Answer the socket type parameter for 'create'. 6.2.2 Sockets.AbstractSocketImpl class: C call-outs --------------------------------------------------- accept: socket peer: peer addrLen: len Not commented. bind: socket to: addr addrLen: len Not commented. connect: socket to: addr addrLen: len Not commented. create: family type: type protocol: protocol Not commented. getPeerName: socket addr: addr addrLen: len Not commented. getSockName: socket addr: addr addrLen: len Not commented. listen: socket log: len Not commented. option: socket level: level at: name get: value size: len Not commented. option: socket level: level at: name put: value size: len Not commented. receive: socket buffer: buf size: len flags: flags from: addr size: addrLen Not commented. send: socket buffer: buf size: len flags: flags to: addr size: addrLen Not commented. 6.2.3 Sockets.AbstractSocketImpl class: C constants --------------------------------------------------- soLinger Not commented. soReuseAddr Not commented. sockDgram Not commented. sockRDM Not commented. sockRaw Not commented. sockStream Not commented. solSocket Not commented. 6.2.4 Sockets.AbstractSocketImpl class: socket creation ------------------------------------------------------- newFor: addressClass Create a socket for the receiver. 6.2.5 Sockets.AbstractSocketImpl: accessing ------------------------------------------- connectTo: ipAddress port: port Connect the receiver to the given IP address and port. 'Connecting' means attaching the remote endpoint of the socket. localAddress Answer the address of the local endpoint of the socket (even if IP is not being used, this identifies the machine that is bound to the socket). localPort Answer the port of the local endpoint of the socket (even if IP is not being used, this identifies the service or process that is bound to the socket). remoteAddress Answer the address of the remote endpoint of the socket (even if IP is not being used, this identifies the machine to which the socket is connected). remotePort Answer the port of the remote endpoint of the socket (even if IP is not being used, this identifies the service or process to which the socket is connected). 6.2.6 Sockets.AbstractSocketImpl: asynchronous operations --------------------------------------------------------- ensureReadable If the file is open, wait until data can be read from it. The wait allows other Processes to run. ensureWriteable If the file is open, wait until we can write to it. The wait allows other Processes to run. waitForException If the file is open, wait until an exceptional condition (such as presence of out of band data) has occurred on it. The wait allows other Processes to run. 6.2.7 Sockets.AbstractSocketImpl: C call-outs --------------------------------------------- accept: socket peer: peer addrLen: len Not commented. bind: socket to: addr addrLen: len Not commented. connect: socket to: addr addrLen: len Not commented. create: family type: type protocol: protocol Not commented. getPeerName: socket addr: addr addrLen: len Not commented. getSockName: socket addr: addr addrLen: len Not commented. listen: socket log: len Not commented. option: socket level: level at: name get: value size: len Not commented. option: socket level: level at: name put: value size: len Not commented. receive: socket buffer: buf size: len flags: flags from: addr size: addrLen Not commented. send: socket buffer: buf size: len flags: flags to: addr size: addrLen Not commented. 6.2.8 Sockets.AbstractSocketImpl: C constants --------------------------------------------- soError: socket Not commented. 6.2.9 Sockets.AbstractSocketImpl: socket operations --------------------------------------------------- accept: implementationClass Accept a connection on the receiver, and create a new instance of implementationClass that will deal with the newly created active server socket. bindTo: ipAddress port: port Bind the receiver to the given IP address and port. 'Binding' means attaching the local endpoint of the socket. fileOp: ioFuncIndex Private - Used to limit the number of primitives used by FileStreams fileOp: ioFuncIndex ifFail: aBlock Private - Used to limit the number of primitives used by FileStreams. fileOp: ioFuncIndex with: arg1 Private - Used to limit the number of primitives used by FileStreams fileOp: ioFuncIndex with: arg1 ifFail: aBlock Private - Used to limit the number of primitives used by FileStreams. fileOp: ioFuncIndex with: arg1 with: arg2 Private - Used to limit the number of primitives used by FileStreams fileOp: ioFuncIndex with: arg1 with: arg2 ifFail: aBlock Private - Used to limit the number of primitives used by FileStreams. fileOp: ioFuncIndex with: arg1 with: arg2 with: arg3 Private - Used to limit the number of primitives used by FileStreams fileOp: ioFuncIndex with: arg1 with: arg2 with: arg3 ifFail: aBlock Private - Used to limit the number of primitives used by FileStreams. getSockName Retrieve a ByteArray containing a sockaddr_in struct for the local endpoint of the socket. listen: backlog Make the receiver a passive server socket with a pending connections queue of the given size. 6.2.10 Sockets.AbstractSocketImpl: socket options ------------------------------------------------- optionAt: opt level: level put: anObject Modify the value of a socket option. The option identifier is in 'opt' and the level is in 'level'. anObject can be a boolean, integer, socket address or ByteArray. A layer over this method is provided for the most common socket options, so this will be rarely used. optionAt: opt level: level size: size Answer in a ByteArray of the given size the value of a socket option. The option identifier is in 'opt' and the level is in 'level'. A layer over this method is provided for the most common socket options, so this will be rarely used. soLinger Answer the number of seconds by which a 'close' operation can block to ensure that all the packets have reliably reached the destination, or nil if those packets are left to their destiny. soLinger: linger Set the number of seconds by which a 'close' operation can block to ensure that all the packets have reliably reached the destination. If linger is nil, those packets are left to their destiny. soReuseAddr Answer whether another socket can be bound the same local address as this one. If you enable this option, you can actually have two sockets with the same Internet port number; but the system won't allow you to use the two identically-named sockets in a way that would confuse the Internet. The reason for this option is that some higher-level Internet protocols, including FTP, require you to keep reusing the same socket number. soReuseAddr: aBoolean Set whether another socket can be bound the same local address as this one. valueWithoutBuffering: aBlock Evaluate aBlock, ensuring that any data that it writes to the socket is sent immediately to the network. 6.3 Sockets.CAddrInfoStruct =========================== Defined in namespace Sockets Superclass: CStruct Category: 6.3.1 Sockets.CAddrInfoStruct class: C call-outs ------------------------------------------------ getaddrinfo: name service: servname hints: hints result: res Not commented. 6.3.2 Sockets.CAddrInfoStruct: C call-outs ------------------------------------------ aiAddr Not commented. aiCanonname Not commented. free Not commented. 6.3.3 Sockets.CAddrInfoStruct: C function wrappers -------------------------------------------------- getaddrinfo: name Not commented. getaddrinfo: name service: service Not commented. 6.4 Sockets.CSockAddrIn6Struct ============================== Defined in namespace Sockets Superclass: CStruct Category: 6.5 Sockets.Datagram ==================== Defined in namespace Sockets Superclass: Object Category: Sockets-Protocols This class models a packet of data that is to be sent across the network using a connectionless protocol such as UDP. It contains the data to be send, as well as the destination address and port. Note that datagram packets can arrive in any order and are not guaranteed to be delivered at all. This class can also be used for receiving data from the network. 6.5.1 Sockets.Datagram class: instance creation ----------------------------------------------- data: aByteArray Answer a new datagram with the specified data. data: aByteArray address: ipAddress port: port Answer a new datagram with the specified target socket, and aByteArray as its data. object: object address: ipAddress port: port Serialize the object onto a ByteArray, and create a Datagram with the object as its contents, and the specified receiver. Note that each invocation of this method creates a separate ObjectDumper; if different objects that you're sending are likely to contain references to the same objects, you should use #object:objectDumper:address:port:. object: object objectDumper: od address: ipAddress port: port Serialize the object onto a ByteArray, and create a Datagram with the object as its contents, and the specified receiver. Serialization takes place through ObjectDumper passed as 'od', and the stream attached to the ObjectDumper is resetted every time. Using this method is indicated if different objects that you're sending are likely to contain references to the same objects. 6.5.2 Sockets.Datagram: accessing --------------------------------- address Answer the address of the target socket address: ipAddress Set the address of the target socket data Answer the data attached to the datagram data: aByteArray Set the data attached to the datagram dataSize Answer the size of the message. dataSize: aSize I am called to update the size... get Parse the data attached to the datagram through a newly created ObjectDumper, and answer the resulting object. This method is complementary to #object:address:port:. getThrough: objectDumper Parse the data attached to the datagram through the given ObjectDumper without touching the stream to which it is attached, and answer the resulting object. The state of the ObjectDumper, though, is updated. This method is complementary to #object:objectDumper:address:port:. port Answer the IP port of the target socket port: thePort Set the IP port of the target socket size I determine the size of the datagram. It is either an explicitly specified dataSize, or the size of the whole collection. 6.6 Sockets.DatagramSocket ========================== Defined in namespace Sockets Superclass: Sockets.AbstractSocket Category: Sockets-Streams This class models a connectionless datagram socket that sends individual packets of data across the network. In the TCP/IP world, this means UDP. Datagram packets do not have guaranteed delivery, or any guarantee about the order the data will be received on the remote host. This class uses an underlying socket implementation object which is a subclass of DatagramSocketImpl. This is less necessary for datagram sockets than for stream sockets (except for hiding some methods in FileDescriptor that are not relevant to sockets), but it is done for cleanliness and symmetry. 6.6.1 Sockets.DatagramSocket class: accessing --------------------------------------------- defaultBufferSize Answer the default maximum size for input datagrams. defaultBufferSize: size Set the default maximum size for input datagrams. defaultImplementationClassFor: aSocketAddressClass Answer the default implementation class. Depending on the subclass, this might be the default stream socket implementation class of the given address class, or rather its default datagram socket implementation class. 6.6.2 Sockets.DatagramSocket class: initialization -------------------------------------------------- initialize Initialize the class to use an input datagram size of 128. 6.6.3 Sockets.DatagramSocket class: instance creation ----------------------------------------------------- local: ipAddressOrString port: remotePort Create a new socket and bind it to the given host (passed as a String to be resolved or as an IPAddress), on the given port. new Answer a new datagram socket (by default an UDP socket), without a specified local address and port. port: localPort Create a new socket and bind it to the local host on the given port. remote: ipAddressOrString port: remotePort local: ipAddress port: localPort Create a new socket and bind it to the given host (passed as a String to be resolved or as a SocketAddress), and to the given remotePort. The default destination for the datagrams will be ipAddressOrString (if not nil), on the remotePort port. 6.6.4 Sockets.DatagramSocket: accessing --------------------------------------- address Answer the local address. bufferSize Answer the size of the buffer in which datagrams are stored. bufferSize: size Set the size of the buffer in which datagrams are stored. datagramClass Answer the class used by the socket to return datagrams. next Read a datagram on the socket and answer it. nextPut: aDatagram Send the given datagram on the socket. peek Peek for a datagram on the socket and answer it. peek: datagram Peek for a datagram on the socket, store it in 'datagram', and answer the datagram itself. port Answer the local port. receive: datagram Read a datagram from the socket, store it in 'datagram', and answer the datagram itself. 6.6.5 Sockets.DatagramSocket: direct operations ----------------------------------------------- nextFrom: ipAddress port: port Answer the next datagram from the given address and port. 6.7 Sockets.DatagramSocketImpl ============================== Defined in namespace Sockets Superclass: Sockets.AbstractSocketImpl Category: Sockets-Protocols This abstract class serves as the parent class for datagram socket implementations. 6.7.1 Sockets.DatagramSocketImpl class: parameters -------------------------------------------------- datagramClass Answer the datagram class returned by default by instances of this class. socketType Answer the socket type parameter for 'create'. 6.7.2 Sockets.DatagramSocketImpl: accessing ------------------------------------------- bufferSize Answer the size of the buffer in which datagrams are stored. bufferSize: size Set the size of the buffer in which datagrams are stored. 6.7.3 Sockets.DatagramSocketImpl: C constants --------------------------------------------- ipAddMembership Not commented. ipDropMembership Not commented. ipMulticastIf Not commented. ipMulticastTtl Not commented. msgPeek Not commented. 6.7.4 Sockets.DatagramSocketImpl: socket operations --------------------------------------------------- next Retrieve a datagram from the receiver, answer a new object of the receiver's datagram class. nextPut: aDatagram Send aDatagram on the socket peek Peek for a datagram on the receiver, answer a new object of the receiver's datagram class. peek: aDatagram Peek for a datagram on the receiver, answer aDatagram modified to contain information on the newly received datagram. receive: aDatagram Retrieve a datagram from the receiver, answer aDatagram modified to contain information on the newly received datagram. receive: flags datagram: aDatagram Receive a new datagram into 'datagram', with the given flags, and answer 'datagram' itself; this is an abstract method. The flags can be zero to receive the datagram, or 'self msgPeek' to only peek for it without removing it from the queue. send: aDatagram to: theReceiver port: port Send aDatagram on the socket to the given receiver and port 6.8 Sockets.DummyStream ======================= Defined in namespace Sockets Superclass: Stream Category: Sockets-Tests 6.9 Sockets.ICMP6SocketImpl =========================== Defined in namespace Sockets Superclass: Sockets.RawSocketImpl Category: Sockets-Protocols Unless the application installs its own implementation, this is the default socket implementation that will be used for IPv6 raw sockets. It uses C call-outs to implement standard BSD style sockets of family AF_INET, type SOCK_RAW, protocol IPPROTO_ICMPV6. 6.9.1 Sockets.ICMP6SocketImpl class: C constants ------------------------------------------------ protocol Not commented. 6.10 Sockets.ICMPSocketImpl =========================== Defined in namespace Sockets Superclass: Sockets.RawSocketImpl Category: Sockets-Protocols Unless the application installs its own implementation, this is the default socket implementation that will be used for IPv4 raw sockets. It uses C call-outs to implement standard BSD style sockets of family AF_INET, type SOCK_RAW, protocol IPPROTO_ICMP. 6.10.1 Sockets.ICMPSocketImpl class: C constants ------------------------------------------------ protocol Not commented. 6.11 Sockets.IP6Address ======================= Defined in namespace Sockets Superclass: Sockets.SocketAddress Category: Sockets-Protocols This class models an IPv6 address. It also acts as a factory for IPv6 stream (TCP), datagram (UDP) and raw sockets. 6.11.1 Sockets.IP6Address class: C constants -------------------------------------------- addressFamily Not commented. aiAll Not commented. aiV4mapped Not commented. protocolFamily Not commented. 6.11.2 Sockets.IP6Address class: constants ------------------------------------------ addressSize Answer the size of an IPv4 address. version Answer the version of IP that the receiver implements. 6.11.3 Sockets.IP6Address class: initialization ----------------------------------------------- createLoopbackHost Answer an object representing the loopback host in the address family for the receiver. This is ::1 for IPv4. createUnknownAddress Answer an object representing an unkown address in the address family for the receiver initialize Set up the default implementation classes for the receiver 6.11.4 Sockets.IP6Address class: instance creation -------------------------------------------------- fromArray: parts Answer a new IP6Address from an array of numbers; the numbers are to be thought as the colon-separated numbers in the standard numbers-and-colons notation for IPv4 addresses. fromBytes: aByteArray Answer a new IP6Address from a ByteArray containing the bytes in the same order as the digit form: 131.175.6.2 would be represented as #[131 175 6 2]. fromSockAddr: aByteArray port: portAdaptor Private - Answer a new IP6Address from a ByteArray containing a C sockaddr_in structure. The portAdaptor's value is changed to contain the port that the structure refers to. fromString: aString Answer a new IP6Address from a String containing the requested address in digit form. new This method should not be called for instances of this class. 6.11.5 Sockets.IP6Address: accessing ------------------------------------ asByteArray Answer a read-only ByteArray of size four containing the receiver's bytes in network order (big-endian) isMulticast Answer whether the receiver reprensents an address reserved for multicast datagram connections 6.11.6 Sockets.IP6Address: printing ----------------------------------- printOn: aStream Print the receiver in dot notation. 6.12 Sockets.IPAddress ====================== Defined in namespace Sockets Superclass: Sockets.SocketAddress Category: Sockets-Protocols This class models an IPv4 address. It also acts as a factory for IPv4 stream (TCP), datagram (UDP) and raw sockets. 6.12.1 Sockets.IPAddress class: C constants ------------------------------------------- addressFamily Not commented. protocolFamily Not commented. 6.12.2 Sockets.IPAddress class: constants ----------------------------------------- addressSize Answer the size of an IPv4 address. version Answer the version of IP that the receiver implements. 6.12.3 Sockets.IPAddress class: initialization ---------------------------------------------- createLoopbackHost Answer an object representing the loopback host in the address family for the receiver. This is 127.0.0.1 for IPv4. createUnknownAddress Answer an object representing an unkown address in the address family for the receiver initialize Set up the default implementation classes for the receiver 6.12.4 Sockets.IPAddress class: instance creation ------------------------------------------------- fromArray: parts Answer a new IPAddress from an array of numbers; the numbers are to be thought as the dot-separated numbers in the standard numbers-and-dots notation for IPv4 addresses. fromBytes: aByteArray Answer a new IPAddress from a ByteArray containing the bytes in the same order as the digit form: 131.175.6.2 would be represented as #[131 175 6 2]. fromSockAddr: aByteArray port: portAdaptor Private - Answer a new IPAddress from a ByteArray containing a C sockaddr_in structure. The portAdaptor's value is changed to contain the port that the structure refers to. fromString: aString Answer a new IPAddress from a String containing the requested address in digit form. Hexadecimal forms are not allowed. An Internet host address is a number containing four bytes of data. These are divided into two parts, a network number and a local network address number within that network. The network number consists of the first one, two or three bytes; the rest of the bytes are the local address. Network numbers are registered with the Network Information Center (NIC), and are divided into three classes-A, B, and C. The local network address numbers of individual machines are registered with the administrator of the particular network. Class A networks have single-byte numbers in the range 0 to 127. There are only a small number of Class A networks, but they can each support a very large number of hosts (several millions). Medium-sized Class B networks have two-byte network numbers, with the first byte in the range 128 to 191; they support several thousands of host, but are almost exhausted. Class C networks are the smallest and the most commonly available; they have three-byte network numbers, with the first byte in the range 192-223. Class D (multicast, 224.0.0.0 to 239.255.255.255) and E (research, 240.0.0.0 to 255.255.255.255) also have three-byte network numbers. Thus, the first 1, 2, or 3 bytes of an Internet address specifies a network. The remaining bytes of the Internet address specify the address within that network. The Class A network 0 is reserved for broadcast to all networks. In addition, the host number 0 within each network is reserved for broadcast to all hosts in that network. The Class A network 127 is reserved for loopback; you can always use the Internet address '127.0.0.1' to refer to the host machine (this is answered by the #loopbackHost class method). Since a single machine can be a member of multiple networks, it can have multiple Internet host addresses. However, there is never supposed to be more than one machine with the same host address. There are four forms of the standard numbers-and-dots notation for Internet addresses: a.b.c.d specifies all four bytes of the address individually; a.b.c interprets as a 2-byte quantity, which is useful for specifying host addresses in a Class B network with network address number a.b; a.b intrprets the last part of the address as a 3-byte quantity, which is useful for specifying host addresses in a Class A network with network address number a. If only one part is given, this corresponds directly to the host address number. new This method should not be called for instances of this class. with: b1 with: b2 with: b3 with: b4 Answer a new IPAddress whose bytes (from most-significant to least-significant) are in the parameters. 6.12.5 Sockets.IPAddress: accessing ----------------------------------- addressClass Answer the 'address class' of the receiver (see IPAddress class>>#fromString:) asByteArray Answer a read-only ByteArray of size four containing the receiver's bytes in network order (big-endian) host Answer an host number for the receiver; this is given by the last three bytes for class A addresses, by the last two bytes for class B addresses, else by the last byte. isMulticast Answer whether the receiver reprensents an address reserved for multicast datagram connections network Answer a network number for the receiver; this is given by the first three bytes for class C/D/E addresses, by the first two bytes for class B addresses, else by the first byte. subnet Answer an host number for the receiver; this is 0 for class A addresses, while it is given by the last byte of the network number for class B/C/D/E addresses. 6.12.6 Sockets.IPAddress: printing ---------------------------------- printOn: aStream Print the receiver in dot notation. 6.13 Sockets.MulticastSocket ============================ Defined in namespace Sockets Superclass: Sockets.DatagramSocket Category: Sockets-Streams This class models a multicast socket that sends packets to a multicast group. All members of the group listening on that address and port will receive all the messages sent to the group. In the TCP/IP world, these sockets are UDP-based and a multicast group consists of a multicast address (a class D internet address, i.e. one whose most significant bits are 1110), and a well known port number. 6.13.1 Sockets.MulticastSocket: instance creation ------------------------------------------------- interface Answer the local device supporting the multicast socket. This is usually set to any local address. interface: ipAddress Set the local device supporting the multicast socket. This is usually set to any local address. join: ipAddress Join the multicast socket at the given IP address leave: ipAddress Leave the multicast socket at the given IP address nextPut: packet timeToLive: timeToLive Send the datagram with a specific TTL (time-to-live) timeToLive Answer the socket's datagrams' default time-to-live timeToLive: newTTL Set the default time-to-live for the socket's datagrams 6.14 Sockets.MulticastSocketImpl ================================ Defined in namespace Sockets Superclass: Sockets.DatagramSocketImpl Category: Sockets-Protocols This abstract class serves as the parent class for datagram socket implementations that support multicast. 6.14.1 Sockets.MulticastSocketImpl: multicasting ------------------------------------------------ ipMulticastIf Answer the local device for a multicast socket (in the form of an address) ipMulticastIf: interface Set the local device for a multicast socket (in the form of an address, usually anyLocalAddress) join: ipAddress Join the multicast socket at the given address leave: ipAddress Leave the multicast socket at the given address timeToLive Answer the time to live of the datagrams sent through the receiver to a multicast socket. timeToLive: ttl Set the time to live of the datagrams sent through the receiver to a multicast socket. 6.15 Sockets.OOBSocketImpl ========================== Defined in namespace Sockets Superclass: Sockets.DatagramSocketImpl Category: Sockets-Protocols This abstract class serves as the parent class for socket implementations that send out-of-band data over a stream socket. 6.15.1 Sockets.OOBSocketImpl: C constants ----------------------------------------- msgOOB Not commented. 6.15.2 Sockets.OOBSocketImpl: implementation -------------------------------------------- canRead Answer whether out-of-band data is available on the socket ensureReadable Stop the process until an error occurs or out-of-band data becomes available on the socket 6.16 Sockets.RawSocketImpl ========================== Defined in namespace Sockets Superclass: Sockets.DatagramSocketImpl Category: Sockets-Protocols This abstract class serves as the parent class for raw socket implementations. Raw socket packets are modeled as datagrams. 6.16.1 Sockets.RawSocketImpl class: parameters ---------------------------------------------- socketType Answer the socket type parameter for 'create'. 6.17 Sockets.ReadBuffer ======================= Defined in namespace Sockets Superclass: ReadStream Category: Examples-Useful tools I'm a ReadStream that, when the end of the stream is reached, evaluates an user defined block to try to get some more data. 6.17.1 Sockets.ReadBuffer class: instance creation -------------------------------------------------- on: aCollection Answer a Stream that uses aCollection as a buffer. You should ensure that the fillBlock is set before the first operation, because the buffer will report that the data has ended until you set the fillBlock. 6.17.2 Sockets.ReadBuffer: accessing-reading -------------------------------------------- nextAvailable: anInteger into: aCollection startingAt: pos Place the next anInteger objects from the receiver into aCollection, starting at position pos. Return the number of items stored. nextAvailable: anInteger putAllOn: aStream Copy the next anInteger objects from the receiver to aStream. Return the number of items stored. upTo: anObject Returns a collection of the same type that the stream accesses, up to but not including the object anObject. Returns the entire rest of the stream's contents if anObject is not present. upToEnd Returns a collection of the same type that the stream accesses, up to but not including the object anObject. Returns the entire rest of the stream's contents if anObject is not present. 6.17.3 Sockets.ReadBuffer: buffer handling ------------------------------------------ atEnd Answer whether the data stream has ended. availableBytes Answer how many bytes are available in the buffer. bufferContents Answer the data that is in the buffer, and empty it. close Not commented. fill Fill the buffer with more data if it is empty, and answer true if the fill block was able to read more data. fillBlock: block Set the block that fills the buffer. It receives a collection and the number of bytes to fill in it, and must return the number of bytes actually read isEmpty Answer whether the next input operation will force a buffer fill isFull Answer whether the buffer has been just filled notEmpty Check whether the next input operation will force a buffer fill and answer true if it will not. pastEnd Try to fill the buffer if the data stream has ended. 6.18 Sockets.ServerSocket ========================= Defined in namespace Sockets Superclass: Sockets.AbstractSocket Category: Sockets-Streams This class models server side sockets. The basic model is that the server socket is created and bound to some well known port. It then listens for and accepts connections. At that point the client and server sockets are ready to communicate with one another utilizing whatever application layer protocol they desire. As with the other AbstractSocket subclasses, most instance methods of this class simply redirect their calls to an implementation class. 6.18.1 Sockets.ServerSocket class: accessing -------------------------------------------- defaultImplementationClassFor: aSocketAddressClass Answer the default implementation class. 6.18.2 Sockets.ServerSocket class: instance creation ---------------------------------------------------- defaultQueueSize Answer the default length of the queue for pending connections. When the queue fills, new clients attempting to connect fail until the server has sent #accept to accept a connection from the queue. port: anInteger Answer a new ServerSocket serving on any local address, on the given port, with a pending connections queue of the default length. port: anInteger bindTo: ipAddress Answer a new ServerSocket serving on the given address and port, with a pending connections queue of the default length. port: anInteger queueSize: backlog Answer a new ServerSocket serving on any local address, on the given port, with a pending connections queue of the given length. port: anInteger queueSize: backlog bindTo: ipAddress Answer a new ServerSocket serving on the given address and port, and with a pending connections queue of the given length. queueSize: backlog Answer a new ServerSocket serving on any local address and port, with a pending connections queue of the given length. queueSize: backlog bindTo: ipAddress Answer a new ServerSocket serving on the given local address, and on any port, with a pending connections queue of the given length. 6.18.3 Sockets.ServerSocket: accessing -------------------------------------- accept Accept a new connection and create a new instance of Socket if there is one, else answer nil. accept: socketClass Accept a new connection and create a new instance of socketClass if there is one, else answer nil. This is usually needed only to create DatagramSockets. address Answer the local address port Answer the local port (the port that the passive socket is listening on). primAccept: socketClass Accept a new connection and create a new instance of Socket if there is one, else fail. waitForConnection Wait for a connection to be available, and suspend the currently executing process in the meanwhile. 6.18.4 Sockets.ServerSocket: initializing ----------------------------------------- port: anInteger queueSize: backlog bindTo: localAddr Initialize the ServerSocket so that it serves on the given address and port, and has a pending connections queue of the given length. 6.19 Sockets.Socket =================== Defined in namespace Sockets Superclass: Sockets.StreamSocket Category: Sockets-Streams This class adds read and write buffers to the basic model of AbstractSocket. 6.19.1 Sockets.Socket class: accessing -------------------------------------- writeBufferSize Answer the size of the write buffer for newly-created sockets writeBufferSize: anInteger Set the size of the write buffer for newly-created sockets 6.19.2 Sockets.Socket class: tests ---------------------------------- datagramLoopbackTest Send data from one datagram socket to another on the local machine. Tests most of the socket primitives and works with different processes. datagramLoopbackTestOn: addressClass Send data from one datagram socket to another on the local machine. Tests most of the socket primitives and works with different processes. loopbackTest Send data from one socket to another on the local machine. Tests most of the socket primitives. loopbackTest: bufferSizes Send data from one socket to another on the local machine. Tests most of the socket primitives. The parameter is the size of the input and output buffer sizes. loopbackTest: bufferSizes addressClass: addressClass Send data from one socket to another on the local machine. Tests most of the socket primitives. The parameters are the size of the input and output buffer sizes, and the address class (family) to use. loopbackTestOn: addressClass Send data from one socket to another on the local machine. Tests most of the socket primitives. The parameter is the address class (family) to use. microTest Extremely small test (try to receive SMTP header) producerConsumerTest Send data from one datagram socket to another on the local machine. Tests most of the socket primitives and works with different processes. producerConsumerTestOn: addressClass Send data from one socket to another on the local machine. Tests most of the socket primitives and works with different processes. sendTest Send data to the 'discard' socket of localhost. sendTest: host Send data to the 'discard' socket of the given host. Tests the speed of one-way data transfers across the network to the given host. Note that many hosts do not run a discard server. testPort2For: anAddressClass Not commented. testPortFor: anAddressClass Not commented. tweakedLoopbackTest Send data from one socket to another on the local machine, trying to avoid buffering overhead. Tests most of the socket primitives. Comparison of the results of loopbackTest and tweakedLoopbackTest should give a measure of the overhead of buffering when sending/receiving large quantities of data. 6.19.3 Sockets.Socket class: well known ports --------------------------------------------- initialize Initialize the receiver's defaults 6.19.4 Sockets.Socket: stream protocol -------------------------------------- canWrite Answer whether more data is available in the socket's read buffer or from the operating system. ensureWriteable Answer whether more data is available in the socket's read buffer or from the operating system. flush Flush the write buffer to the operating system next: n putAll: aCollection startingAt: pos Write aString to the socket; this acts as a bit-bucket when the socket is closed. This might yield control to other Smalltalk Processes. nextPut: char Write a character to the socket; this acts as a bit-bucket when the socket is closed. This might yield control to other Smalltalk Processes. writeBufferSize: size Create a new write buffer of the given size, flushing the old one is needed. This might yield control to other Smalltalk Processes. 6.20 Sockets.SocketAddress ========================== Defined in namespace Sockets Superclass: Object Category: Sockets-Protocols This class is the abstract class for machine addresses over a network. It also fulfills the function of the C style functions gethostname(), gethostbyname(), and gethostbyaddr(), resolves machine names into their corresponding numeric addresses (via DNS, /etc/hosts, or other mechanisms) and vice versa. 6.20.1 Sockets.SocketAddress class: abstract -------------------------------------------- extractFromSockAddr: aByteArray port: portAdaptor Private - Answer a new SocketAddress from a ByteArray containing a C sockaddr structure. The portAdaptor's value is changed to contain the port that the structure refers to. fromSockAddr: aByteArray port: portAdaptor Private - Answer a new IPAddress from a ByteArray containing a C sockaddr structure. The portAdaptor's value is changed to contain the port that the structure refers to. Raise an error if the address family is unknown. 6.20.2 Sockets.SocketAddress class: accessing --------------------------------------------- anyLocalAddress Answer an IPAddress representing a local address. at: host cache: aBlock Private - Answer the list of addresses associated to the given host in the cache. If the host is not cached yet, evaluate aBlock and cache and answer the result. defaultDatagramSocketImplClass Answer the class that, by default, is used to map between the Socket's protocol and a low-level C interface. defaultDatagramSocketImplClass: aClass Set which class will be used by default to map between the receiver's protocol and a low-level C interface. defaultRawSocketImplClass Answer the class that, by default, is used to map between the Socket's protocol and a low-level C interface. defaultRawSocketImplClass: aClass Set which class will be used by default to map between the receiver's protocol and a low-level C interface. defaultStreamSocketImplClass Answer the class that, by default, is used to map between the Socket's protocol and a low-level C interface. defaultStreamSocketImplClass: aClass Set which class will be used by default to map between the receiver's protocol and a low-level C interface. isDigitAddress: aString Answer whether the receiver can interpret aString as a valid address without going through a resolver. localHostName Answer the name of the local machine. loopbackHost Answer an instance of the receiver representing the local machine (127.0.0.1 in the IPv4 family). unknownAddress Answer an instance of the receiver representing an unknown machine (0.0.0.0 in the IPv4 family). 6.20.3 Sockets.SocketAddress class: C call-outs ----------------------------------------------- primLocalName Not commented. primName: address len: len type: addressFamily Not commented. 6.20.4 Sockets.SocketAddress class: C constants ----------------------------------------------- addressFamily Not commented. aiAddrconfig Not commented. aiCanonname Not commented. protocolFamily Not commented. 6.20.5 Sockets.SocketAddress class: creating sockets ---------------------------------------------------- newRawSocket Create a new raw socket, providing access to low-level network protocols and interfaces for the protocol family represented by the receiver (for example, the C protocol family PF_INET for the IPAddress class) Ordinary user programs usually have no need to use this method. 6.20.6 Sockets.SocketAddress class: host name lookup ---------------------------------------------------- allByName: aString Answer all the IP addresses that refer to the the given host. If a digit address is passed in aString, the result is an array containing the single passed address. If the host could not be resolved to an IP address, answer nil. byName: aString Answer a single IP address that refer to the the given host. If a digit address is passed in aString, the result is the same as using #fromString:. If the host could not be resolved to an IP address, answer nil. 6.20.7 Sockets.SocketAddress class: initialization -------------------------------------------------- anyLocalAddress: anObject Private - Store an object representing a local address in the address family for the receiver createLoopbackHost Answer an object representing the loopback host in the address family for the receiver. createUnknownAddress Answer an object representing an unkown address in the address family for the receiver flush Flush the cached IP addresses. initLocalAddresses Private - Initialize the anyLocalAddress class-instance variable for the entire hierarchy. update: aspect Flush all the caches for IPAddress subclasses 6.20.8 Sockets.SocketAddress: accessing --------------------------------------- = aSocketAddress Answer whether the receiver and aSocketAddress represent the same machine. The host name is not checked because an IPAddress created before a DNS is activated is named after its numbers-and-dots notation, while the same IPAddress, created when a DNS is active, is named after its resolved name. asByteArray Convert the receiver to a ByteArray passed to the operating system's socket functions) hash Answer an hash value for the receiver name Answer the host name (or the digit notation if the DNS could not resolve the address). If the DNS answers a different IP address for the same name, the second response is not cached and the digit notation is also returned (somebody's likely playing strange jokes with your DNS). 6.20.9 Sockets.SocketAddress: testing ------------------------------------- isMulticast Answer whether an address is reserved for multicast connections. 6.21 Sockets.SocketImpl ======================= Defined in namespace Sockets Superclass: Sockets.AbstractSocketImpl Category: Sockets-Protocols This abstract class serves as the parent class for stream socket implementations. 6.21.1 Sockets.SocketImpl class: parameters ------------------------------------------- socketType Answer the socket type parameter for 'create'. 6.21.2 Sockets.SocketImpl: abstract ----------------------------------- outOfBandImplClass Return an implementation class to be used for out-of-band data on the receiver. 6.21.3 Sockets.SocketImpl: socket operations -------------------------------------------- connectTo: ipAddress port: port Try to connect the socket represented by the receiver to the given remote machine. getPeerName Retrieve a ByteArray containing a sockaddr_in struct for the remote endpoint of the socket. 6.22 Sockets.StreamSocket ========================= Defined in namespace Sockets Superclass: Sockets.AbstractSocket Category: Sockets-Streams This class adds a read buffer to the basic model of AbstractSocket. 6.22.1 Sockets.StreamSocket class: accessing -------------------------------------------- defaultImplementationClassFor: aSocketAddressClass Answer the default implementation class. Depending on the subclass, this might be the default stream socket implementation class of the given address class, or rather its default datagram socket implementation class. readBufferSize Answer the size of the read buffer for newly-created sockets readBufferSize: anInteger Set the size of the read buffer for newly-created sockets 6.22.2 Sockets.StreamSocket class: initialize --------------------------------------------- initialize Initialize the receiver's defaults 6.22.3 Sockets.StreamSocket class: instance creation ---------------------------------------------------- remote: ipAddressOrString port: remotePort Create a new socket and connect to the given host (passed as a String to be resolved or as a SocketAddress), and to the given port. remote: ipAddressOrString port: remotePort local: ipAddress port: localPort Create a new socket and connect to the given host (passed as a String to be resolved or as a SocketAddress), and to the given remotePort. Then bind it to the local address passed in ipAddress, on the localPort port; if the former is nil, any local address will do, and if the latter is 0, any local port will do. 6.22.4 Sockets.StreamSocket: accessing -------------------------------------- address Answer the address of the remote endpoint port Answer the port of the remote endpoint 6.22.5 Sockets.StreamSocket: accessing-reading ---------------------------------------------- nextAvailable: anInteger into: aCollection startingAt: pos Place up to anInteger objects from the receiver into aCollection, starting from position pos and stopping if no more data is available. nextAvailable: anInteger putAllOn: aStream Copy up to anInteger objects from the receiver to aStream, stopping if no more data is available. 6.22.6 Sockets.StreamSocket: out-of-band data --------------------------------------------- outOfBand Return a datagram socket to be used for receiving out-of-band data on the receiver. 6.22.7 Sockets.StreamSocket: printing ------------------------------------- printOn: aStream Print a representation of the receiver on aStream 6.22.8 Sockets.StreamSocket: stream protocol -------------------------------------------- atEnd Answer whether more data is available on the socket availableBytes Answer how many bytes are available in the socket's read buffer or from the operating system. bufferContents Answer the current contents of the read buffer canRead Answer whether more data is available in the socket's read buffer or from the operating system. close Flush and close the socket. fill Fill the read buffer with data read from the socket isPeerAlive Answer whether the connection with the peer remote machine is still valid. next Read a byte from the socket. This might yield control to other Smalltalk Processes. peek Read a byte from the socket, without advancing the buffer; answer nil if no more data is available. This might yield control to other Smalltalk Processes. peekFor: anObject Read a byte from the socket, advancing the buffer only if it matches anObject; answer whether they did match or not. This might yield control to other Smalltalk Processes. readBufferSize: size Create a new read buffer of the given size (which is only possible before the first read or if the current buffer is empty). 6.23 Sockets.TCPSocketImpl ========================== Defined in namespace Sockets Superclass: Sockets.SocketImpl Category: Sockets-Protocols Unless the application installs its own implementation, this is the default socket implementation that will be used for IPv4 stream sockets. It uses C call-outs to implement standard BSD style sockets of family AF_INET and type SOCK_STREAM. 6.23.1 Sockets.TCPSocketImpl class: C constants ----------------------------------------------- ipprotoTcp Not commented. protocol Not commented. tcpNodelay Not commented. 6.23.2 Sockets.TCPSocketImpl: socket options -------------------------------------------- valueWithoutBuffering: aBlock Evaluate aBlock, ensuring that any data that it writes to the socket is sent immediately to the network. 6.24 Sockets.UDPSocketImpl ========================== Defined in namespace Sockets Superclass: Sockets.MulticastSocketImpl Category: Sockets-Protocols Unless the application installs its own implementation, this is the default socket implementation that will be used for IPv4 datagram sockets. It uses C call-outs to implement standard BSD style sockets of family AF_INET and type SOCK_DGRAM. 6.24.1 Sockets.UDPSocketImpl class: C constants ----------------------------------------------- ipprotoIp Not commented. protocol Not commented. 6.24.2 Sockets.UDPSocketImpl: multicasting ------------------------------------------ ipMulticastIf Answer the local device for a multicast socket (in the form of an address) ipMulticastIf: interface Set the local device for a multicast socket (in the form of an address, usually anyLocalAddress) join: ipAddress Join the multicast socket at the given address leave: ipAddress Leave the multicast socket at the given address primJoinLeave: ipAddress option: opt Private - Used to join or leave a multicast service. timeToLive Answer the time to live of the datagrams sent through the receiver to a multicast socket. timeToLive: ttl Set the time to live of the datagrams sent through the receiver to a multicast socket. 6.25 Sockets.UnixAddress ======================== Defined in namespace Sockets Superclass: Sockets.SocketAddress Category: Sockets-Protocols This class represents an address for a machine using the AF_UNIX address family. Since this address family is only used for local sockets, the class is a singleton; the filesystem path to the socket is represented using the port argument to socket functions, as either a String or a File object. 6.25.1 Sockets.UnixAddress class: C constants --------------------------------------------- addressFamily Not commented. protocolFamily Not commented. 6.25.2 Sockets.UnixAddress class: initialization ------------------------------------------------ createLoopbackHost Answer an object representing the loopback host in the address family for the receiver. This is 127.0.0.1 for IPv4. createUnknownAddress Answer an object representing an unkown address in the address family for the receiver initialize Set up the default implementation classes for the receiver 6.25.3 Sockets.UnixAddress class: instance creation --------------------------------------------------- fromSockAddr: aByteArray port: portAdaptor Private - Answer the unique UnixAddress instance, filling in the portAdaptor's value from a ByteArray containing a C sockaddr_in structure. uniqueInstance Not commented. 6.25.4 Sockets.UnixAddress: accessing ------------------------------------- = aSocketAddress Answer whether the receiver and aSocketAddress represent the same socket on the same machine. hash Answer an hash value for the receiver 6.25.5 Sockets.UnixAddress: printing ------------------------------------ printOn: aStream Print the receiver in dot notation. 6.25.6 Sockets.UnixAddress: testing ----------------------------------- isMulticast Answer whether an address is reserved for multicast connections. 6.26 Sockets.UnixDatagramSocketImpl =================================== Defined in namespace Sockets Superclass: Sockets.DatagramSocketImpl Category: Sockets-Protocols This class represents a datagram socket using the AF_UNIX address family. It unlinks the filesystem path when the socket is closed. 6.26.1 Sockets.UnixDatagramSocketImpl: socket operations -------------------------------------------------------- close Not commented. 6.27 Sockets.UnixSocketImpl =========================== Defined in namespace Sockets Superclass: Sockets.SocketImpl Category: Sockets-Protocols This class represents a stream socket using the AF_UNIX address family. It unlinks the filesystem path when the socket is closed. 6.27.1 Sockets.UnixSocketImpl: socket operations ------------------------------------------------ close Not commented. 6.28 Sockets.WriteBuffer ======================== Defined in namespace Sockets Superclass: WriteStream Category: Examples-Useful tools I'm a WriteStream that, instead of growing the collection, evaluates an user defined block and starts over with the same collection. 6.28.1 Sockets.WriteBuffer: accessing-writing --------------------------------------------- next: n putAll: aCollection startingAt: pos Put n characters or bytes of aCollection, starting at the pos-th, in the collection buffer. 6.28.2 Sockets.WriteBuffer: buffer handling ------------------------------------------- close Not commented. flush Evaluate the flushing block and reset the stream flushBlock: block Set which block will be used to flush the buffer. The block will be evaluated with a collection and an Integer n as parameters, and will have to write the first n elements of the collection. 6.28.3 Sockets.WriteBuffer: testing ----------------------------------- isFull Not commented. 7 Compressing and decompressing data with ZLib ********************************************** 7.1 ZLib.DeflateStream ====================== Defined in namespace ZLib Superclass: ZLib.RawDeflateStream Category: Examples-Useful Instances of this class produce "standard" (zlib, RFC1950) deflated data. 7.1.1 ZLib.DeflateStream class: instance creation ------------------------------------------------- compressingTo: aStream Answer a stream that receives data via #nextPut: and compresses it onto aStream. compressingTo: aStream level: level Answer a stream that receives data via #nextPut: and compresses it onto aStream with the given compression level. 7.2 ZLib.DeflateWriteStream =========================== Defined in namespace ZLib Superclass: ZLib.RawDeflateWriteStream Category: Examples-Useful Instances of this class produce "standard" (zlib, RFC1950) deflated data. 7.3 ZLib.GZipDeflateStream ========================== Defined in namespace ZLib Superclass: ZLib.RawDeflateStream Category: Examples-Useful Instances of this class produce GZip (RFC1952) deflated data. 7.3.1 ZLib.GZipDeflateStream class: instance creation ----------------------------------------------------- compressingTo: aStream Answer a stream that receives data via #nextPut: and compresses it onto aStream. compressingTo: aStream level: level Answer a stream that receives data via #nextPut: and compresses it onto aStream with the given compression level. 7.4 ZLib.GZipDeflateWriteStream =============================== Defined in namespace ZLib Superclass: ZLib.RawDeflateWriteStream Category: Examples-Useful Instances of this class produce GZip (RFC1952) deflated data. 7.5 ZLib.GZipInflateStream ========================== Defined in namespace ZLib Superclass: ZLib.RawInflateStream Category: Examples-Useful Instances of this class reinflate GZip (RFC1952) deflated data. 7.6 ZLib.InflateStream ====================== Defined in namespace ZLib Superclass: ZLib.RawInflateStream Category: Examples-Useful Instances of this class reinflate "standard" (zlib, RFC1950) deflated data. 7.7 ZLib.RawDeflateStream ========================= Defined in namespace ZLib Superclass: ZLib.ZlibReadStream Category: Examples-Useful Instances of this class produce "raw" (PKZIP) deflated data. 7.7.1 ZLib.RawDeflateStream class: instance creation ---------------------------------------------------- compressingTo: aStream Answer a stream that receives data via #nextPut: and compresses it onto aStream. compressingTo: aStream level: level Answer a stream that receives data via #nextPut: and compresses it onto aStream with the given compression level. on: aStream Answer a stream that compresses the data in aStream with the default compression level. on: aStream level: compressionLevel Answer a stream that compresses the data in aStream with the given compression level. 7.8 ZLib.RawDeflateWriteStream ============================== Defined in namespace ZLib Superclass: ZLib.ZlibWriteStream Category: Examples-Useful Instances of this class produce "raw" (PKZIP) deflated data. 7.8.1 ZLib.RawDeflateWriteStream class: instance creation --------------------------------------------------------- on: aWriteStream Answer a stream that compresses the data in aStream with the default compression level. on: aWriteStream level: compressionLevel Answer a stream that compresses the data in aStream with the given compression level. 7.9 ZLib.RawInflateStream ========================= Defined in namespace ZLib Superclass: ZLib.ZlibReadStream Category: Examples-Useful Instances of this class reinflate "raw" (PKZIP) deflated data. 7.9.1 ZLib.RawInflateStream: positioning ---------------------------------------- copyFrom: start to: end Answer the data on which the receiver is streaming, from the start-th item to the end-th. Note that this method is 0-based, unlike the one in Collection, because a Stream's #position method returns 0-based values. Notice that this class can only provide the illusion of random access, by appropriately rewinding the input stream or skipping compressed data. isPositionable Answer true if the stream supports moving backwards with #skip:. position: anInteger Set the current position in the stream to anInteger. Notice that this class can only provide the illusion of random access, by appropriately rewinding the input stream or skipping compressed data. reset Reset the stream to the beginning of the compressed data. skip: anInteger Move the current position by anInteger places, either forwards or backwards. 7.10 ZLib.ZlibError =================== Defined in namespace ZLib Superclass: Error Category: Examples-Useful This exception is raised whenever there is an error in a compressed stream. 7.10.1 ZLib.ZlibError: accessing -------------------------------- stream Answer the ZlibStream that caused the error. stream: anObject Set the ZlibStream that caused the error. 7.11 ZLib.ZlibReadStream ======================== Defined in namespace ZLib Superclass: ZLib.ZlibStream Category: Examples-Useful This abstract class implements the basic buffering that is used for communication with zlib. 7.11.1 ZLib.ZlibReadStream: accessing-reading --------------------------------------------- nextAvailable: anInteger into: aCollection startingAt: pos Place up to anInteger objects from the receiver into aCollection, starting from position pos and stopping if no more data is available. nextAvailable: anInteger putAllOn: aStream Copy up to anInteger objects from the receiver to aStream, stopping if no more data is available. 7.11.2 ZLib.ZlibReadStream: streaming ------------------------------------- atEnd Answer whether the stream has got to an end next Return the next object (character or byte) in the receiver. peek Returns the next element of the stream without moving the pointer. Returns nil when at end of stream. peekFor: anObject Returns true and gobbles the next element from the stream of it is equal to anObject, returns false and doesn't gobble the next element if the next element is not equal to anObject. position Answer the current value of the stream pointer. Note that only inflating streams support random access to the stream data. 7.12 ZLib.ZlibStream ==================== Defined in namespace ZLib Superclass: Stream Category: Examples-Useful This abstract class implements the basic interface to the zlib module. Its layout matches what is expected by the C code. 7.12.1 ZLib.ZlibStream class: accessing --------------------------------------- bufferSize Answer the size of the output buffers that are passed to zlib. Each zlib stream uses a buffer of this size. bufferSize: anInteger Set the size of the output buffers that are passed to zlib. Each zlib stream uses a buffer of this size. defaultCompressionLevel Return the default compression level used by deflating streams. defaultCompressionLevel: anInteger Set the default compression level used by deflating streams. It should be a number between 1 and 9. 7.12.2 ZLib.ZlibStream class: instance creation ----------------------------------------------- new This method should not be called for instances of this class. on: aStream Answer an instance of the receiver that decorates aStream. 7.12.3 ZLib.ZlibStream: streaming --------------------------------- isExternalStream Answer whether the receiver streams on a file or socket. name Return the name of the underlying stream. species Return the type of the collections returned by #upTo: etc. stream Answer the wrapped stream. 7.13 ZLib.ZlibWriteStream ========================= Defined in namespace ZLib Superclass: ZLib.ZlibStream Category: Examples-Useful This abstract class implements the basic buffering that is used for communication with zlib in a WriteStream decorator. 7.13.1 ZLib.ZlibWriteStream: streaming -------------------------------------- close Finish the deflated output to the destination stream using Z_FINISH. The destination stream is closed, which implies flushing. contents Finish the deflated output to the destination stream using Z_FINISH and return the deflated data (requires the destination stream to support #contents). finish Finish the deflated output to the destination stream using Z_FINISH. The destination stream is not flushed. flush Flush the deflated output to the destination stream, and flush the destination stream. flushBuffer Flush the deflated output to the destination stream. flushDictionary Flush the deflated output to the destination stream using Z_FULL_FLUSH, and flush the destination stream. next: n putAll: aCollection startingAt: pos Put n characters or bytes of aCollection, starting at the pos-th, in the deflation buffer. nextPut: aByte Append a character or byte (depending on whether the destination stream works on a ByteArray or String) to the deflation buffer. partialFlush Flush the deflated output to the destination stream using Z_PARTIAL_FLUSH, and flush the destination stream. position Answer the number of compressed bytes written. readStream Finish the deflated output to the destination stream using Z_FINISH and return a ReadStream on the deflated data (requires the destination stream to support #readStream). syncFlush Flush the deflated output to the destination stream using Z_SYNC_FLUSH, and flush the destination stream. Note that this includes the four bytes 0/0/255/255 at the end of the flush. 8 Libraries for the SAX, DOM, XPath and XSLT standards ****************************************************** _by Thomas Gagne, edited by Paolo Bonzini_ 8.1 Building a DOM from XML =========================== If you're like me, the first thing you may be trying to do is build a Document Object Model (DOM) tree from some kind of XML input. Assuming you've got the XML in a String the following code will build an XML Document: XML.SAXParser defaultParserClass processDocumentString: theXMLString beforeScanDo: [ :p | p validate: false]. Though the code above appears as though it should be easy to use, there's some hidden features you should know about. First, 'theXMLString' can not contain any null bytes. Depending on where your XML comes from it may have a NULL byte at the end (like mine did). Many languages implement strings as an array of bytes (usually printable ones) ending with a null (a character with integer value 0). In my case, the XML was coming from a remote client written in C using middleware to send the message to my server. Since the middleware doesn't assume to know anything about the message it received, it's received into a String, null-byte and all. To remove it I used: XML.SAXParser defaultParserClass processDocumentString: (aString copyWithout: 0 asCharacter) beforeScanDo: [ :p | p validate: false]. Starting out, I didn't know much about the value of DTDs either (Document Type Definitions), so I wasn't using them (more on why you should later). What you need to know is XML comes in two flavors, (three if you include broken as a flavor) _well-formed_ and _valid_. _Well-formed XML_ is simply XML following the basic rules, like only one top-level (the document's root), no overlapping tags, and a few other contraints. Valid XML means not only is the XML well-formed, but it's also compliant with some kind of rule base about which elements are allowed to follow which other ones, whether or not attributes are permitted and what their values and defaults should be, etc. There's no way to get around well-formedness. Most XML tools complain vociferously about missing or open tags. What you may not have lying around, though, is a DTD describing how the XML should be assembled. If you need to skip validation for any reason you must include the selector: beforeScanDo: [ :p | p validate: false]. Now that you have your XML document, you probably want to access its contents (why else would you want one, right?). Let's take the following (brief) XML as an example: 01/04/2000 widget 1.0000 doodad 2.0000 The first thing you probably want to know is how to access the different tags, and more specifically, how to access the contents of those tags. First, by way of providing a roadmap to the elements I'll show you the Smalltalk code for getting different pieces of the document, assuming the variable you've assigned the document to is named _doc_. I'll also create instance variables for the various elements as I go along: _Element you want_ _Code to get it_ porder element 'doc root' porder_head 'doc root elementNamed: 'porder_head'' order_date (as a String) '(porderHead elementNamed: 'order_date') characterData' order_date (as a Date) '(Date readFrom: (porderHead elementNamed: 'order_date') characterData readStream)' a collection with both 'doc root elementsNamed: porder_lines 'porder_line'' I've deliberately left-out accessing 'porder''s attribute because accessing them is different from accessing other nodes. You can get an OrderedCollection of attributes using: attributes := doc root attributes. but the ordered collection isn't really useful. To access any single attribute you'd need to look for it in the collection: porderNum := (attributes detect: [ :each | each key type = 'porder_num' ]) value. But that's not a whole lot of fun, especially if there's a lot you need to get, and if there's any possibility the attribute may not exist. Then you have to do the whole 'detect:ifNone:' thing, and boy, does that make the code readable! What I did instead was create a method in my objects' abstract: dictionaryForAttributes: aCollection ^Dictionary withAll: (aCollection collect: [ :each | each key type -> each value ]) Now what you have is an incrementally more useful method for getting attributes: attributes := self dictionaryForAttributes: doc root attributes. porderNum := attributes at: 'porder_num'. At first this appears like more code, and for a single attribute it probably is. But if an element includes more than one attribute the payoff is fairly decent. Of course, you still need to handle the absence of an attribute in the dictionary but I think it reads a little better using a Dictionary than an OrderedCollection: porderNum := attributes at: 'porder_num' ifAbsent: []. 8.2 Building XML ================ There's little reason to build an XML document if its not going to be processed by something down the road. Most XML tools require XML documents have a document root. A root is a tag inside which all other tags exist, or put another way, a single parent node from which all other nodes descend. In my case, a co-worker was attempting to use Sablot's sabcmd to transform the XML from my server into HTML. So start your document with the root ready to go: replyDoc := XML.Document new. replyDoc addNode: (XML.Element tag: 'response'). Before doing anything more complex, we can play with our new XML document. Assuming you're going to want to send the XML text to someone or write it to a file, you may first want to capture it in a string. Even if you don't want to first capture it into a string our example is going to: replyStream := String new writeStream. replyDoc printOn: replyStream. If we examine'd the contents of our replyStream ('replyStream contents') we'd see: Which is what an empty tag looks like. Let's add some text to our XML document now. Let's say we want it to look like: Hello, world! Building this actually requires two nodes be added to a new XML document. The first node (or element) is named 'response'. The second node adds text to the first: replyDoc := XML.Document new. replyDoc addNode: (XML.Element tag: response). "our root node" replyDoc root addNode: (XML.Text text: 'Hello, world!'). Another way of writing it, and the way I've adopted in my code is to create the whole node before adding it. This is not just to reduce the appearance of assignments, but it suggests a template for cascading '#addNode:' messages to an element, which, if you're building any kind of nontrivial XML, you'll be doing a lot of: replyDoc := XML.Document new. replyDoc addNode: ( (XML.Element tag: response) addNode: (XML.Text text: 'Hello, world!') ). Unless you're absolutely sure you'll never accidentally add text nodes that have an ampersand (&) in them, you'll need to escape it to get past XML parsers. The way I got around this was to escape them whenever I added text nodes. To make it easier, I (again) created a method in my objects' abstract superclass: asXMLElement: tag value: aValue | n | n := XML.Element tag: tag. aValue isNil ifFalse: [ n addNode: (XML.Text text: (aValue displayString copyReplaceAll: '&' with: '&'))]. ^n Calls to 'self asXMLElement: 'sometagname' value: anInstanceVariable' are littered throughout my code. Adding attributes to documents is, thankfully, easier than accessing them. If we wanted to add an attribute to our document above we can do so with a single statement: replyDoc root addAttribute: (XML.Attribute name: 'isExample' value: 'yes'). Now, our XML looks like: Hello, world! 8.3 Using DTDs ============== What I didn't appreciate in my first XML project (this one) was how much error checking I was doing just to verify the format of incoming XML. During testing I'd go looking for attributes or elements that _should_ have been there but for various reasons were not. Because I was coding fast and furious I overlooked some and ignored others. Testing quickly ferreted out my carelessnes and my application started throwing exceptions faster than election officials throw chads. The cure, at least for formatting, is having a DTD, or Document Type Definition describing the XML format. You can read more about the syntax of DTDs in the XML specification. There's not a lot programmers are able to do with DTDs in VisualWorks, except requiring incoming XML to include DOCTYPE statements. There is something programmers need to do to handle the exceptions the XML parser throws when it finds errors. I'm not an expert at writing Smalltalk exception handling code, and I haven't decided on what those exceptions should look like to the client who sent the poorly formatted XML in the first place. The code below does a decent job of catching the errors and putting the description of the error into an XML response. It's also a fairly decent example of XML document building as discussed earlier. replyDoc := XML.Document new. replyDoc addNode: (XML.Element tag: 'response'). [ doc := XML.SAXParser defaultParserClass processDocumentString: (anIsdMessage message copyWithout: 0) asString ] on: Exception do: [ :ex | replyDoc root addAttribute: (XML.Attribute name: 'type' value: 'Exception'); addNode: ((XML.Element tag: 'description') addNode: (XML.Text text: ex signal description)); addNode: ((XML.Element tag: 'message') addNode: (XML.Text text: ex messageText)) ]. I said before there's not a lot programmers can do with DTDs, but there are some things I wish the XML library would do: * I'd like to make sure the documents I build are built correctly. It would be great if a DTD could be attached to an empty XML document so that exceptions could be thrown as misplaced elements were added. * It would be great to specify which DTD the XML parser should use when parsing incoming XML so that the incoming XML wouldn't always have to include a tag. Though it's fairly easy to add the tag at the start of XML text, it's really not that simple. You need to know the XML's root element before adding the tag but you really don't know that until after you've parsed the XML You would have to parse the XML, determine the root tag, then parse the output of the first into a new XML document with validation turned-on. * Another reason to be able to create a DTD document to use with subsequent parsing is to avoid the overhead of parsing the same DTD over and over again. In transaction processing systems this kind of redundant task could be eliminated and the spare CPU cycles put to better use. 8.4 XSL Processing ================== I spent a night the other week trying to figure out how to get the XSL libraries to do anything. I no longer need it now, but I did discover some things others with an immediate need may want to be aware of. * Transforming an XML document requires you parse the XSL and XML documents separately first. After that, you tell the XSL.RuleDatabase to process the XML document. The result is another XML document with the transformations. A code snippet for doing just that appears below. | rules xmlDoc htmlDoc | rules := XSL.RuleDatabase new readFileNamed: 'paymentspending.xsl'. xmlDoc := XML.SAXParser defaultParserClass processDocumentInFilename: 'paymentspending.xml' beforeScanDo: [ :p | p validate: false ]. htmlDoc := rules process: xmlDoc. There is also a 'readString:' method which can be used instead of 'readFileNamed:'. * The XSL library doesn't use the W3-approved stylesheet, but instead uses the draft version (same one Microsoft uses). '' * The functions 'position()' and 'count()' aren't implemented, or if they are, aren't implemented in the way other XSL tools implement it. 8.5 Attributions ================ Cincom, for supporting Smalltalk and the Smalltalk community by making the library available for GNU Smalltalk under the LGPL. Thanks also to Randy Ynchausti, Bijan Parsia, Reinout Heeck, and Joseph Bacanskas for answering many questions on the XML library. Class index *********** * Menu: * BLOX.BArc: BLOX.BArc. (line 19) * BLOX.BBalloon: BLOX.BBalloon. (line 80) * BLOX.BBoundingBox: BLOX.BBoundingBox. (line 120) * BLOX.BButton: BLOX.BButton. (line 193) * BLOX.BButtonLike: BLOX.BButtonLike. (line 311) * BLOX.BCanvas: BLOX.BCanvas. (line 340) * BLOX.BCanvasObject: BLOX.BCanvasObject. (line 475) * BLOX.BCheckMenuItem: BLOX.BCheckMenuItem. (line 579) * BLOX.BColorButton: BLOX.BColorButton. (line 607) * BLOX.BContainer: BLOX.BContainer. (line 630) * BLOX.BDialog: BLOX.BDialog. (line 655) * BLOX.BDropDown: BLOX.BDropDown. (line 801) * BLOX.BDropDownEdit: BLOX.BDropDownEdit. (line 1098) * BLOX.BDropDownList: BLOX.BDropDownList. (line 1198) * BLOX.BEdit: BLOX.BEdit. (line 1291) * BLOX.BEmbeddedImage: BLOX.BEmbeddedImage. (line 1476) * BLOX.BEmbeddedText: BLOX.BEmbeddedText. (line 1507) * BLOX.BEventSet: BLOX.BEventSet. (line 1583) * BLOX.BEventTarget: BLOX.BEventTarget. (line 1620) * BLOX.BExtended: BLOX.BExtended. (line 1754) * BLOX.BForm: BLOX.BForm. (line 1794) * BLOX.BImage: BLOX.BImage. (line 1846) * BLOX.BLabel: BLOX.BLabel. (line 2066) * BLOX.BLine: BLOX.BLine. (line 2196) * BLOX.BList: BLOX.BList. (line 2223) * BLOX.Blox: BLOX.Blox. (line 2557) * BLOX.BMenu: BLOX.BMenu. (line 2850) * BLOX.BMenuBar: BLOX.BMenuBar. (line 2911) * BLOX.BMenuItem: BLOX.BMenuItem. (line 2928) * BLOX.BMenuObject: BLOX.BMenuObject. (line 2967) * BLOX.BOval: BLOX.BOval. (line 3060) * BLOX.BPolyline: BLOX.BPolyline. (line 3070) * BLOX.BPopupMenu: BLOX.BPopupMenu. (line 3146) * BLOX.BPopupWindow: BLOX.BPopupWindow. (line 3161) * BLOX.BPrimitive: BLOX.BPrimitive. (line 3228) * BLOX.BProgress: BLOX.BProgress. (line 3244) * BLOX.BRadioButton: BLOX.BRadioButton. (line 3288) * BLOX.BRadioGroup: BLOX.BRadioGroup. (line 3316) * BLOX.BRectangle: BLOX.BRectangle. (line 3347) * BLOX.BScrolledCanvas: BLOX.BScrolledCanvas. (line 3371) * BLOX.BSpline: BLOX.BSpline. (line 3381) * BLOX.BText: BLOX.BText. (line 3401) * BLOX.BTextAttributes: BLOX.BTextAttributes. (line 3783) * BLOX.BTextBindings: BLOX.BTextBindings. (line 4009) * BLOX.BTextTags: BLOX.BTextTags. (line 4026) * BLOX.BToggle: BLOX.BToggle. (line 4035) * BLOX.BTransientWindow: BLOX.BTransientWindow. (line 4068) * BLOX.BViewport: BLOX.BViewport. (line 4102) * BLOX.BWidget: BLOX.BWidget. (line 4149) * BLOX.BWindow: BLOX.BWindow. (line 4691) * BLOX.Gui: BLOX.Gui. (line 4910) * Complex: Complex. (line 4932) * DBI.ColumnInfo: DBI.ColumnInfo. (line 5142) * DBI.Connection: DBI.Connection. (line 5178) * DBI.ConnectionInfo: DBI.ConnectionInfo. (line 5256) * DBI.FieldConverter: DBI.FieldConverter. (line 5295) * DBI.ResultSet: DBI.ResultSet. (line 5347) * DBI.Row: DBI.Row. (line 5425) * DBI.Statement: DBI.Statement. (line 5474) * DBI.Table: DBI.Table. (line 5506) * Debugger: Debugger. (line 5544) * I18N.BigEndianFileStream: I18N.BigEndianFileStream. (line 5631) * I18N.EncodedStream: I18N.EncodedStream. (line 5640) * I18N.EncodedString: I18N.EncodedString. (line 5707) * I18N.EncodedStringFactory: I18N.EncodedStringFactory. (line 5814) * I18N.Encoder: I18N.Encoder. (line 5859) * I18N.FileStreamSegment: I18N.FileStreamSegment. (line 5912) * I18N.IncompleteSequenceError: I18N.IncompleteSequenceError. (line 5930) * I18N.InvalidCharsetError: I18N.InvalidCharsetError. (line 5947) * I18N.InvalidSequenceError: I18N.InvalidSequenceError. (line 5962) * I18N.LcMessages: I18N.LcMessages. (line 5977) * I18N.LcMessagesCatalog: I18N.LcMessagesCatalog. (line 6033) * I18N.LcMessagesDomain: I18N.LcMessagesDomain. (line 6042) * I18N.LcMessagesDummyDomain: I18N.LcMessagesDummyDomain. (line 6113) * I18N.LcMessagesMoFileVersion0: I18N.LcMessagesMoFileVersion0. (line 6122) * I18N.LcMessagesTerritoryDomain: I18N.LcMessagesTerritoryDomain. (line 6275) * I18N.LcMonetary: I18N.LcMonetary. (line 6291) * I18N.LcMonetaryISO: I18N.LcMonetaryISO. (line 6327) * I18N.LcNumeric: I18N.LcNumeric. (line 6341) * I18N.LcPrintFormats: I18N.LcPrintFormats. (line 6373) * I18N.LcTime: I18N.LcTime. (line 6399) * I18N.Locale: I18N.Locale. (line 6456) * I18N.LocaleConventions: I18N.LocaleConventions. (line 6530) * I18N.LocaleData: I18N.LocaleData. (line 6567) * I18N.RTEAlternativeNode: I18N.RTEAlternativeNode. (line 6681) * I18N.RTEBinaryNode: I18N.RTEBinaryNode. (line 6709) * I18N.RTELiteralNode: I18N.RTELiteralNode. (line 6749) * I18N.RTENegationNode: I18N.RTENegationNode. (line 6774) * I18N.RTEParameterNode: I18N.RTEParameterNode. (line 6799) * I18N.RunTimeExpression: I18N.RunTimeExpression. (line 6815) * Sockets.AbstractSocket: Sockets.AbstractSocket. (line 6862) * Sockets.AbstractSocketImpl: Sockets.AbstractSocketImpl. (line 7117) * Sockets.CAddrInfoStruct: Sockets.CAddrInfoStruct. (line 7391) * Sockets.CSockAddrIn6Struct: Sockets.CSockAddrIn6Struct. (line 7425) * Sockets.Datagram: Sockets.Datagram. (line 7432) * Sockets.DatagramSocket: Sockets.DatagramSocket. (line 7516) * Sockets.DatagramSocketImpl: Sockets.DatagramSocketImpl. (line 7618) * Sockets.DummyStream: Sockets.DummyStream. (line 7696) * Sockets.ICMP6SocketImpl: Sockets.ICMP6SocketImpl. (line 7703) * Sockets.ICMPSocketImpl: Sockets.ICMPSocketImpl. (line 7721) * Sockets.IP6Address: Sockets.IP6Address. (line 7739) * Sockets.IPAddress: Sockets.IPAddress. (line 7829) * Sockets.MulticastSocket: Sockets.MulticastSocket. (line 7982) * Sockets.MulticastSocketImpl: Sockets.MulticastSocketImpl. (line 8024) * Sockets.OOBSocketImpl: Sockets.OOBSocketImpl. (line 8059) * Sockets.RawSocketImpl: Sockets.RawSocketImpl. (line 8085) * Sockets.ReadBuffer: Sockets.ReadBuffer. (line 8101) * Sockets.ServerSocket: Sockets.ServerSocket. (line 8179) * Sockets.Socket: Sockets.Socket. (line 8268) * Sockets.SocketAddress: Sockets.SocketAddress. (line 8387) * Sockets.SocketImpl: Sockets.SocketImpl. (line 8568) * Sockets.StreamSocket: Sockets.StreamSocket. (line 8602) * Sockets.TCPSocketImpl: Sockets.TCPSocketImpl. (line 8726) * Sockets.UDPSocketImpl: Sockets.UDPSocketImpl. (line 8757) * Sockets.UnixAddress: Sockets.UnixAddress. (line 8806) * Sockets.UnixDatagramSocketImpl: Sockets.UnixDatagramSocketImpl. (line 8875) * Sockets.UnixSocketImpl: Sockets.UnixSocketImpl. (line 8891) * Sockets.WriteBuffer: Sockets.WriteBuffer. (line 8907) * ZLib.DeflateStream: ZLib.DeflateStream. (line 8948) * ZLib.DeflateWriteStream: ZLib.DeflateWriteStream. (line 8968) * ZLib.GZipDeflateStream: ZLib.GZipDeflateStream. (line 8977) * ZLib.GZipDeflateWriteStream: ZLib.GZipDeflateWriteStream. (line 8996) * ZLib.GZipInflateStream: ZLib.GZipInflateStream. (line 9004) * ZLib.InflateStream: ZLib.InflateStream. (line 9012) * ZLib.RawDeflateStream: ZLib.RawDeflateStream. (line 9021) * ZLib.RawDeflateWriteStream: ZLib.RawDeflateWriteStream. (line 9048) * ZLib.RawInflateStream: ZLib.RawInflateStream. (line 9067) * ZLib.ZlibError: ZLib.ZlibError. (line 9102) * ZLib.ZlibReadStream: ZLib.ZlibReadStream. (line 9120) * ZLib.ZlibStream: ZLib.ZlibStream. (line 9163) * ZLib.ZlibWriteStream: ZLib.ZlibWriteStream. (line 9214) Method index ************ * Menu: * *: Complex-math. (line 5054) * +: Complex-math. (line 5057) * -: Complex-math. (line 5060) * /: Complex-math. (line 5063) * <: Complex-comparing. (line 4967) * <=: Complex-comparing. (line 4970) * =: Complex-comparing. (line 4973) * = <1>: Sockets.SocketAddress-accessing. (line 8538) * = <2>: Sockets.UnixAddress-accessing. (line 8853) * >: Complex-comparing. (line 4976) * >=: Complex-comparing. (line 4979) * >>: DBI.Connection-accessing. (line 5210) * ?: I18N.LcMessages-opening MO files. (line 6014) * ? <1>: I18N.LcMessagesDomain-querying. (line 6084) * ? <2>: I18N.LcPrintFormats-printing. (line 6384) * ? <3>: I18N.LocaleConventions class-accessing. (line 6539) * ? <4>: I18N.LocaleConventions-accessing. (line 6560) * ~=: Complex-comparing. (line 4985) * abs: Complex-math. (line 5066) * absSquared: Complex-math. (line 5069) * accept: Sockets.ServerSocket-accessing. (line 8234) * accept:: Sockets.AbstractSocketImpl-socket operations. (line 7296) * accept: <1>: Sockets.ServerSocket-accessing. (line 8238) * accept:peer:addrLen:: Sockets.AbstractSocketImpl class-C call-outs. (line 7145) * accept:peer:addrLen: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7254) * activate: BLOX.BWidget-widget protocol. (line 4648) * activateNext: BLOX.BWidget-widget protocol. (line 4664) * activatePrevious: BLOX.BWidget-widget protocol. (line 4669) * active: BLOX.Blox class-utility. (line 2621) * activeBackground: BLOX.BMenuObject-accessing. (line 2976) * activeBackground:: BLOX.BMenuObject-accessing. (line 2986) * activeForeground: BLOX.BMenuObject-accessing. (line 2996) * activeForeground:: BLOX.BMenuObject-accessing. (line 3002) * add:: BLOX.BMenuBar-accessing. (line 2919) * add:afterIndex:: BLOX.BDropDown-list box accessing. (line 992) * add:afterIndex: <1>: BLOX.BList-accessing. (line 2232) * add:element:afterIndex:: BLOX.BDropDown-list box accessing. (line 997) * add:element:afterIndex: <1>: BLOX.BList-accessing. (line 2237) * addButton:receiver:index:: BLOX.BDialog-accessing. (line 750) * addButton:receiver:message:: BLOX.BDialog-accessing. (line 756) * addButton:receiver:message:argument:: BLOX.BDialog-accessing. (line 761) * addChild:: BLOX.BCanvas-geometry management. (line 384) * addChild: <1>: BLOX.Blox-customization. (line 2770) * addChild: <2>: BLOX.BPopupWindow-geometry management. (line 3173) * addChild: <3>: BLOX.BWidget-customization. (line 4273) * addEventSet:: BLOX.BEventTarget-intercepting events. (line 1629) * addLast:: BLOX.BDropDown-list box accessing. (line 1009) * addLast: <1>: BLOX.BList-accessing. (line 2249) * addLast:element:: BLOX.BDropDown-list box accessing. (line 1014) * addLast:element: <1>: BLOX.BList-accessing. (line 2254) * addLine: BLOX.BMenu-callback registration. (line 2885) * addMenuItemFor:notifying:: BLOX.BMenu-callback registration. (line 2888) * address: Sockets.AbstractSocket-accessing. (line 7016) * address <1>: Sockets.Datagram-accessing. (line 7473) * address <2>: Sockets.DatagramSocket-accessing. (line 7577) * address <3>: Sockets.ServerSocket-accessing. (line 8243) * address <4>: Sockets.StreamSocket-accessing. (line 8647) * address:: Sockets.Datagram-accessing. (line 7476) * addressClass: Sockets.AbstractSocketImpl class-abstract. (line 7132) * addressClass <1>: Sockets.IPAddress-accessing. (line 7946) * addressFamily: Sockets.IP6Address class-C constants. (line 7749) * addressFamily <1>: Sockets.IPAddress class-C constants. (line 7839) * addressFamily <2>: Sockets.SocketAddress class-C constants. (line 8473) * addressFamily <3>: Sockets.UnixAddress class-C constants. (line 8819) * addressSize: Sockets.IP6Address class-constants. (line 7764) * addressSize <1>: Sockets.IPAddress class-constants. (line 7848) * aiAddr: Sockets.CAddrInfoStruct-C call-outs. (line 7404) * aiAddrconfig: Sockets.SocketAddress class-C constants. (line 8476) * aiAll: Sockets.IP6Address class-C constants. (line 7752) * aiCanonname: Sockets.CAddrInfoStruct-C call-outs. (line 7407) * aiCanonname <1>: Sockets.SocketAddress class-C constants. (line 8479) * aiV4mapped: Sockets.IP6Address class-C constants. (line 7755) * alignment: BLOX.BLabel-accessing. (line 2087) * alignment:: BLOX.BLabel-accessing. (line 2097) * allByName:: Sockets.SocketAddress class-host name lookup. (line 8498) * allFormatsExample: I18N.LcTime-tests. (line 6450) * anyLocalAddress: Sockets.SocketAddress class-accessing. (line 8414) * anyLocalAddress:: Sockets.SocketAddress class-initialization. (line 8513) * arcTan: Complex-transcendental functions. (line 5097) * arcTan:: Complex-transcendental functions. (line 5100) * arg: Complex-transcendental functions. (line 5103) * asArray: DBI.Row-accessing. (line 5433) * asByteArray: Sockets.IP6Address-accessing. (line 7812) * asByteArray <1>: Sockets.IPAddress-accessing. (line 7950) * asByteArray <2>: Sockets.SocketAddress-accessing. (line 8545) * asDictionary: DBI.Row-accessing. (line 5436) * asExactFraction: Complex-converting. (line 4991) * asFloat: Complex-converting. (line 4994) * asFloatD: Complex-converting. (line 4997) * asFloatE: Complex-converting. (line 5000) * asFloatQ: Complex-converting. (line 5003) * asFraction: Complex-converting. (line 5006) * asPrimitiveWidget: BLOX.BExtended-accessing. (line 1769) * asPrimitiveWidget <1>: BLOX.Blox-widget protocol. (line 2785) * asPrimitiveWidget <2>: BLOX.BMenuObject-accessing. (line 3008) * asPrimitiveWidget <3>: BLOX.BPrimitive-accessing. (line 3238) * associationAt:: BLOX.BDropDown-list box accessing. (line 1025) * associationAt: <1>: BLOX.BList-accessing. (line 2265) * asString: I18N.EncodedString-accessing. (line 5740) * asUnicodeString: I18N.EncodedString-accessing. (line 5743) * at:: BLOX.BCanvas-widget protocol. (line 434) * at: <1>: BLOX.BDropDown-list box accessing. (line 1030) * at: <2>: BLOX.BList-accessing. (line 2270) * at: <3>: BLOX.Blox class-utility. (line 2625) * at: <4>: DBI.Row-accessing. (line 5439) * at: <5>: I18N.EncodedString-accessing. (line 5746) * at: <6>: I18N.LcMessagesDomain-querying. (line 6088) * at:cache:: Sockets.SocketAddress class-accessing. (line 8417) * at:plural:with:: I18N.LcMessagesDomain-querying. (line 6092) * at:put:: I18N.EncodedString-accessing. (line 5749) * at:put: <1>: I18N.LcMessagesDomain-querying. (line 6096) * atEnd: DBI.ResultSet-cursor access. (line 5392) * atEnd <1>: I18N.Encoder-stream operations. (line 5877) * atEnd <2>: Sockets.AbstractSocket-stream protocol. (line 7093) * atEnd <3>: Sockets.ReadBuffer-buffer handling. (line 8142) * atEnd <4>: Sockets.StreamSocket-stream protocol. (line 8681) * atEnd <5>: ZLib.ZlibReadStream-streaming. (line 9141) * atEndOfInput: I18N.Encoder-stream operations. (line 5882) * atIndex:: DBI.Row-accessing. (line 5442) * atMouse: BLOX.Blox class-utility. (line 2630) * available: Sockets.AbstractSocket-accessing. (line 7021) * availableBytes: Sockets.ReadBuffer-buffer handling. (line 8145) * availableBytes <1>: Sockets.StreamSocket-stream protocol. (line 8684) * backgroundColor: BLOX.BButton-accessing. (line 210) * backgroundColor <1>: BLOX.BCanvas-accessing. (line 357) * backgroundColor <2>: BLOX.BDropDown-accessing. (line 815) * backgroundColor <3>: BLOX.BEdit-accessing. (line 1306) * backgroundColor <4>: BLOX.BForm-accessing. (line 1803) * backgroundColor <5>: BLOX.BImage-accessing. (line 1915) * backgroundColor <6>: BLOX.BLabel-accessing. (line 2107) * backgroundColor <7>: BLOX.BList-accessing. (line 2273) * backgroundColor <8>: BLOX.BMenuObject-accessing. (line 3011) * backgroundColor <9>: BLOX.BProgress-accessing. (line 3252) * backgroundColor <10>: BLOX.BText-accessing. (line 3426) * backgroundColor <11>: BLOX.BTextAttributes-setting attributes. (line 3907) * backgroundColor:: BLOX.BButton-accessing. (line 216) * backgroundColor: <1>: BLOX.BCanvas-accessing. (line 363) * backgroundColor: <2>: BLOX.BDropDown-accessing. (line 824) * backgroundColor: <3>: BLOX.BDropDownEdit-accessing. (line 1107) * backgroundColor: <4>: BLOX.BDropDownList-accessing. (line 1208) * backgroundColor: <5>: BLOX.BEdit-accessing. (line 1312) * backgroundColor: <6>: BLOX.BForm-accessing. (line 1809) * backgroundColor: <7>: BLOX.BImage-accessing. (line 1921) * backgroundColor: <8>: BLOX.BLabel-accessing. (line 2113) * backgroundColor: <9>: BLOX.BList-accessing. (line 2279) * backgroundColor: <10>: BLOX.BMenuObject-accessing. (line 3017) * backgroundColor: <11>: BLOX.BProgress-accessing. (line 3257) * backgroundColor: <12>: BLOX.BText-accessing. (line 3432) * backgroundColor: <13>: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3792) * backgroundColor: <14>: BLOX.BTextAttributes-setting attributes. (line 3914) * balloonDelayTime: BLOX.BBalloon class-accessing. (line 89) * balloonDelayTime:: BLOX.BBalloon class-accessing. (line 93) * basicAddChild:: BLOX.Blox-customization. (line 2777) * basicPrint:on:: I18N.LcNumeric-printing. (line 6361) * beep: BLOX.Blox class-utility. (line 2635) * between:and:do:: BLOX.BCanvas-widget protocol. (line 438) * bind:to:addrLen:: Sockets.AbstractSocketImpl class-C call-outs. (line 7148) * bind:to:addrLen: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7257) * bindTo:port:: Sockets.AbstractSocketImpl-socket operations. (line 7301) * black: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3796) * black <1>: BLOX.BTextAttributes-colors. (line 3871) * blank: BLOX.BImage-image management. (line 1994) * blox: BLOX.BCanvasObject-accessing. (line 494) * blox <1>: BLOX.Gui-accessing. (line 4920) * blox:: BLOX.Gui-accessing. (line 4923) * blue: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3799) * blue <1>: BLOX.BTextAttributes-colors. (line 3874) * borderWidth: BLOX.BWidget-accessing. (line 4180) * borderWidth:: BLOX.BWidget-accessing. (line 4189) * boundingBox: BLOX.BBoundingBox-accessing. (line 130) * boundingBox <1>: BLOX.BCanvas-widget protocol. (line 443) * boundingBox <2>: BLOX.BCanvasObject-accessing. (line 497) * boundingBox <3>: BLOX.BPolyline-accessing. (line 3079) * boundingBox <4>: BLOX.BWidget-geometry management. (line 4305) * boundingBox:: BLOX.BWidget-geometry management. (line 4308) * bringToTop: BLOX.BWidget-widget protocol. (line 4674) * bufferContents: Sockets.ReadBuffer-buffer handling. (line 8148) * bufferContents <1>: Sockets.StreamSocket-stream protocol. (line 8688) * bufferSize: Sockets.DatagramSocket-accessing. (line 7580) * bufferSize <1>: Sockets.DatagramSocketImpl-accessing. (line 7638) * bufferSize <2>: ZLib.ZlibStream class-accessing. (line 9172) * bufferSize:: Sockets.DatagramSocket-accessing. (line 7583) * bufferSize: <1>: Sockets.DatagramSocketImpl-accessing. (line 7641) * bufferSize: <2>: ZLib.ZlibStream class-accessing. (line 9176) * byName:: Sockets.SocketAddress class-host name lookup. (line 8504) * callback: BLOX.BButton-accessing. (line 222) * callback <1>: BLOX.BButtonLike-accessing. (line 319) * callback <2>: BLOX.BDropDown-callbacks. (line 938) * callback <3>: BLOX.BEdit-accessing. (line 1318) * callback <4>: BLOX.BList-widget protocol. (line 2519) * callback <5>: BLOX.BMenuObject-callback. (line 3038) * callback <6>: BLOX.BText-accessing. (line 3438) * callback <7>: BLOX.BWindow-accessing. (line 4713) * callback:message:: BLOX.BButton-accessing. (line 226) * callback:message: <1>: BLOX.BButtonLike-accessing. (line 323) * callback:message: <2>: BLOX.BDropDown-callbacks. (line 942) * callback:message: <3>: BLOX.BDropDownList-callbacks. (line 1269) * callback:message: <4>: BLOX.BEdit-accessing. (line 1322) * callback:message: <5>: BLOX.BList-widget protocol. (line 2523) * callback:message: <6>: BLOX.BMenuObject-callback. (line 3042) * callback:message: <7>: BLOX.BRadioButton-accessing. (line 3296) * callback:message: <8>: BLOX.BText-accessing. (line 3442) * callback:message: <9>: BLOX.BToggle-accessing. (line 4044) * callback:message: <10>: BLOX.BWindow-accessing. (line 4717) * callback:message:argument:: BLOX.BMenuObject-callback. (line 3047) * callback:using:: BLOX.BMenu-callback registration. (line 2895) * canRead: Sockets.AbstractSocket-accessing. (line 7025) * canRead <1>: Sockets.OOBSocketImpl-implementation. (line 8075) * canRead <2>: Sockets.StreamSocket-stream protocol. (line 8691) * canWrite: Sockets.AbstractSocket-accessing. (line 7028) * canWrite <1>: Sockets.Socket-stream protocol. (line 8359) * cap: BLOX.BLine-accessing. (line 2205) * cap <1>: BLOX.BPolyline-accessing. (line 3082) * cap:: BLOX.BLine-accessing. (line 2210) * cap: <1>: BLOX.BPolyline-accessing. (line 3089) * category: I18N.LcMessages class-accessing. (line 5985) * category <1>: I18N.LcMonetary class-accessing. (line 6301) * category <2>: I18N.LcNumeric class-accessing. (line 6350) * category <3>: I18N.LcTime class-accessing. (line 6409) * category <4>: I18N.LocaleData class-accessing. (line 6576) * ceiling: Complex-converting. (line 5009) * center: BLOX.BBoundingBox-accessing. (line 133) * center <1>: BLOX.BDialog-widget protocol. (line 777) * center <2>: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3802) * center <3>: BLOX.BTextAttributes-setting attributes. (line 3921) * center <4>: BLOX.BWindow-widget protocol. (line 4777) * center:extent:: BLOX.BBoundingBox-accessing. (line 136) * centerIn:: BLOX.BDialog-widget protocol. (line 780) * centerIn: <1>: BLOX.BWindow-widget protocol. (line 4780) * charset: I18N.LocaleData-accessing. (line 6635) * charsInLine:: BLOX.BText-position & lines. (line 3733) * checkPeriod: Sockets.AbstractSocket class-timed-out operations. (line 6917) * checkPeriod:: Sockets.AbstractSocket class-timed-out operations. (line 6922) * child:: I18N.RTENegationNode class-initializing. (line 6781) * child: <1>: I18N.RTENegationNode-computing. (line 6787) * child:height:: BLOX.BCanvas-geometry management. (line 391) * child:height: <1>: BLOX.BPopupWindow-geometry management. (line 3181) * child:height: <2>: BLOX.BText-geometry management. (line 3595) * child:height: <3>: BLOX.BWidget-geometry management. (line 4311) * child:heightOffset:: BLOX.BCanvas-geometry management. (line 394) * child:heightOffset: <1>: BLOX.BPopupWindow-geometry management. (line 3185) * child:heightOffset: <2>: BLOX.BText-geometry management. (line 3598) * child:heightOffset: <3>: BLOX.BWidget-geometry management. (line 4321) * child:stretch:: BLOX.BWidget-geometry management. (line 4331) * child:width:: BLOX.BCanvas-geometry management. (line 397) * child:width: <1>: BLOX.BPopupWindow-geometry management. (line 3188) * child:width: <2>: BLOX.BText-geometry management. (line 3602) * child:width: <3>: BLOX.BWidget-geometry management. (line 4338) * child:widthOffset:: BLOX.BCanvas-geometry management. (line 400) * child:widthOffset: <1>: BLOX.BPopupWindow-geometry management. (line 3192) * child:widthOffset: <2>: BLOX.BText-geometry management. (line 3605) * child:widthOffset: <3>: BLOX.BWidget-geometry management. (line 4348) * child:x:: BLOX.BCanvas-geometry management. (line 403) * child:x: <1>: BLOX.BPopupWindow-geometry management. (line 3195) * child:x: <2>: BLOX.BText-geometry management. (line 3609) * child:x: <3>: BLOX.BWidget-geometry management. (line 4358) * child:xOffset:: BLOX.BCanvas-geometry management. (line 407) * child:xOffset: <1>: BLOX.BPopupWindow-geometry management. (line 3199) * child:xOffset: <2>: BLOX.BText-geometry management. (line 3613) * child:xOffset: <3>: BLOX.BWidget-geometry management. (line 4368) * child:y:: BLOX.BCanvas-geometry management. (line 410) * child:y: <1>: BLOX.BPopupWindow-geometry management. (line 3202) * child:y: <2>: BLOX.BText-geometry management. (line 3616) * child:y: <3>: BLOX.BWidget-geometry management. (line 4378) * child:yOffset:: BLOX.BCanvas-geometry management. (line 414) * child:yOffset: <1>: BLOX.BPopupWindow-geometry management. (line 3206) * child:yOffset: <2>: BLOX.BText-geometry management. (line 3620) * child:yOffset: <3>: BLOX.BWidget-geometry management. (line 4388) * childrenCount: BLOX.Blox-widget protocol. (line 2788) * childrenDo:: BLOX.Blox-widget protocol. (line 2791) * chooseColor:label:default:: BLOX.BDialog class-prompters. (line 685) * chooseFileToOpen:label:default:defaultExtension:types:: BLOX.BDialog class-prompters. (line 693) * chooseFileToSave:label:default:defaultExtension:types:: BLOX.BDialog class-prompters. (line 721) * clearClipboard: BLOX.Blox class-utility. (line 2638) * clipboard: BLOX.Blox class-utility. (line 2641) * clipboard:: BLOX.Blox class-utility. (line 2644) * close: DBI.Connection-connecting. (line 5230) * close <1>: Sockets.AbstractSocket-accessing. (line 7031) * close <2>: Sockets.ReadBuffer-buffer handling. (line 8151) * close <3>: Sockets.StreamSocket-stream protocol. (line 8695) * close <4>: Sockets.UnixDatagramSocketImpl-socket operations. (line 8885) * close <5>: Sockets.UnixSocketImpl-socket operations. (line 8901) * close <6>: Sockets.WriteBuffer-buffer handling. (line 8925) * close <7>: ZLib.ZlibWriteStream-streaming. (line 9223) * closed: BLOX.BPolyline-accessing. (line 3096) * closed:: BLOX.BPolyline-accessing. (line 3099) * coerce:: Complex-creation/coercion. (line 5024) * color: BLOX.BCanvasObject-accessing. (line 500) * color <1>: BLOX.BColorButton-accessing. (line 616) * color:: BLOX.BCanvasObject-accessing. (line 503) * color: <1>: BLOX.BColorButton-accessing. (line 619) * columnAt:: DBI.ResultSet-accessing. (line 5358) * columnAt: <1>: DBI.Row-accessing. (line 5446) * columnAt: <2>: DBI.Table-accessing. (line 5513) * columnCount: DBI.Row-accessing. (line 5449) * columnNames: DBI.ResultSet-accessing. (line 5361) * columnNames <1>: DBI.Row-accessing. (line 5452) * columnNames <2>: DBI.Table-accessing. (line 5516) * columns: DBI.ResultSet-accessing. (line 5364) * columns <1>: DBI.Row-accessing. (line 5455) * columns <2>: DBI.Table-accessing. (line 5519) * compressingTo:: ZLib.DeflateStream class-instance creation. (line 8957) * compressingTo: <1>: ZLib.GZipDeflateStream class-instance creation. (line 8985) * compressingTo: <2>: ZLib.RawDeflateStream class-instance creation. (line 9029) * compressingTo:level:: ZLib.DeflateStream class-instance creation. (line 8961) * compressingTo:level: <1>: ZLib.GZipDeflateStream class-instance creation. (line 8989) * compressingTo:level: <2>: ZLib.RawDeflateStream class-instance creation. (line 9033) * condition:ifTrue:ifFalse:: I18N.RTEAlternativeNode class-compiling. (line 6688) * condition:ifTrue:ifFalse: <1>: I18N.RTEAlternativeNode-computing. (line 6695) * conjugate: Complex-math. (line 5072) * connect:to:addrLen:: Sockets.AbstractSocketImpl class-C call-outs. (line 7151) * connect:to:addrLen: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7260) * connect:user:password:: DBI.Connection class-connecting. (line 5186) * connected: BLOX.BViewport-accessing. (line 4111) * connectTo:port:: Sockets.AbstractSocketImpl-accessing. (line 7211) * connectTo:port: <1>: Sockets.SocketImpl-socket operations. (line 8591) * contents: BLOX.BDialog-accessing. (line 767) * contents <1>: BLOX.BEdit-accessing. (line 1327) * contents <2>: BLOX.BText-accessing. (line 3447) * contents <3>: ZLib.ZlibWriteStream-streaming. (line 9227) * contents:: BLOX.BDialog-accessing. (line 771) * contents: <1>: BLOX.BDropDown-list box accessing. (line 1033) * contents: <2>: BLOX.BEdit-accessing. (line 1330) * contents: <3>: BLOX.BList-accessing. (line 2285) * contents: <4>: BLOX.BText-accessing. (line 3450) * contents:elements:: BLOX.BDropDown-list box accessing. (line 1037) * contents:elements: <1>: BLOX.BList-accessing. (line 2289) * continue: Debugger-stepping commands. (line 5589) * copy: I18N.EncodedString-copying. (line 5782) * copyEmpty: I18N.EncodedString-copying. (line 5785) * copyEmpty:: I18N.EncodedString-copying. (line 5788) * copyFrom:to:: ZLib.RawInflateStream-positioning. (line 9075) * copyInto:: BLOX.BCanvasObject-accessing. (line 506) * copyInto: <1>: BLOX.BEmbeddedImage-accessing. (line 1484) * copyObject: BLOX.BCanvasObject-accessing. (line 511) * corner: BLOX.BBoundingBox-accessing. (line 142) * corner:: BLOX.BBoundingBox-accessing. (line 145) * cos: Complex-transcendental functions. (line 5106) * cosh: Complex-transcendental functions. (line 5109) * create: BLOX.BCanvasObject-widget protocol. (line 544) * create <1>: BLOX.BExtended-customization. (line 1775) * create <2>: BLOX.BWidget-customization. (line 4280) * create:type:protocol:: Sockets.AbstractSocketImpl class-C call-outs. (line 7154) * create:type:protocol: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7263) * createColor:green:blue:: BLOX.Blox class-utility. (line 2648) * createColor:magenta:yellow:: BLOX.Blox class-utility. (line 2653) * createColor:magenta:yellow:black:: BLOX.Blox class-utility. (line 2658) * createColor:saturation:value:: BLOX.Blox class-utility. (line 2663) * createCopy: BLOX.BCanvasObject-accessing. (line 518) * createCopyInto:: BLOX.BCanvasObject-accessing. (line 525) * created: BLOX.BCanvasObject-widget protocol. (line 548) * createList: BLOX.BDropDown-flexibility. (line 953) * createLoopbackHost: Sockets.IP6Address class-initialization. (line 7773) * createLoopbackHost <1>: Sockets.IPAddress class-initialization. (line 7857) * createLoopbackHost <2>: Sockets.SocketAddress class-initialization. (line 8517) * createLoopbackHost <3>: Sockets.UnixAddress class-initialization. (line 8828) * createTextWidget: BLOX.BDropDown-flexibility. (line 958) * createUnknownAddress: Sockets.IP6Address class-initialization. (line 7777) * createUnknownAddress <1>: Sockets.IPAddress class-initialization. (line 7861) * createUnknownAddress <2>: Sockets.SocketAddress class-initialization. (line 8521) * createUnknownAddress <3>: Sockets.UnixAddress class-initialization. (line 8832) * currentColumn: BLOX.BText-position & lines. (line 3736) * currentLine: BLOX.BText-position & lines. (line 3740) * currentLine <1>: Debugger-inferior process properties. (line 5574) * currentLineIn:: Debugger class-source code. (line 5568) * currentPosition: BLOX.BText-position & lines. (line 3744) * currentPosition:: BLOX.BText-position & lines. (line 3750) * cursor: BLOX.BWidget-accessing. (line 4198) * cursor:: BLOX.BWidget-accessing. (line 4205) * cyan: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3806) * cyan <1>: BLOX.BTextAttributes-colors. (line 3877) * darkCyan: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3809) * darkCyan <1>: BLOX.BTextAttributes-colors. (line 3880) * darkGreen: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3812) * darkGreen <1>: BLOX.BTextAttributes-colors. (line 3883) * darkMagenta: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3815) * darkMagenta <1>: BLOX.BTextAttributes-colors. (line 3886) * data: BLOX.BEmbeddedImage-accessing. (line 1489) * data <1>: Sockets.Datagram-accessing. (line 7479) * data:: BLOX.BEmbeddedImage-accessing. (line 1494) * data: <1>: BLOX.BImage-image management. (line 1997) * data: <2>: Sockets.Datagram class-instance creation. (line 7447) * data: <3>: Sockets.Datagram-accessing. (line 7482) * data:address:port:: Sockets.Datagram class-instance creation. (line 7450) * database: DBI.Connection-accessing. (line 5213) * database <1>: DBI.Table-accessing. (line 5522) * datagramClass: Sockets.DatagramSocket-accessing. (line 7586) * datagramClass <1>: Sockets.DatagramSocketImpl class-parameters. (line 7628) * datagramLoopbackTest: Sockets.Socket class-tests. (line 8287) * datagramLoopbackTestOn:: Sockets.Socket class-tests. (line 8292) * dataSize: Sockets.Datagram-accessing. (line 7485) * dataSize:: Sockets.Datagram-accessing. (line 7488) * debuggerClass: Debugger class-disabling debugging. (line 5555) * deepCopy: BLOX.BCanvasObject-accessing. (line 530) * deepCopy <1>: BLOX.Blox-basic. (line 2733) * default: I18N.Locale class-instance creation. (line 6483) * default <1>: I18N.LocaleConventions class-accessing. (line 6542) * default <2>: I18N.LocaleData class-accessing. (line 6579) * defaultAddressClass: Sockets.AbstractSocket class-defaults. (line 6882) * defaultAddressClass:: Sockets.AbstractSocket class-defaults. (line 6887) * defaultBufferSize: Sockets.DatagramSocket class-accessing. (line 7535) * defaultBufferSize:: Sockets.DatagramSocket class-accessing. (line 7538) * defaultCharset: I18N.LocaleData class-database. (line 6613) * defaultCharset:: I18N.LocaleData class-database. (line 6616) * defaultCompressionLevel: ZLib.ZlibStream class-accessing. (line 9180) * defaultCompressionLevel:: ZLib.ZlibStream class-accessing. (line 9183) * defaultDatagramSocketImplClass: Sockets.SocketAddress class-accessing. (line 8422) * defaultDatagramSocketImplClass:: Sockets.SocketAddress class-accessing. (line 8426) * defaultFont: BLOX.Blox class-utility. (line 2668) * defaultHeight: BLOX.BForm-accessing. (line 1815) * defaultHeight:: BLOX.BForm-accessing. (line 1822) * defaultImplementationClassFor:: Sockets.AbstractSocket class-defaults. (line 6892) * defaultImplementationClassFor: <1>: Sockets.DatagramSocket class-accessing. (line 7541) * defaultImplementationClassFor: <2>: Sockets.ServerSocket class-accessing. (line 8196) * defaultImplementationClassFor: <3>: Sockets.StreamSocket class-accessing. (line 8611) * defaultPortAt:: Sockets.AbstractSocket class-well known ports. (line 6939) * defaultPortAt:ifAbsent:: Sockets.AbstractSocket class-well known ports. (line 6943) * defaultPortAt:put:: Sockets.AbstractSocket class-well known ports. (line 6947) * defaultQueueSize: Sockets.ServerSocket class-instance creation. (line 8202) * defaultRawSocketImplClass: Sockets.SocketAddress class-accessing. (line 8430) * defaultRawSocketImplClass:: Sockets.SocketAddress class-accessing. (line 8434) * defaults: I18N.LocaleData class-database. (line 6619) * defaultStreamSocketImplClass: Sockets.SocketAddress class-accessing. (line 8438) * defaultStreamSocketImplClass:: Sockets.SocketAddress class-accessing. (line 8442) * defaultWidth: BLOX.BForm-accessing. (line 1829) * defaultWidth:: BLOX.BForm-accessing. (line 1836) * description: I18N.IncompleteSequenceError-accessing. (line 5941) * description <1>: I18N.InvalidCharsetError-accessing. (line 5956) * description <2>: I18N.InvalidSequenceError-accessing. (line 5971) * destroy: BLOX.Blox-widget protocol. (line 2795) * destroy <1>: BLOX.BMenu-callback registration. (line 2901) * destroyed: BLOX.BCanvas-widget protocol. (line 446) * destroyed <1>: BLOX.BDialog-widget protocol. (line 783) * destroyed <2>: BLOX.BEdit-widget protocol. (line 1418) * destroyed <3>: BLOX.BImage-widget protocol. (line 2059) * destroyed <4>: BLOX.BRadioGroup-widget protocol. (line 3340) * directory: BLOX.BImage class-small icons. (line 1906) * dispatchEvents: BLOX.Blox class-event dispatching. (line 2589) * dispatchEvents:: BLOX.Blox class-event dispatching. (line 2595) * displayHeight: BLOX.BImage-accessing. (line 1927) * displayHeight:: BLOX.BImage-accessing. (line 1934) * displayOn:: DBI.ColumnInfo-printing. (line 5169) * displayOn: <1>: I18N.EncodedString-printing. (line 5803) * displayWidth: BLOX.BImage-accessing. (line 1941) * displayWidth:: BLOX.BImage-accessing. (line 1948) * dither: BLOX.BImage-image management. (line 2001) * do:: BLOX.BCanvas-widget protocol. (line 450) * do: <1>: BLOX.BDropDown-list box accessing. (line 1042) * do: <2>: BLOX.BList-accessing. (line 2294) * do: <3>: DBI.Connection-querying. (line 5236) * do: <4>: I18N.EncodedString-accessing. (line 5752) * domain:: I18N.LcMessages-opening MO files. (line 6019) * domain:localeDirectory:: I18N.LcMessages-opening MO files. (line 6024) * downArrow: BLOX.BImage class-arrows. (line 1854) * drawingArea: BLOX.Blox-widget protocol. (line 2798) * driver: DBI.ConnectionInfo-accessing. (line 5274) * driver:: DBI.ConnectionInfo-accessing. (line 5277) * dropdown: BLOX.BDropDown-widget protocol. (line 1082) * droppedRows: BLOX.BDropDown-accessing. (line 833) * droppedRows:: BLOX.BDropDown-accessing. (line 837) * dropRectangle: BLOX.BDropDown-widget protocol. (line 1074) * effect: BLOX.BWidget-accessing. (line 4212) * effect:: BLOX.BWidget-accessing. (line 4225) * elements: BLOX.BList-accessing. (line 2297) * elements:: BLOX.BDropDown-list box accessing. (line 1045) * elements: <1>: BLOX.BList-accessing. (line 2301) * emacsLike: BLOX.BText class-accessing. (line 3410) * emacsLike:: BLOX.BText class-accessing. (line 3413) * empty: BLOX.BCanvas-widget protocol. (line 453) * empty <1>: BLOX.BMenu-callback registration. (line 2905) * enabled: BLOX.Blox-widget protocol. (line 2805) * enabled:: BLOX.Blox-widget protocol. (line 2810) * encoding: I18N.EncodedString-accessing. (line 5755) * encoding <1>: I18N.EncodedStringFactory-instance creation. (line 5838) * encoding:: I18N.EncodedStream class-instance creation. (line 5667) * encoding: <1>: I18N.EncodedString-initializing. (line 5794) * encoding: <2>: I18N.EncodedStringFactory class-instance creation. (line 5824) * encoding: <3>: I18N.EncodedStringFactory-instance creation. (line 5841) * encoding:as:: I18N.EncodedStream class-instance creation. (line 5672) * endAngle: BLOX.BArc-accessing. (line 29) * endAngle:: BLOX.BArc-accessing. (line 33) * ensureReadable: Sockets.AbstractSocketImpl-asynchronous operations. (line 7238) * ensureReadable <1>: Sockets.OOBSocketImpl-implementation. (line 8078) * ensureWriteable: Sockets.AbstractSocketImpl-asynchronous operations. (line 7242) * ensureWriteable <1>: Sockets.Socket-stream protocol. (line 8363) * evalIn:tcl:: BLOX.Blox class-C call-outs. (line 2574) * events: BLOX.BTextAttributes-setting attributes. (line 3924) * events:: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3818) * events: <1>: BLOX.BTextAttributes-setting attributes. (line 3928) * exclaim: BLOX.BImage class-icons. (line 1875) * execute: DBI.Statement-querying. (line 5488) * executeWith:: DBI.Statement-querying. (line 5491) * executeWith:with:: DBI.Statement-querying. (line 5494) * executeWith:with:with:: DBI.Statement-querying. (line 5497) * executeWithAll:: DBI.Statement-querying. (line 5500) * exists: BLOX.Blox-widget protocol. (line 2815) * exp: Complex-transcendental functions. (line 5112) * extent: BLOX.BBoundingBox-accessing. (line 151) * extent <1>: BLOX.BWidget-geometry management. (line 4398) * extent:: BLOX.BBoundingBox-accessing. (line 154) * extent: <1>: BLOX.BWidget-geometry management. (line 4401) * extractFromSockAddr:port:: Sockets.SocketAddress class-abstract. (line 8400) * extraSpace: BLOX.BCanvas-widget protocol. (line 456) * extraSpace:: BLOX.BCanvas-widget protocol. (line 460) * fetch: DBI.ResultSet-cursor access. (line 5396) * fieldConverter: DBI.Connection-accessing. (line 5217) * file: BLOX.BImage class-small icons. (line 1909) * fileFormatDescription: I18N.LcMessagesMoFileVersion0 class-documentation. (line 6132) * fileName: I18N.FileStreamSegment-basic. (line 5921) * fileOp:: Sockets.AbstractSocketImpl-socket operations. (line 7305) * fileOp:ifFail:: Sockets.AbstractSocketImpl-socket operations. (line 7309) * fileOp:with:: Sockets.AbstractSocketImpl-socket operations. (line 7313) * fileOp:with:ifFail:: Sockets.AbstractSocketImpl-socket operations. (line 7317) * fileOp:with:with:: Sockets.AbstractSocketImpl-socket operations. (line 7321) * fileOp:with:with:ifFail:: Sockets.AbstractSocketImpl-socket operations. (line 7325) * fileOp:with:with:with:: Sockets.AbstractSocketImpl-socket operations. (line 7329) * fileOp:with:with:with:ifFail:: Sockets.AbstractSocketImpl-socket operations. (line 7333) * fill: Sockets.ReadBuffer-buffer handling. (line 8154) * fill <1>: Sockets.StreamSocket-stream protocol. (line 8698) * fillBlock:: Sockets.ReadBuffer-buffer handling. (line 8158) * fillChord: BLOX.BArc-accessing. (line 37) * filledColor: BLOX.BProgress-accessing. (line 3262) * filledColor:: BLOX.BProgress-accessing. (line 3265) * fillFrom:extent:color:: BLOX.BImage-image management. (line 2009) * fillFrom:to:color:: BLOX.BImage-image management. (line 2013) * fillRectangle:color:: BLOX.BImage-image management. (line 2016) * fillSlice: BLOX.BArc-accessing. (line 41) * finish: Debugger-stepping commands. (line 5593) * finish <1>: ZLib.ZlibWriteStream-streaming. (line 9232) * finish:: Debugger-stepping commands. (line 5596) * floor: Complex-converting. (line 5012) * flush: I18N.LcMessagesDomain-handling the cache. (line 6073) * flush <1>: I18N.LcMessagesMoFileVersion0-flushing the cache. (line 6265) * flush <2>: I18N.Locale class-instance creation. (line 6487) * flush <3>: I18N.LocaleData class-accessing. (line 6583) * flush <4>: Sockets.AbstractSocket-accessing. (line 7034) * flush <5>: Sockets.Socket-stream protocol. (line 8367) * flush <6>: Sockets.SocketAddress class-initialization. (line 8525) * flush <7>: Sockets.WriteBuffer-buffer handling. (line 8928) * flush <8>: ZLib.ZlibWriteStream-streaming. (line 9236) * flushBlock:: Sockets.WriteBuffer-buffer handling. (line 8931) * flushBuffer: ZLib.ZlibWriteStream-streaming. (line 9240) * flushDictionary: ZLib.ZlibWriteStream-streaming. (line 9243) * font: BLOX.BButton-accessing. (line 231) * font <1>: BLOX.BDropDown-accessing. (line 841) * font <2>: BLOX.BEdit-accessing. (line 1333) * font <3>: BLOX.BEmbeddedText-accessing. (line 1516) * font <4>: BLOX.BLabel-accessing. (line 2119) * font <5>: BLOX.BList-accessing. (line 2305) * font <6>: BLOX.BText-accessing. (line 3453) * font <7>: BLOX.BTextAttributes-setting attributes. (line 3932) * font:: BLOX.BButton-accessing. (line 254) * font: <1>: BLOX.BDropDown-accessing. (line 867) * font: <2>: BLOX.BDropDownEdit-accessing. (line 1113) * font: <3>: BLOX.BDropDownList-accessing. (line 1216) * font: <4>: BLOX.BEdit-accessing. (line 1356) * font: <5>: BLOX.BEmbeddedText-accessing. (line 1539) * font: <6>: BLOX.BLabel-accessing. (line 2142) * font: <7>: BLOX.BList-accessing. (line 2328) * font: <8>: BLOX.BText-accessing. (line 3476) * font: <9>: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3822) * font: <10>: BLOX.BTextAttributes-setting attributes. (line 3953) * fontHeight:: BLOX.Blox-widget protocol. (line 2819) * fonts: BLOX.Blox class-utility. (line 2671) * fontWidth:: BLOX.Blox-widget protocol. (line 2824) * foregroundColor: BLOX.BButton-accessing. (line 277) * foregroundColor <1>: BLOX.BCanvas-accessing. (line 369) * foregroundColor <2>: BLOX.BDropDown-accessing. (line 893) * foregroundColor <3>: BLOX.BEdit-accessing. (line 1379) * foregroundColor <4>: BLOX.BImage-accessing. (line 1955) * foregroundColor <5>: BLOX.BLabel-accessing. (line 2165) * foregroundColor <6>: BLOX.BList-accessing. (line 2351) * foregroundColor <7>: BLOX.BMenuObject-accessing. (line 3023) * foregroundColor <8>: BLOX.BProgress-accessing. (line 3268) * foregroundColor <9>: BLOX.BText-accessing. (line 3499) * foregroundColor <10>: BLOX.BTextAttributes-setting attributes. (line 3974) * foregroundColor:: BLOX.BButton-accessing. (line 283) * foregroundColor: <1>: BLOX.BCanvas-accessing. (line 375) * foregroundColor: <2>: BLOX.BDropDown-accessing. (line 902) * foregroundColor: <3>: BLOX.BDropDownEdit-accessing. (line 1136) * foregroundColor: <4>: BLOX.BDropDownList-accessing. (line 1239) * foregroundColor: <5>: BLOX.BEdit-accessing. (line 1385) * foregroundColor: <6>: BLOX.BImage-accessing. (line 1961) * foregroundColor: <7>: BLOX.BLabel-accessing. (line 2171) * foregroundColor: <8>: BLOX.BList-accessing. (line 2357) * foregroundColor: <9>: BLOX.BMenuObject-accessing. (line 3029) * foregroundColor: <10>: BLOX.BProgress-accessing. (line 3273) * foregroundColor: <11>: BLOX.BText-accessing. (line 3505) * foregroundColor: <12>: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3843) * foregroundColor: <13>: BLOX.BTextAttributes-setting attributes. (line 3981) * free: Sockets.CAddrInfoStruct-C call-outs. (line 7410) * from: BLOX.BArc-accessing. (line 46) * from:: BLOX.BArc-accessing. (line 49) * from:to:: BLOX.BArc-accessing. (line 52) * fromArray:: Sockets.IP6Address class-instance creation. (line 7787) * fromArray: <1>: Sockets.IPAddress class-instance creation. (line 7871) * fromBytes:: Sockets.IP6Address class-instance creation. (line 7792) * fromBytes: <1>: Sockets.IPAddress class-instance creation. (line 7876) * fromDSN:: DBI.ConnectionInfo class-instance creation. (line 5264) * fromSockAddr:port:: Sockets.IP6Address class-instance creation. (line 7797) * fromSockAddr:port: <1>: Sockets.IPAddress class-instance creation. (line 7881) * fromSockAddr:port: <2>: Sockets.SocketAddress class-abstract. (line 8405) * fromSockAddr:port: <3>: Sockets.UnixAddress class-instance creation. (line 8842) * fromString:: I18N.EncodedString class-instance creation. (line 5725) * fromString: <1>: I18N.EncodedStringFactory-instance creation. (line 5844) * fromString: <2>: I18N.Locale class-instance creation. (line 6491) * fromString: <3>: I18N.LocaleConventions class-accessing. (line 6546) * fromString: <4>: I18N.LocaleData class-accessing. (line 6586) * fromString: <5>: Sockets.IP6Address class-instance creation. (line 7802) * fromString: <6>: Sockets.IPAddress class-instance creation. (line 7886) * fromString:encoding:: I18N.EncodedString class-instance creation. (line 5728) * gamma: BLOX.BImage-accessing. (line 1967) * gamma:: BLOX.BImage-accessing. (line 1979) * generality: Complex-creation/coercion. (line 5027) * get: Sockets.Datagram-accessing. (line 7491) * getaddrinfo:: Sockets.CAddrInfoStruct-C function wrappers. (line 7416) * getaddrinfo:service:: Sockets.CAddrInfoStruct-C function wrappers. (line 7419) * getaddrinfo:service:hints:result:: Sockets.CAddrInfoStruct class-C call-outs. (line 7398) * getPeerName: Sockets.SocketImpl-socket operations. (line 8595) * getPeerName:addr:addrLen:: Sockets.AbstractSocketImpl class-C call-outs. (line 7157) * getPeerName:addr:addrLen: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7266) * getSelection: BLOX.BText-accessing. (line 3511) * getSockName: Sockets.AbstractSocketImpl-socket operations. (line 7337) * getSockName:addr:addrLen:: Sockets.AbstractSocketImpl class-C call-outs. (line 7160) * getSockName:addr:addrLen: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7269) * getThrough:: Sockets.Datagram-accessing. (line 7496) * gnu: BLOX.BImage class-GNU. (line 1869) * gotoLine:end:: BLOX.BText-position & lines. (line 3755) * grayOut: BLOX.BCanvasObject-accessing. (line 534) * green: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3847) * green <1>: BLOX.BTextAttributes-colors. (line 3889) * hash: Complex-comparing. (line 4982) * hash <1>: I18N.EncodedString-accessing. (line 5758) * hash <2>: Sockets.SocketAddress-accessing. (line 8549) * hash <3>: Sockets.UnixAddress-accessing. (line 8857) * hasSelection: BLOX.BEdit-widget protocol. (line 1422) * height: BLOX.BWidget-geometry management. (line 4405) * height <1>: BLOX.BWindow-widget protocol. (line 4783) * height:: BLOX.BWidget-geometry management. (line 4417) * height: <1>: BLOX.BWindow-widget protocol. (line 4787) * heightAbsolute: BLOX.BWidget-geometry management. (line 4424) * heightAbsolute <1>: BLOX.BWindow-widget protocol. (line 4790) * heightChild:: BLOX.BCanvas-geometry management. (line 417) * heightChild: <1>: BLOX.BPopupWindow-geometry management. (line 3209) * heightChild: <2>: BLOX.BText-geometry management. (line 3623) * heightChild: <3>: BLOX.BWidget-geometry management. (line 4428) * heightOffset: BLOX.BWidget-geometry management. (line 4438) * heightOffset:: BLOX.BWidget-geometry management. (line 4443) * heightOffset: <1>: BLOX.BWindow-widget protocol. (line 4794) * heightPixels:: BLOX.BWidget-geometry management. (line 4449) * highlight:: BLOX.BList-widget protocol. (line 2531) * highlightBackground: BLOX.BDropDown-accessing. (line 911) * highlightBackground <1>: BLOX.BList-accessing. (line 2363) * highlightBackground:: BLOX.BDropDown-accessing. (line 917) * highlightBackground: <1>: BLOX.BDropDownEdit-accessing. (line 1142) * highlightBackground: <2>: BLOX.BDropDownList-accessing. (line 1247) * highlightBackground: <3>: BLOX.BList-accessing. (line 2369) * highlightForeground: BLOX.BDropDown-accessing. (line 923) * highlightForeground <1>: BLOX.BList-accessing. (line 2375) * highlightForeground:: BLOX.BDropDown-accessing. (line 929) * highlightForeground: <1>: BLOX.BDropDownEdit-accessing. (line 1148) * highlightForeground: <2>: BLOX.BDropDownList-accessing. (line 1254) * highlightForeground: <3>: BLOX.BList-accessing. (line 2381) * horizontal: BLOX.BViewport-scrollbars. (line 4117) * horizontal:: BLOX.BViewport-scrollbars. (line 4121) * horizontalNeeded: BLOX.BViewport-scrollbars. (line 4125) * horizontalShown: BLOX.BViewport-scrollbars. (line 4129) * host: Sockets.IPAddress-accessing. (line 7954) * i: Complex class-instance creation. (line 4944) * i <1>: Complex-creation/coercion. (line 5030) * iconify: BLOX.BWindow-widget protocol. (line 4797) * id: I18N.LocaleData-accessing. (line 6638) * id:: I18N.LocaleData-initialization. (line 6671) * id:on:: I18N.LcMessagesDomain class-opening MO files. (line 6066) * idle: BLOX.Blox class-C call-outs. (line 2577) * image:: BLOX.BImage-image management. (line 2020) * imageHeight: BLOX.BImage-image management. (line 2024) * imageWidth: BLOX.BImage-image management. (line 2031) * imaginary: Complex-creation/coercion. (line 5033) * index: BLOX.BDropDownList-list box accessing. (line 1283) * index <1>: BLOX.BList-accessing. (line 2387) * index <2>: DBI.ColumnInfo-accessing. (line 5149) * index:: BLOX.BDropDown-list box accessing. (line 1049) * indexAt:: BLOX.BList-accessing. (line 2394) * indexAt: <1>: BLOX.BText-position & lines. (line 3760) * info: BLOX.BImage class-icons. (line 1878) * initialize: BLOX.BLabel class-initialization. (line 2074) * initialize <1>: Complex class-instance creation. (line 4947) * initialize <2>: I18N.EncodedStream class-initializing. (line 5650) * initialize <3>: I18N.LcMessagesMoFileVersion0 class-plurals. (line 6253) * initialize <4>: I18N.LocaleData class-database. (line 6623) * initialize <5>: I18N.RunTimeExpression class-initializing. (line 6837) * initialize <6>: Sockets.DatagramSocket class-initialization. (line 7550) * initialize <7>: Sockets.IP6Address class-initialization. (line 7781) * initialize <8>: Sockets.IPAddress class-initialization. (line 7865) * initialize <9>: Sockets.Socket class-well known ports. (line 8353) * initialize <10>: Sockets.StreamSocket class-initialize. (line 8626) * initialize <11>: Sockets.UnixAddress class-initialization. (line 8836) * initialize:: BLOX.BBalloon-initializing. (line 114) * initialize: <1>: BLOX.BEventSet-initializing. (line 1612) * initialize: <2>: BLOX.BWidget-customization. (line 4287) * initialize: <3>: I18N.LocaleData-initialization. (line 6674) * initLocalAddresses: Sockets.SocketAddress class-initialization. (line 8528) * insertAtEnd:: BLOX.BDropDownEdit-text accessing. (line 1163) * insertAtEnd: <1>: BLOX.BEdit-widget protocol. (line 1425) * insertAtEnd: <2>: BLOX.BText-inserting text. (line 3678) * insertAtEnd:attribute:: BLOX.BText-attributes. (line 3568) * insertImage:: BLOX.BText-images. (line 3642) * insertImage:at:: BLOX.BText-images. (line 3648) * insertImageAtEnd:: BLOX.BText-images. (line 3658) * insertSelectedText:: BLOX.BText-inserting text. (line 3681) * insertText:: BLOX.BEdit-widget protocol. (line 1428) * insertText: <1>: BLOX.BText-inserting text. (line 3686) * insertText:at:: BLOX.BText-inserting text. (line 3690) * insertText:attribute:: BLOX.BText-attributes. (line 3572) * insertTextSelection:: BLOX.BText-inserting text. (line 3696) * inset:: BLOX.BWidget-geometry management. (line 4455) * interface: Sockets.MulticastSocket-instance creation. (line 7998) * interface:: Sockets.MulticastSocket-instance creation. (line 8002) * invokeCallback: BLOX.BButton-accessing. (line 289) * invokeCallback <1>: BLOX.BButtonLike-accessing. (line 328) * invokeCallback <2>: BLOX.BCheckMenuItem-accessing. (line 594) * invokeCallback <3>: BLOX.BDropDown-callbacks. (line 947) * invokeCallback <4>: BLOX.BDropDownList-callbacks. (line 1277) * invokeCallback <5>: BLOX.BEdit-widget protocol. (line 1432) * invokeCallback <6>: BLOX.BList-widget protocol. (line 2534) * invokeCallback <7>: BLOX.BMenuObject-callback. (line 3054) * invokeCallback <8>: BLOX.BText-inserting text. (line 3700) * invokeCallback <9>: BLOX.BToggle-accessing. (line 4052) * invokeCallback <10>: BLOX.BWindow-accessing. (line 4727) * invokeCallback:: BLOX.BDialog-widget protocol. (line 787) * ipAddMembership: Sockets.DatagramSocketImpl-C constants. (line 7647) * ipDropMembership: Sockets.DatagramSocketImpl-C constants. (line 7650) * ipMulticastIf: Sockets.DatagramSocketImpl-C constants. (line 7653) * ipMulticastIf <1>: Sockets.MulticastSocketImpl-multicasting. (line 8034) * ipMulticastIf <2>: Sockets.UDPSocketImpl-multicasting. (line 8778) * ipMulticastIf:: Sockets.MulticastSocketImpl-multicasting. (line 8038) * ipMulticastIf: <1>: Sockets.UDPSocketImpl-multicasting. (line 8782) * ipMulticastTtl: Sockets.DatagramSocketImpl-C constants. (line 7656) * ipprotoIp: Sockets.UDPSocketImpl class-C constants. (line 8769) * ipprotoTcp: Sockets.TCPSocketImpl class-C constants. (line 8738) * isActive: BLOX.BWidget-widget protocol. (line 4679) * isActive <1>: Debugger-inferior process properties. (line 5577) * isCentered: BLOX.BTextAttributes-setting attributes. (line 3988) * isComplex: Complex-creation/coercion. (line 5036) * isDigitAddress:: Sockets.SocketAddress class-accessing. (line 8446) * isDML: DBI.ResultSet-accessing. (line 5367) * isDropdownVisible: BLOX.BDropDown-widget protocol. (line 1085) * isEmpty: Sockets.ReadBuffer-buffer handling. (line 8163) * isExact: Complex-testing. (line 5090) * isExternalStream: Sockets.AbstractSocket-testing. (line 7111) * isExternalStream <1>: ZLib.ZlibStream-streaming. (line 9199) * isFull: Sockets.ReadBuffer-buffer handling. (line 8166) * isFull <1>: Sockets.WriteBuffer-testing. (line 8939) * isMapped: BLOX.BWindow-widget protocol. (line 4802) * isMulticast: Sockets.IP6Address-accessing. (line 7816) * isMulticast <1>: Sockets.IPAddress-accessing. (line 7959) * isMulticast <2>: Sockets.SocketAddress-testing. (line 8562) * isMulticast <3>: Sockets.UnixAddress-testing. (line 8869) * isNullable: DBI.ColumnInfo-accessing. (line 5153) * isOpen: Sockets.AbstractSocket-accessing. (line 7037) * isPeerAlive: Sockets.AbstractSocket-accessing. (line 7041) * isPeerAlive <1>: Sockets.StreamSocket-stream protocol. (line 8701) * isPositionable: ZLib.RawInflateStream-positioning. (line 9083) * isPosixLocale: I18N.LocaleData-accessing. (line 6641) * isSelect: DBI.ResultSet-accessing. (line 5371) * isSelected:: BLOX.BList-accessing. (line 2400) * isStruckout: BLOX.BTextAttributes-setting attributes. (line 3992) * isUnderlined: BLOX.BTextAttributes-setting attributes. (line 3996) * isUnicode: I18N.EncodedString class-accessing. (line 5718) * isUnicode <1>: I18N.EncodedStringFactory-accessing. (line 5831) * isWindow: BLOX.Blox-widget protocol. (line 2829) * isWindow <1>: BLOX.BWindow-widget protocol. (line 4805) * itemHeight: BLOX.BDropDown-flexibility. (line 962) * items: BLOX.BCanvas-widget protocol. (line 464) * join: BLOX.BPolyline-accessing. (line 3103) * join:: BLOX.BPolyline-accessing. (line 3110) * join: <1>: Sockets.MulticastSocket-instance creation. (line 8006) * join: <2>: Sockets.MulticastSocketImpl-multicasting. (line 8042) * join: <3>: Sockets.UDPSocketImpl-multicasting. (line 8786) * justify: BLOX.BEmbeddedText-accessing. (line 1562) * justify:: BLOX.BEmbeddedText-accessing. (line 1565) * keysAndValuesDo:: DBI.Row-accessing. (line 5459) * label: BLOX.BButton-accessing. (line 292) * label <1>: BLOX.BLabel-accessing. (line 2177) * label <2>: BLOX.BList-accessing. (line 2404) * label <3>: BLOX.BMenu-accessing. (line 2866) * label <4>: BLOX.BMenuItem-accessing. (line 2948) * label <5>: BLOX.BWindow-accessing. (line 4731) * label:: BLOX.BButton-accessing. (line 300) * label: <1>: BLOX.BLabel-accessing. (line 2185) * label: <2>: BLOX.BList-accessing. (line 2407) * label: <3>: BLOX.BMenu-accessing. (line 2874) * label: <4>: BLOX.BMenuItem-accessing. (line 2956) * label: <5>: BLOX.BWindow-accessing. (line 4739) * labelAt:: BLOX.BDropDown-list box accessing. (line 1053) * labelAt: <1>: BLOX.BList-accessing. (line 2410) * labels: BLOX.BList-accessing. (line 2413) * labelsDo:: BLOX.BDropDown-list box accessing. (line 1056) * labelsDo: <1>: BLOX.BList-accessing. (line 2416) * language: I18N.LocaleData-accessing. (line 6645) * language:: I18N.LocaleData class-accessing. (line 6590) * language:territory:: I18N.LocaleData class-accessing. (line 6593) * language:territory:charset:: I18N.LocaleData class-accessing. (line 6596) * languageDirectory: I18N.LcMessages-accessing. (line 5996) * languageDirectory <1>: I18N.LocaleData-accessing. (line 6648) * languageDirectory:: I18N.LcMessages-accessing. (line 5999) * languageDirectory: <1>: I18N.LocaleData-accessing. (line 6652) * languages: I18N.LocaleData class-database. (line 6626) * leave:: Sockets.MulticastSocket-instance creation. (line 8009) * leave: <1>: Sockets.MulticastSocketImpl-multicasting. (line 8045) * leave: <2>: Sockets.UDPSocketImpl-multicasting. (line 8789) * left:top:right:bottom:: BLOX.BWidget-geometry management. (line 4458) * leftArrow: BLOX.BImage class-arrows. (line 1857) * lhs: I18N.RTEBinaryNode-compiling. (line 6723) * lhs:op:rhs:: I18N.RTEBinaryNode class-compiling. (line 6716) * lhs:op:rhs: <1>: I18N.RTEBinaryNode-computing. (line 6735) * lineAt:: BLOX.BText-position & lines. (line 3765) * lineFrom:extent:color:: BLOX.BImage-image management. (line 2038) * lineFrom:to:color:: BLOX.BImage-image management. (line 2042) * lineFrom:toX:color:: BLOX.BImage-image management. (line 2045) * lineFrom:toY:color:: BLOX.BImage-image management. (line 2049) * lineInside:color:: BLOX.BImage-image management. (line 2053) * listCallback: BLOX.BDropDown-flexibility. (line 967) * listen:: Sockets.AbstractSocketImpl-socket operations. (line 7341) * listen:log:: Sockets.AbstractSocketImpl class-C call-outs. (line 7163) * listen:log: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7272) * listSelectAt:: BLOX.BDropDown-flexibility. (line 971) * listText: BLOX.BDropDown-flexibility. (line 976) * ln: Complex-transcendental functions. (line 5115) * load:: I18N.Locale-C call-outs. (line 6501) * local:port:: Sockets.DatagramSocket class-instance creation. (line 7556) * localAddress: Sockets.AbstractSocket-accessing. (line 7045) * localAddress <1>: Sockets.AbstractSocketImpl-accessing. (line 7215) * localHostName: Sockets.SocketAddress class-accessing. (line 8450) * localPort: Sockets.AbstractSocket-accessing. (line 7048) * localPort <1>: Sockets.AbstractSocketImpl-accessing. (line 7220) * log: Complex-transcendental functions. (line 5118) * loop: BLOX.BDialog-widget protocol. (line 792) * loopbackHost: Sockets.SocketAddress class-accessing. (line 8453) * loopbackTest: Sockets.Socket class-tests. (line 8297) * loopbackTest:: Sockets.Socket class-tests. (line 8301) * loopbackTest:addressClass:: Sockets.Socket class-tests. (line 8306) * loopbackTestOn:: Sockets.Socket class-tests. (line 8312) * lower: BLOX.BCanvasObject-widget protocol. (line 552) * magenta: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3850) * magenta <1>: BLOX.BTextAttributes-colors. (line 3892) * make:: BLOX.Blox-creating children. (line 2748) * make:on:: BLOX.Blox-creating children. (line 2757) * makeChild:on:: BLOX.Blox-creating children. (line 2762) * map: BLOX.BTransientWindow-widget protocol. (line 4092) * map <1>: BLOX.BWindow-widget protocol. (line 4808) * mapPoint:: BLOX.BCanvas-widget protocol. (line 467) * menu:: BLOX.BWindow-accessing. (line 4747) * messages: I18N.Locale-subobjects. (line 6507) * microTest: Sockets.Socket class-tests. (line 8317) * modalMap: BLOX.BWindow-widget protocol. (line 4811) * mode: BLOX.BList-accessing. (line 2419) * mode:: BLOX.BList-accessing. (line 2462) * monetary: I18N.Locale-subobjects. (line 6511) * monetaryIso: I18N.Locale-subobjects. (line 6515) * mousePointer: BLOX.Blox class-utility. (line 2675) * moveBy:: BLOX.BBoundingBox-accessing. (line 160) * msgOOB: Sockets.OOBSocketImpl-C constants. (line 8069) * msgPeek: Sockets.DatagramSocketImpl-C constants. (line 7659) * n:: I18N.RTELiteralNode-computing. (line 6762) * name: DBI.ColumnInfo-accessing. (line 5157) * name <1>: Sockets.SocketAddress-accessing. (line 8552) * name <2>: ZLib.ZlibStream-streaming. (line 9202) * network: Sockets.IPAddress-accessing. (line 7963) * new: BLOX.BCanvasObject class-instance creation. (line 484) * new <1>: BLOX.BEventSet class-initializing. (line 1595) * new <2>: BLOX.Blox class-instance creation. (line 2611) * new <3>: BLOX.BTextBindings class-instance creation. (line 4020) * new <4>: BLOX.BTransientWindow class-instance creation. (line 4078) * new <5>: BLOX.BWidget class-popups. (line 4158) * new <6>: BLOX.BWindow class-instance creation. (line 4700) * new <7>: Complex class-instance creation. (line 4950) * new <8>: DBI.FieldConverter class-instance creation. (line 5302) * new <9>: I18N.EncodedString class-instance creation. (line 5731) * new <10>: I18N.EncodedStringFactory-instance creation. (line 5848) * new <11>: I18N.LocaleData class-accessing. (line 6600) * new <12>: Sockets.AbstractSocket class-instance creation. (line 6901) * new <13>: Sockets.DatagramSocket class-instance creation. (line 7560) * new <14>: Sockets.IP6Address class-instance creation. (line 7806) * new <15>: Sockets.IPAddress class-instance creation. (line 7936) * new <16>: ZLib.ZlibStream class-instance creation. (line 9190) * new:: BLOX.BCanvasObject class-instance creation. (line 487) * new: <1>: BLOX.BCheckMenuItem class-instance creation. (line 588) * new: <2>: BLOX.BDialog class-instance creation. (line 666) * new: <3>: BLOX.BEventSet class-initializing. (line 1598) * new: <4>: BLOX.Blox class-instance creation. (line 2614) * new: <5>: BLOX.BMenuItem class-instance creation. (line 2938) * new: <6>: BLOX.BTransientWindow class-instance creation. (line 4081) * new: <7>: BLOX.BWindow class-instance creation. (line 4703) * new: <8>: I18N.EncodedString class-instance creation. (line 5734) * new: <9>: I18N.EncodedStringFactory-instance creation. (line 5852) * new: <10>: Sockets.AbstractSocket class-instance creation. (line 6904) * new:addressClass:: Sockets.AbstractSocket class-instance creation. (line 6909) * new:contents:: BLOX.BEdit class-instance creation. (line 1299) * new:data:: BLOX.BImage class-instance creation. (line 1890) * new:image:: BLOX.BImage class-instance creation. (line 1895) * new:in:: BLOX.BTransientWindow class-instance creation. (line 4085) * new:label:: BLOX.BButton class-instance creation. (line 203) * new:label: <1>: BLOX.BDialog class-instance creation. (line 671) * new:label: <2>: BLOX.BLabel class-instance creation. (line 2080) * new:label: <3>: BLOX.BMenu class-instance creation. (line 2858) * new:label: <4>: BLOX.BMenuItem class-instance creation. (line 2941) * new:label:prompt:: BLOX.BDialog class-instance creation. (line 676) * new:size:: BLOX.BImage class-instance creation. (line 1899) * newFor:: Sockets.AbstractSocketImpl class-socket creation. (line 7205) * newPrimitive: BLOX.BExtended-customization. (line 1786) * newRawSocket: Sockets.SocketAddress class-creating sockets. (line 8488) * newReadOnly:: BLOX.BText class-instance creation. (line 3419) * next: DBI.ResultSet-cursor access. (line 5399) * next <1>: Debugger-stepping commands. (line 5599) * next <2>: I18N.Encoder-stream operations. (line 5888) * next <3>: Sockets.AbstractSocket-stream protocol. (line 7096) * next <4>: Sockets.DatagramSocket-accessing. (line 7589) * next <5>: Sockets.DatagramSocketImpl-socket operations. (line 7665) * next <6>: Sockets.StreamSocket-stream protocol. (line 8705) * next <7>: ZLib.ZlibReadStream-streaming. (line 9144) * next:putAll:startingAt:: Sockets.AbstractSocket-stream protocol. (line 7100) * next:putAll:startingAt: <1>: Sockets.Socket-stream protocol. (line 8370) * next:putAll:startingAt: <2>: Sockets.WriteBuffer-accessing-writing. (line 8918) * next:putAll:startingAt: <3>: ZLib.ZlibWriteStream-streaming. (line 9247) * nextAvailable:into:startingAt:: Sockets.ReadBuffer-accessing-reading. (line 8120) * nextAvailable:into:startingAt: <1>: Sockets.StreamSocket-accessing-reading. (line 8656) * nextAvailable:into:startingAt: <2>: ZLib.ZlibReadStream-accessing-reading. (line 9129) * nextAvailable:putAllOn:: Sockets.ReadBuffer-accessing-reading. (line 8125) * nextAvailable:putAllOn: <1>: Sockets.StreamSocket-accessing-reading. (line 8661) * nextAvailable:putAllOn: <2>: ZLib.ZlibReadStream-accessing-reading. (line 9134) * nextFrom:port:: Sockets.DatagramSocket-direct operations. (line 7612) * nextInput: I18N.Encoder-stream operations. (line 5892) * nextInputAvailable:into:startingAt:: I18N.Encoder-stream operations. (line 5897) * nextPut:: BLOX.BEdit-widget protocol. (line 1435) * nextPut: <1>: BLOX.BText-inserting text. (line 3703) * nextPut: <2>: Sockets.AbstractSocket-stream protocol. (line 7104) * nextPut: <3>: Sockets.DatagramSocket-accessing. (line 7592) * nextPut: <4>: Sockets.DatagramSocketImpl-socket operations. (line 7669) * nextPut: <5>: Sockets.Socket-stream protocol. (line 8375) * nextPut: <6>: ZLib.ZlibWriteStream-streaming. (line 9251) * nextPut:timeToLive:: Sockets.MulticastSocket-instance creation. (line 8012) * nextPutAll:: BLOX.BEdit-widget protocol. (line 1438) * nextPutAll: <1>: BLOX.BText-inserting text. (line 3706) * nl: BLOX.BEdit-widget protocol. (line 1441) * nl <1>: BLOX.BText-inserting text. (line 3709) * notEmpty: Sockets.ReadBuffer-buffer handling. (line 8169) * numberOfLines: BLOX.BText-position & lines. (line 3768) * numberOfStrings: BLOX.BDropDown-list box accessing. (line 1060) * numberOfStrings <1>: BLOX.BList-accessing. (line 2505) * numeric: I18N.Locale-subobjects. (line 6519) * object:address:port:: Sockets.Datagram class-instance creation. (line 7454) * object:objectDumper:address:port:: Sockets.Datagram class-instance creation. (line 7462) * on:: DBI.Statement class-instance creation. (line 5482) * on: <1>: Debugger class-instance creation. (line 5561) * on: <2>: I18N.RunTimeExpression class-instance creation. (line 6843) * on: <3>: Sockets.ReadBuffer class-instance creation. (line 8111) * on: <4>: ZLib.RawDeflateStream class-instance creation. (line 9037) * on: <5>: ZLib.RawDeflateWriteStream class-instance creation. (line 9056) * on: <6>: ZLib.ZlibStream class-instance creation. (line 9193) * on:from:: I18N.EncodedStream class-instance creation. (line 5677) * on:from:to:: I18N.EncodedStream class-instance creation. (line 5682) * on:from:to: <1>: I18N.Encoder class-instance creation. (line 5869) * on:level:: ZLib.RawDeflateStream class-instance creation. (line 9041) * on:level: <1>: ZLib.RawDeflateWriteStream class-instance creation. (line 9060) * on:to:: I18N.EncodedStream class-instance creation. (line 5687) * onAsciiKeyEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1634) * onDestroySend:to:: BLOX.BEventTarget-intercepting events. (line 1639) * one: Complex-creation/coercion. (line 5039) * onFocusEnterEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1643) * onFocusLeaveEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1647) * onKeyEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1651) * onKeyEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1666) * onKeyUpEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1675) * onMouseDoubleEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1684) * onMouseDoubleEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1689) * onMouseDownEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1695) * onMouseDownEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1700) * onMouseEnterEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1706) * onMouseLeaveEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1710) * onMouseMoveEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1714) * onMouseMoveEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1719) * onMouseTripleEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1724) * onMouseTripleEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1729) * onMouseUpEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1735) * onMouseUpEventSend:to:: BLOX.BEventTarget-intercepting events. (line 1740) * onResizeSend:to:: BLOX.BEventTarget-intercepting events. (line 1746) * op: I18N.RTEBinaryNode-compiling. (line 6726) * option:level:at:get:size:: Sockets.AbstractSocketImpl class-C call-outs. (line 7166) * option:level:at:get:size: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7275) * option:level:at:put:size:: Sockets.AbstractSocketImpl class-C call-outs. (line 7169) * option:level:at:put:size: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7278) * optionAt:level:put:: Sockets.AbstractSocketImpl-socket options. (line 7348) * optionAt:level:size:: Sockets.AbstractSocketImpl-socket options. (line 7355) * origin: BLOX.BBoundingBox-accessing. (line 166) * origin:: BLOX.BBoundingBox-accessing. (line 169) * origin:corner:: BLOX.BBoundingBox-accessing. (line 175) * origin:extent:: BLOX.BBoundingBox-accessing. (line 183) * outlineColor: BLOX.BPolyline-accessing. (line 3117) * outlineColor <1>: BLOX.BRectangle-accessing. (line 3356) * outlineColor:: BLOX.BPolyline-accessing. (line 3121) * outlineColor: <1>: BLOX.BRectangle-accessing. (line 3359) * outOfBand: Sockets.StreamSocket-out-of-band data. (line 8668) * outOfBandImplClass: Sockets.SocketImpl-abstract. (line 8584) * paramConnect:user:password:: DBI.Connection class-connecting. (line 5197) * params: DBI.ConnectionInfo-accessing. (line 5283) * paramString:: DBI.ConnectionInfo-accessing. (line 5280) * parent: BLOX.Blox-widget protocol. (line 2832) * parseExpression:: I18N.RunTimeExpression class-compiling. (line 6822) * parseFrom:: I18N.RTELiteralNode class-initializing. (line 6756) * parseOperand:: I18N.RunTimeExpression class-compiling. (line 6825) * parseOperator:: I18N.RunTimeExpression class-compiling. (line 6830) * partialFlush: ZLib.ZlibWriteStream-streaming. (line 9255) * pastEnd: Sockets.ReadBuffer-buffer handling. (line 8173) * peek: Sockets.DatagramSocket-accessing. (line 7595) * peek <1>: Sockets.DatagramSocketImpl-socket operations. (line 7672) * peek <2>: Sockets.StreamSocket-stream protocol. (line 8709) * peek <3>: ZLib.ZlibReadStream-streaming. (line 9147) * peek:: Sockets.DatagramSocket-accessing. (line 7598) * peek: <1>: Sockets.DatagramSocketImpl-socket operations. (line 7676) * peekFor:: Sockets.StreamSocket-stream protocol. (line 8714) * peekFor: <1>: ZLib.ZlibReadStream-streaming. (line 9151) * peekInput: I18N.Encoder-stream operations. (line 5902) * platform: BLOX.Blox class-utility. (line 2684) * pluralExpressionFor:ifAbsent:: I18N.LcMessagesMoFileVersion0 class-plurals. (line 6257) * points: BLOX.BPolyline-accessing. (line 3125) * points:: BLOX.BPolyline-accessing. (line 3128) * popup: BLOX.BPopupMenu-widget protocol. (line 3155) * popup:: BLOX.BWidget class-popups. (line 4167) * popup: <1>: BLOX.BWindow class-instance creation. (line 4707) * port: Sockets.AbstractSocket-accessing. (line 7051) * port <1>: Sockets.Datagram-accessing. (line 7503) * port <2>: Sockets.DatagramSocket-accessing. (line 7602) * port <3>: Sockets.ServerSocket-accessing. (line 8246) * port <4>: Sockets.StreamSocket-accessing. (line 8650) * port:: Sockets.Datagram-accessing. (line 7506) * port: <1>: Sockets.DatagramSocket class-instance creation. (line 7564) * port: <2>: Sockets.ServerSocket class-instance creation. (line 8207) * port:bindTo:: Sockets.ServerSocket class-instance creation. (line 8211) * port:queueSize:: Sockets.ServerSocket class-instance creation. (line 8215) * port:queueSize:bindTo:: Sockets.ServerSocket class-instance creation. (line 8219) * port:queueSize:bindTo: <1>: Sockets.ServerSocket-initializing. (line 8261) * portCmdServer: Sockets.AbstractSocket class-well known ports. (line 6950) * portDayTime: Sockets.AbstractSocket class-well known ports. (line 6956) * portDiscard: Sockets.AbstractSocket class-well known ports. (line 6959) * portDNS: Sockets.AbstractSocket class-well known ports. (line 6953) * portEcho: Sockets.AbstractSocket class-well known ports. (line 6962) * portExecServer: Sockets.AbstractSocket class-well known ports. (line 6965) * portFinger: Sockets.AbstractSocket class-well known ports. (line 6971) * portFTP: Sockets.AbstractSocket class-well known ports. (line 6968) * portGopher: Sockets.AbstractSocket class-well known ports. (line 6974) * portHTTP: Sockets.AbstractSocket class-well known ports. (line 6977) * portLoginServer: Sockets.AbstractSocket class-well known ports. (line 6980) * portNetStat: Sockets.AbstractSocket class-well known ports. (line 6986) * portNNTP: Sockets.AbstractSocket class-well known ports. (line 6983) * portPOP3: Sockets.AbstractSocket class-well known ports. (line 6989) * portReserved: Sockets.AbstractSocket class-well known ports. (line 6992) * portSMTP: Sockets.AbstractSocket class-well known ports. (line 6995) * portSSH: Sockets.AbstractSocket class-well known ports. (line 6998) * portSystat: Sockets.AbstractSocket class-well known ports. (line 7001) * portTelnet: Sockets.AbstractSocket class-well known ports. (line 7004) * portTimeServer: Sockets.AbstractSocket class-well known ports. (line 7007) * portWhois: Sockets.AbstractSocket class-well known ports. (line 7010) * pos:: BLOX.BWidget-geometry management. (line 4461) * posHoriz:: BLOX.BWidget-geometry management. (line 4465) * position: DBI.ResultSet-stream protocol. (line 5412) * position <1>: ZLib.ZlibReadStream-streaming. (line 9156) * position <2>: ZLib.ZlibWriteStream-streaming. (line 9259) * position:: DBI.ResultSet-stream protocol. (line 5416) * position: <1>: ZLib.RawInflateStream-positioning. (line 9086) * posix: I18N.Locale class-instance creation. (line 6495) * posix <1>: I18N.LocaleConventions class-accessing. (line 6550) * posix <2>: I18N.LocaleData class-accessing. (line 6603) * posVert:: BLOX.BWidget-geometry management. (line 4468) * prepare:: DBI.Connection-querying. (line 5241) * pressed: BLOX.BButtonLike-accessing. (line 331) * pressed <1>: BLOX.BColorButton-accessing. (line 622) * primAccept:: Sockets.ServerSocket-accessing. (line 8250) * primary:secondary:: I18N.LcMessagesTerritoryDomain class-instance creation. (line 6284) * primJoinLeave:option:: Sockets.UDPSocketImpl-multicasting. (line 8792) * primLocalName: Sockets.SocketAddress class-C call-outs. (line 8464) * primName:len:type:: Sockets.SocketAddress class-C call-outs. (line 8467) * primRootDirectory: I18N.Locale class-C call-outs. (line 6468) * primTableAt:ifAbsent:: DBI.Connection-querying. (line 5245) * print:on:: DBI.FieldConverter-actions. (line 5311) * print:on: <1>: DBI.Table-printing. (line 5535) * print:on: <2>: I18N.LcMonetary-printing. (line 6312) * print:on: <3>: I18N.LcNumeric-printing. (line 6366) * print:on: <4>: I18N.LcPrintFormats-printing. (line 6388) * print:on: <5>: I18N.LcTime-printing. (line 6420) * print:on:currency:parentheses:: I18N.LcMonetary-printing. (line 6317) * print:on:ifFull:ifDate:ifTime:: I18N.LcTime-printing. (line 6425) * print:time:format:on:: I18N.LcTime-printing. (line 6432) * printOn:: Complex-printing. (line 5081) * printOn: <1>: DBI.ColumnInfo-printing. (line 5172) * printOn: <2>: DBI.ResultSet-printing. (line 5406) * printOn: <3>: DBI.Row-printing. (line 5468) * printOn: <4>: I18N.EncodedString-printing. (line 5808) * printOn: <5>: I18N.RTEAlternativeNode-computing. (line 6699) * printOn: <6>: I18N.RTEBinaryNode-computing. (line 6739) * printOn: <7>: I18N.RTELiteralNode-computing. (line 6765) * printOn: <8>: I18N.RTENegationNode-computing. (line 6790) * printOn: <9>: I18N.RTEParameterNode-computing. (line 6806) * printOn: <10>: Sockets.AbstractSocket-printing. (line 7065) * printOn: <11>: Sockets.IP6Address-printing. (line 7823) * printOn: <12>: Sockets.IPAddress-printing. (line 7976) * printOn: <13>: Sockets.StreamSocket-printing. (line 8675) * printOn: <14>: Sockets.UnixAddress-printing. (line 8863) * printString:: DBI.FieldConverter-actions. (line 5314) * printString: <1>: I18N.LcPrintFormats-printing. (line 6392) * process: Debugger-inferior process properties. (line 5580) * producerConsumerTest: Sockets.Socket class-tests. (line 8320) * producerConsumerTestOn:: Sockets.Socket class-tests. (line 8325) * protocol: Sockets.AbstractSocketImpl class-abstract. (line 7136) * protocol <1>: Sockets.ICMP6SocketImpl class-C constants. (line 7715) * protocol <2>: Sockets.ICMPSocketImpl class-C constants. (line 7733) * protocol <3>: Sockets.TCPSocketImpl class-C constants. (line 8741) * protocol <4>: Sockets.UDPSocketImpl class-C constants. (line 8772) * protocolFamily: Sockets.IP6Address class-C constants. (line 7758) * protocolFamily <1>: Sockets.IPAddress class-C constants. (line 7842) * protocolFamily <2>: Sockets.SocketAddress class-C constants. (line 8482) * protocolFamily <3>: Sockets.UnixAddress class-C constants. (line 8822) * question: BLOX.BImage class-icons. (line 1881) * queueSize:: Sockets.ServerSocket class-instance creation. (line 8223) * queueSize:bindTo:: Sockets.ServerSocket class-instance creation. (line 8227) * raise: BLOX.BCanvasObject-widget protocol. (line 558) * readBufferSize: Sockets.StreamSocket class-accessing. (line 8617) * readBufferSize:: Sockets.StreamSocket class-accessing. (line 8620) * readBufferSize: <1>: Sockets.StreamSocket-stream protocol. (line 8719) * readStream: ZLib.ZlibWriteStream-streaming. (line 9262) * real: Complex-creation/coercion. (line 5042) * real:imaginary:: Complex class-instance creation. (line 4953) * realResult:imaginary:: Complex class-instance creation. (line 4956) * receive:: Sockets.DatagramSocket-accessing. (line 7605) * receive: <1>: Sockets.DatagramSocketImpl-socket operations. (line 7680) * receive:buffer:size:flags:from:size:: Sockets.AbstractSocketImpl class-C call-outs. (line 7172) * receive:buffer:size:flags:from:size: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7281) * receive:datagram:: Sockets.DatagramSocketImpl-socket operations. (line 7684) * reciprocal: Complex-math. (line 5075) * red: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3853) * red <1>: BLOX.BTextAttributes-colors. (line 3895) * redraw: BLOX.BCanvasObject-widget protocol. (line 564) * redraw <1>: BLOX.BEmbeddedImage-accessing. (line 1499) * redraw <2>: BLOX.BEmbeddedText-accessing. (line 1569) * refuseTabs: BLOX.BText-inserting text. (line 3713) * registerEncoderFor:toUTF32:fromUTF32:: I18N.EncodedStream class-initializing. (line 5654) * registerImage:: BLOX.BText-images. (line 3664) * release: BLOX.Blox-basic. (line 2737) * remote:port:: Sockets.StreamSocket class-instance creation. (line 8632) * remote:port:local:port:: Sockets.DatagramSocket class-instance creation. (line 7568) * remote:port:local:port: <1>: Sockets.StreamSocket class-instance creation. (line 8637) * remoteAddress: Sockets.AbstractSocket-accessing. (line 7056) * remoteAddress <1>: Sockets.AbstractSocketImpl-accessing. (line 7225) * remotePort: Sockets.AbstractSocket-accessing. (line 7059) * remotePort <1>: Sockets.AbstractSocketImpl-accessing. (line 7230) * remove: BLOX.BCanvasObject-widget protocol. (line 569) * remove:: BLOX.BMenuBar-accessing. (line 2922) * removeAtIndex:: BLOX.BDropDown-list box accessing. (line 1063) * removeAtIndex: <1>: BLOX.BList-accessing. (line 2508) * removeAttributes: BLOX.BText-attributes. (line 3577) * removeAttributesFrom:to:: BLOX.BText-attributes. (line 3580) * replaceSelection:: BLOX.BDropDownEdit-text accessing. (line 1167) * replaceSelection: <1>: BLOX.BEdit-widget protocol. (line 1445) * replaceSelection: <2>: BLOX.BText-inserting text. (line 3717) * reset: ZLib.RawInflateStream-positioning. (line 9092) * resizable: BLOX.BWindow-accessing. (line 4756) * resizable:: BLOX.BWindow-accessing. (line 4765) * resultIn:: BLOX.Blox class-C call-outs. (line 2580) * resultSet: DBI.Row-accessing. (line 5462) * rho:theta:: Complex class-instance creation. (line 4960) * rhs: I18N.RTEBinaryNode-compiling. (line 6729) * rightArrow: BLOX.BImage class-arrows. (line 1860) * rootDirectory: I18N.Locale class-initialization. (line 6474) * rootDirectory:: I18N.Locale class-initialization. (line 6477) * rounded: Complex-converting. (line 5015) * rowCount: DBI.ResultSet-accessing. (line 5375) * rows: DBI.ResultSet-accessing. (line 5379) * rowsAffected: DBI.ResultSet-accessing. (line 5382) * scheme: DBI.ConnectionInfo-accessing. (line 5286) * scheme:: DBI.ConnectionInfo-accessing. (line 5289) * screenOrigin: BLOX.Blox class-utility. (line 2688) * screenResolution: BLOX.Blox class-utility. (line 2694) * screenSize: BLOX.Blox class-utility. (line 2698) * searchString:: BLOX.BText-inserting text. (line 3722) * select:: BLOX.BList-widget protocol. (line 2537) * select: <1>: DBI.Connection-querying. (line 5249) * selectAll: BLOX.BDropDownEdit-text accessing. (line 1172) * selectAll <1>: BLOX.BEdit-widget protocol. (line 1450) * selectBackground: BLOX.BEdit-accessing. (line 1391) * selectBackground <1>: BLOX.BText-accessing. (line 3515) * selectBackground:: BLOX.BEdit-accessing. (line 1397) * selectBackground: <1>: BLOX.BText-accessing. (line 3521) * selectForeground: BLOX.BEdit-accessing. (line 1403) * selectForeground <1>: BLOX.BText-accessing. (line 3527) * selectForeground:: BLOX.BEdit-accessing. (line 1409) * selectForeground: <1>: BLOX.BText-accessing. (line 3533) * selectFrom:to:: BLOX.BDropDownEdit-text accessing. (line 1175) * selectFrom:to: <1>: BLOX.BEdit-widget protocol. (line 1453) * selectFrom:to: <2>: BLOX.BText-position & lines. (line 3771) * selection: BLOX.BDropDownEdit-text accessing. (line 1182) * selection <1>: BLOX.BEdit-widget protocol. (line 1460) * selectionRange: BLOX.BDropDownEdit-text accessing. (line 1186) * selectionRange <1>: BLOX.BEdit-widget protocol. (line 1464) * selector: I18N.LcMessages class-accessing. (line 5989) * selector <1>: I18N.LcMonetary class-accessing. (line 6305) * selector <2>: I18N.LcMonetaryISO class-accessing. (line 6334) * selector <3>: I18N.LcNumeric class-accessing. (line 6354) * selector <4>: I18N.LcTime class-accessing. (line 6413) * selector <5>: I18N.LocaleConventions class-accessing. (line 6553) * send:: I18N.RTEAlternativeNode-computing. (line 6702) * send: <1>: I18N.RTEBinaryNode-computing. (line 6742) * send: <2>: I18N.RTELiteralNode-computing. (line 6768) * send: <3>: I18N.RTENegationNode-computing. (line 6793) * send: <4>: I18N.RTEParameterNode-computing. (line 6809) * send: <5>: I18N.RunTimeExpression-computing. (line 6849) * send:buffer:size:flags:to:size:: Sockets.AbstractSocketImpl class-C call-outs. (line 7175) * send:buffer:size:flags:to:size: <1>: Sockets.AbstractSocketImpl-C call-outs. (line 7284) * send:to:port:: Sockets.DatagramSocketImpl-socket operations. (line 7690) * sendTest: Sockets.Socket class-tests. (line 8329) * sendTest:: Sockets.Socket class-tests. (line 8332) * sendToBack: BLOX.BWidget-widget protocol. (line 4683) * setAttributes:from:to:: BLOX.BText-attributes. (line 3586) * setInitialSize: BLOX.BWidget-customization. (line 4296) * setReal:imaginary:: Complex-creation/coercion. (line 5045) * setString:: I18N.EncodedString-initializing. (line 5797) * setToEnd: BLOX.BText-position & lines. (line 3777) * setVerticalLayout:: BLOX.BContainer-accessing. (line 640) * shallowCopy: BLOX.BCanvasObject-accessing. (line 537) * shallowCopy <1>: BLOX.Blox-basic. (line 2741) * shouldCache: I18N.LcMessagesDomain-handling the cache. (line 6076) * shouldCache <1>: I18N.LcMessagesMoFileVersion0-flushing the cache. (line 6268) * show: BLOX.BCanvasObject-widget protocol. (line 572) * show:: BLOX.BList-widget protocol. (line 2543) * shown: BLOX.BBalloon class-accessing. (line 96) * shown <1>: BLOX.BBalloon-accessing. (line 102) * sin: Complex-transcendental functions. (line 5121) * sinh: Complex-transcendental functions. (line 5124) * size: BLOX.BDropDown-list box accessing. (line 1068) * size <1>: BLOX.BList-accessing. (line 2513) * size <2>: DBI.ColumnInfo-accessing. (line 5160) * size <3>: DBI.ResultSet-stream protocol. (line 5419) * size <4>: DBI.Table-core. (line 5529) * size <5>: I18N.EncodedString-accessing. (line 5761) * size <6>: Sockets.Datagram-accessing. (line 7509) * skip:: ZLib.RawInflateStream-positioning. (line 9095) * slowFinish: Debugger-stepping commands. (line 5603) * slowFinish:: Debugger-stepping commands. (line 5606) * smoothness: BLOX.BSpline-accessing. (line 3390) * smoothness:: BLOX.BSpline-accessing. (line 3394) * sockDgram: Sockets.AbstractSocketImpl class-C constants. (line 7187) * socketType: Sockets.AbstractSocketImpl class-abstract. (line 7139) * socketType <1>: Sockets.DatagramSocketImpl class-parameters. (line 7632) * socketType <2>: Sockets.RawSocketImpl class-parameters. (line 8095) * socketType <3>: Sockets.SocketImpl class-parameters. (line 8578) * sockRaw: Sockets.AbstractSocketImpl class-C constants. (line 7193) * sockRDM: Sockets.AbstractSocketImpl class-C constants. (line 7190) * sockStream: Sockets.AbstractSocketImpl class-C constants. (line 7196) * soError:: Sockets.AbstractSocketImpl-C constants. (line 7290) * soLinger: Sockets.AbstractSocket-socket options. (line 7071) * soLinger <1>: Sockets.AbstractSocketImpl class-C constants. (line 7181) * soLinger <2>: Sockets.AbstractSocketImpl-socket options. (line 7361) * soLinger:: Sockets.AbstractSocket-socket options. (line 7077) * soLinger: <1>: Sockets.AbstractSocketImpl-socket options. (line 7366) * soLingerOff: Sockets.AbstractSocket-socket options. (line 7082) * solSocket: Sockets.AbstractSocketImpl class-C constants. (line 7199) * soReuseAddr: Sockets.AbstractSocketImpl class-C constants. (line 7184) * soReuseAddr <1>: Sockets.AbstractSocketImpl-socket options. (line 7371) * soReuseAddr:: Sockets.AbstractSocketImpl-socket options. (line 7380) * space: BLOX.BEdit-widget protocol. (line 1470) * space <1>: BLOX.BText-inserting text. (line 3727) * species: I18N.EncodedString-accessing. (line 5764) * species <1>: I18N.Encoder-stream operations. (line 5905) * species <2>: Sockets.AbstractSocket-socket options. (line 7087) * species <3>: ZLib.ZlibStream-streaming. (line 9205) * sqrt: Complex-transcendental functions. (line 5127) * startAngle: BLOX.BArc-accessing. (line 55) * startAngle:: BLOX.BArc-accessing. (line 59) * state: BLOX.Blox-accessing. (line 2706) * state <1>: BLOX.BWindow-widget protocol. (line 4835) * state:: BLOX.Blox-accessing. (line 2718) * state: <1>: BLOX.BWindow-widget protocol. (line 4841) * statement: DBI.ResultSet-accessing. (line 5386) * step: Debugger-stepping commands. (line 5609) * stepBytecode: Debugger-stepping commands. (line 5613) * stop: BLOX.BImage class-icons. (line 1884) * stopInferior: Debugger-stepping commands. (line 5616) * stopInferior:: Debugger-stepping commands. (line 5620) * storeOn:: Complex-printing. (line 5084) * stream: ZLib.ZlibError-accessing. (line 9111) * stream <1>: ZLib.ZlibStream-streaming. (line 9208) * stream:: ZLib.ZlibError-accessing. (line 9114) * stretch:: BLOX.BWidget-geometry management. (line 4471) * strikeout: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3856) * strikeout <1>: BLOX.BTextAttributes-setting attributes. (line 4000) * subnet: Sockets.IPAddress-accessing. (line 7968) * suspendedContext: Debugger-inferior process properties. (line 5583) * sweepAngle: BLOX.BArc-accessing. (line 63) * sweepAngle:: BLOX.BArc-accessing. (line 67) * syncFlush: ZLib.ZlibWriteStream-streaming. (line 9267) * tableAt:: DBI.Connection-accessing. (line 5221) * tableAt:ifAbsent:: DBI.Connection-accessing. (line 5224) * tabStop: BLOX.BWidget-accessing. (line 4238) * tabStop:: BLOX.BWidget-accessing. (line 4254) * tan: Complex-transcendental functions. (line 5130) * tanh: Complex-transcendental functions. (line 5133) * tclInit: BLOX.Blox class-C call-outs. (line 2583) * tcpNodelay: Sockets.TCPSocketImpl class-C constants. (line 8744) * terminateMainLoop: BLOX.Blox class-event dispatching. (line 2600) * territories: I18N.LocaleData class-database. (line 6629) * territory: I18N.LocaleData-accessing. (line 6656) * territoryDirectory: I18N.LcMessages-accessing. (line 6003) * territoryDirectory <1>: I18N.LocaleData-accessing. (line 6659) * territoryDirectory:: I18N.LcMessages-accessing. (line 6007) * territoryDirectory: <1>: I18N.LocaleData-accessing. (line 6663) * testPort2For:: Sockets.Socket class-tests. (line 8337) * testPortFor:: Sockets.Socket class-tests. (line 8340) * text: BLOX.BBalloon-accessing. (line 105) * text <1>: BLOX.BDropDown-flexibility. (line 981) * text <2>: BLOX.BDropDownEdit-accessing-overrides. (line 1157) * text <3>: BLOX.BDropDownList-accessing. (line 1261) * text <4>: BLOX.BEmbeddedText-accessing. (line 1574) * text:: BLOX.BBalloon-accessing. (line 108) * text: <1>: BLOX.BDropDown-flexibility. (line 986) * text: <2>: BLOX.BDropDownEdit-text accessing. (line 1192) * text: <3>: BLOX.BEmbeddedText-accessing. (line 1577) * time: I18N.Locale-subobjects. (line 6523) * timeout: Sockets.AbstractSocket class-timed-out operations. (line 6926) * timeout:: Sockets.AbstractSocket class-timed-out operations. (line 6931) * timeToLive: Sockets.MulticastSocket-instance creation. (line 8015) * timeToLive <1>: Sockets.MulticastSocketImpl-multicasting. (line 8048) * timeToLive <2>: Sockets.UDPSocketImpl-multicasting. (line 8795) * timeToLive:: Sockets.MulticastSocket-instance creation. (line 8018) * timeToLive: <1>: Sockets.MulticastSocketImpl-multicasting. (line 8052) * timeToLive: <2>: Sockets.UDPSocketImpl-multicasting. (line 8799) * to: BLOX.BArc-accessing. (line 71) * to:: BLOX.BArc-accessing. (line 74) * toggle: BLOX.BDropDown-widget protocol. (line 1088) * toplevel: BLOX.Blox-widget protocol. (line 2835) * translatorInformation: I18N.LcMessagesDomain-querying. (line 6099) * translatorInformationAt:: I18N.LcMessagesDomain-querying. (line 6103) * translatorInformationAt:at:: I18N.LcMessagesDomain-querying. (line 6106) * truncated: Complex-converting. (line 5018) * tweakedLoopbackTest: Sockets.Socket class-tests. (line 8343) * type: DBI.ColumnInfo-accessing. (line 5163) * underline: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3859) * underline <1>: BLOX.BTextAttributes-setting attributes. (line 4003) * unhighlight: BLOX.BList-widget protocol. (line 2547) * unicodeOn:: I18N.EncodedStream class-instance creation. (line 5692) * unicodeOn:encoding:: I18N.EncodedStream class-instance creation. (line 5698) * uniqueInstance: DBI.FieldConverter class-instance creation. (line 5305) * uniqueInstance <1>: Sockets.UnixAddress class-instance creation. (line 8847) * unknownAddress: Sockets.SocketAddress class-accessing. (line 8457) * unmap: BLOX.BWindow-widget protocol. (line 4844) * unmapList: BLOX.BDropDown-widget protocol. (line 1091) * unselect:: BLOX.BList-widget protocol. (line 2550) * upArrow: BLOX.BImage class-arrows. (line 1863) * update:: BLOX.Blox class-event dispatching. (line 2604) * update: <1>: I18N.LocaleData class-accessing. (line 6607) * update: <2>: Sockets.SocketAddress class-initialization. (line 8532) * updateDriverList: DBI.Connection class-initialization. (line 5204) * upTo:: Sockets.ReadBuffer-accessing-reading. (line 8129) * upToEnd: Sockets.ReadBuffer-accessing-reading. (line 8134) * utf16Encoding: I18N.EncodedString-accessing. (line 5767) * utf32Encoding: I18N.EncodedString-accessing. (line 5770) * value: BLOX.BCheckMenuItem-accessing. (line 597) * value <1>: BLOX.BProgress-accessing. (line 3278) * value <2>: BLOX.BRadioButton-accessing. (line 3304) * value <3>: BLOX.BRadioGroup-accessing. (line 3328) * value <4>: BLOX.BToggle-accessing. (line 4055) * value:: BLOX.BCheckMenuItem-accessing. (line 600) * value: <1>: BLOX.BProgress-accessing. (line 3281) * value: <2>: BLOX.BRadioButton-accessing. (line 3308) * value: <3>: BLOX.BRadioGroup-accessing. (line 3333) * value: <4>: BLOX.BToggle-accessing. (line 4058) * value: <5>: I18N.RunTimeExpression-computing. (line 6853) * valueAt:: I18N.EncodedString-accessing. (line 5773) * valueAt:put:: I18N.EncodedString-accessing. (line 5776) * valueWithoutBuffering:: Sockets.AbstractSocketImpl-socket options. (line 7384) * valueWithoutBuffering: <1>: Sockets.TCPSocketImpl-socket options. (line 8750) * variable:: BLOX.BToggle-accessing. (line 4062) * version: Sockets.IP6Address class-constants. (line 7767) * version <1>: Sockets.IPAddress class-constants. (line 7851) * vertical: BLOX.BViewport-scrollbars. (line 4132) * vertical:: BLOX.BViewport-scrollbars. (line 4136) * verticalNeeded: BLOX.BViewport-scrollbars. (line 4139) * verticalShown: BLOX.BViewport-scrollbars. (line 4143) * waitForConnection: Sockets.ServerSocket-accessing. (line 8254) * waitForException: Sockets.AbstractSocketImpl-asynchronous operations. (line 7246) * white: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3862) * white <1>: BLOX.BTextAttributes-colors. (line 3898) * widget: BLOX.BEventSet-accessing. (line 1606) * width: BLOX.BLine-accessing. (line 2214) * width <1>: BLOX.BPolyline-accessing. (line 3135) * width <2>: BLOX.BRectangle-accessing. (line 3362) * width <3>: BLOX.BWidget-geometry management. (line 4477) * width <4>: BLOX.BWindow-widget protocol. (line 4848) * width:: BLOX.BLine-accessing. (line 2217) * width: <1>: BLOX.BPolyline-accessing. (line 3139) * width: <2>: BLOX.BRectangle-accessing. (line 3365) * width: <3>: BLOX.BWidget-geometry management. (line 4488) * width: <4>: BLOX.BWindow-widget protocol. (line 4852) * width:height:: BLOX.BWidget-geometry management. (line 4495) * width:height: <1>: BLOX.BWindow-widget protocol. (line 4855) * widthAbsolute: BLOX.BWidget-geometry management. (line 4499) * widthAbsolute <1>: BLOX.BWindow-widget protocol. (line 4859) * widthChild:: BLOX.BCanvas-geometry management. (line 420) * widthChild: <1>: BLOX.BPopupWindow-geometry management. (line 3213) * widthChild: <2>: BLOX.BText-geometry management. (line 3626) * widthChild: <3>: BLOX.BWidget-geometry management. (line 4503) * widthOffset: BLOX.BWidget-geometry management. (line 4513) * widthOffset:: BLOX.BWidget-geometry management. (line 4518) * widthOffset: <1>: BLOX.BWindow-widget protocol. (line 4863) * widthPixels:: BLOX.BWidget-geometry management. (line 4524) * window: BLOX.Blox-widget protocol. (line 2839) * window <1>: BLOX.BWindow-widget protocol. (line 4866) * with:with:with:with:: Sockets.IPAddress class-instance creation. (line 7939) * withChildrenDo:: BLOX.Blox-widget protocol. (line 2843) * withFileDo:: I18N.FileStreamSegment-basic. (line 5924) * wrap: BLOX.BText-accessing. (line 3539) * wrap:: BLOX.BText-accessing. (line 3552) * writeBoolean:on:: DBI.FieldConverter-converting-smalltalk. (line 5320) * writeBufferSize: Sockets.Socket class-accessing. (line 8278) * writeBufferSize:: Sockets.Socket class-accessing. (line 8281) * writeBufferSize: <1>: Sockets.Socket-stream protocol. (line 8380) * writeDate:on:: DBI.FieldConverter-converting-smalltalk. (line 5323) * writeDateTime:on:: DBI.FieldConverter-converting-smalltalk. (line 5326) * writeFloat:on:: DBI.FieldConverter-converting-smalltalk. (line 5329) * writeInteger:on:: DBI.FieldConverter-converting-smalltalk. (line 5332) * writeQuotedDate:on:: DBI.FieldConverter-converting-smalltalk. (line 5335) * writeQuotedTime:on:: DBI.FieldConverter-converting-smalltalk. (line 5338) * writeTime:on:: DBI.FieldConverter-converting-smalltalk. (line 5341) * x: BLOX.BWidget-geometry management. (line 4530) * x <1>: BLOX.BWindow-widget protocol. (line 4869) * x:: BLOX.BWidget-geometry management. (line 4541) * x: <1>: BLOX.BWindow-widget protocol. (line 4873) * x:y:: BLOX.BWidget-geometry management. (line 4548) * x:y: <1>: BLOX.BWindow-widget protocol. (line 4877) * x:y:width:height:: BLOX.BWidget-geometry management. (line 4552) * x:y:width:height: <1>: BLOX.BWindow-widget protocol. (line 4881) * xAbsolute: BLOX.BWidget-geometry management. (line 4555) * xAbsolute <1>: BLOX.BWindow-widget protocol. (line 4885) * xChild:: BLOX.BCanvas-geometry management. (line 423) * xChild: <1>: BLOX.BPopupWindow-geometry management. (line 3217) * xChild: <2>: BLOX.BText-geometry management. (line 3629) * xChild: <3>: BLOX.BWidget-geometry management. (line 4559) * xOffset: BLOX.BWidget-geometry management. (line 4569) * xOffset:: BLOX.BWidget-geometry management. (line 4574) * xOffset: <1>: BLOX.BWindow-widget protocol. (line 4889) * xPixels:: BLOX.BWidget-geometry management. (line 4580) * xRoot: BLOX.BWidget-geometry management. (line 4586) * y: BLOX.BWidget-geometry management. (line 4591) * y <1>: BLOX.BWindow-widget protocol. (line 4892) * y:: BLOX.BWidget-geometry management. (line 4602) * y: <1>: BLOX.BWindow-widget protocol. (line 4896) * yAbsolute: BLOX.BWidget-geometry management. (line 4609) * yAbsolute <1>: BLOX.BWindow-widget protocol. (line 4900) * yChild:: BLOX.BCanvas-geometry management. (line 427) * yChild: <1>: BLOX.BPopupWindow-geometry management. (line 3221) * yChild: <2>: BLOX.BText-geometry management. (line 3634) * yChild: <3>: BLOX.BWidget-geometry management. (line 4613) * yellow: BLOX.BTextAttributes class-instance-creation shortcuts. (line 3865) * yellow <1>: BLOX.BTextAttributes-colors. (line 3901) * yOffset: BLOX.BWidget-geometry management. (line 4623) * yOffset:: BLOX.BWidget-geometry management. (line 4628) * yOffset: <1>: BLOX.BWindow-widget protocol. (line 4904) * yPixels:: BLOX.BWidget-geometry management. (line 4634) * yRoot: BLOX.BWidget-geometry management. (line 4640) * zero: Complex-creation/coercion. (line 5048) Selector cross-reference ************************ * Menu: * accept: Sockets.ServerSocket class-instance creation. (line 8202) * addChild:: BLOX.Blox-customization. (line 2777) * addEventSet:: BLOX.BEventSet class-initializing. (line 1598) * addMenuItemFor:notifying:: BLOX.BMenu-callback registration. (line 2895) * at:: BLOX.BDropDown-list box accessing. (line 1063) * at: <1>: BLOX.BList-accessing. (line 2508) * backgroundColor:: BLOX.Blox-creating children. (line 2748) * basicAddChild:: BLOX.BCanvas-geometry management. (line 384) * basicAddChild: <1>: BLOX.Blox-customization. (line 2770) * basicAddChild: <2>: BLOX.BPopupWindow-geometry management. (line 3173) * bevel: BLOX.BPolyline-accessing. (line 3110) * bottomCenter: BLOX.BLabel-accessing. (line 2087) * bottomCenter <1>: BLOX.BLabel-accessing. (line 2097) * bottomLeft: BLOX.BLabel-accessing. (line 2087) * bottomLeft <1>: BLOX.BLabel-accessing. (line 2097) * bottomRight: BLOX.BLabel-accessing. (line 2087) * bottomRight <1>: BLOX.BLabel-accessing. (line 2097) * butt: BLOX.BLine-accessing. (line 2205) * butt <1>: BLOX.BLine-accessing. (line 2210) * butt <2>: BLOX.BPolyline-accessing. (line 3089) * canRead: Sockets.AbstractSocket-accessing. (line 7021) * center: BLOX.BEmbeddedText-accessing. (line 1565) * center <1>: BLOX.BLabel-accessing. (line 2087) * center <2>: BLOX.BLabel-accessing. (line 2097) * char: BLOX.BText-accessing. (line 3539) * char <1>: BLOX.BText-accessing. (line 3552) * contents: ZLib.ZlibWriteStream-streaming. (line 9227) * copy: BLOX.BCanvasObject-accessing. (line 511) * copy <1>: BLOX.BCanvasObject-accessing. (line 518) * copyObject: BLOX.BCanvasObject-accessing. (line 511) * copyObject <1>: BLOX.BCanvasObject-accessing. (line 518) * create: BLOX.BBoundingBox-accessing. (line 136) * create <1>: BLOX.BBoundingBox-accessing. (line 145) * create <2>: BLOX.BBoundingBox-accessing. (line 154) * create <3>: BLOX.BBoundingBox-accessing. (line 160) * create <4>: BLOX.BBoundingBox-accessing. (line 169) * create <5>: BLOX.BBoundingBox-accessing. (line 175) * create <6>: BLOX.BBoundingBox-accessing. (line 183) * create <7>: BLOX.BExtended-customization. (line 1775) * create <8>: BLOX.BPolyline-accessing. (line 3128) * destroy: BLOX.BWidget class-popups. (line 4158) * destroy <1>: BLOX.BWidget class-popups. (line 4167) * dispatch:: BLOX.BDialog-accessing. (line 750) * dispatchEvents: BLOX.Blox class-event dispatching. (line 2589) * dispatchEvents <1>: BLOX.Blox class-event dispatching. (line 2600) * eventTest: BLOX.BEventTarget-intercepting events. (line 1666) * eventTest <1>: BLOX.BEventTarget-intercepting events. (line 1675) * font: BLOX.BDropDown-flexibility. (line 962) * font <1>: BLOX.Blox-widget protocol. (line 2819) * font <2>: BLOX.Blox-widget protocol. (line 2824) * fromString:: Sockets.IPAddress-accessing. (line 7946) * fromString: <1>: Sockets.SocketAddress class-host name lookup. (line 8504) * height: BLOX.BWidget-geometry management. (line 4311) * height <1>: BLOX.BWidget-geometry management. (line 4321) * height <2>: BLOX.BWidget-geometry management. (line 4428) * height <3>: BLOX.BWidget-geometry management. (line 4428) * height <4>: BLOX.BWidget-geometry management. (line 4449) * height <5>: BLOX.BWidget-geometry management. (line 4449) * height:: BLOX.Blox-creating children. (line 2748) * height: <1>: BLOX.BWidget-geometry management. (line 4311) * height: <2>: BLOX.BWidget-geometry management. (line 4438) * height: <3>: BLOX.BWidget-geometry management. (line 4443) * height: <4>: BLOX.BWidget-geometry management. (line 4449) * heightOffset:: BLOX.BWidget-geometry management. (line 4321) * heightOffset: <1>: BLOX.BWidget-geometry management. (line 4321) * heightOffset: <2>: BLOX.BWidget-geometry management. (line 4405) * initialize:: BLOX.BWidget-customization. (line 4296) * inset:: BLOX.BWidget-geometry management. (line 4443) * inset: <1>: BLOX.BWidget-geometry management. (line 4518) * inset: <2>: BLOX.BWidget-geometry management. (line 4574) * inset: <3>: BLOX.BWidget-geometry management. (line 4628) * left: BLOX.BEmbeddedText-accessing. (line 1565) * leftCenter: BLOX.BLabel-accessing. (line 2087) * leftCenter <1>: BLOX.BLabel-accessing. (line 2097) * loopbackHost: Sockets.IPAddress class-instance creation. (line 7886) * macintosh: BLOX.Blox class-utility. (line 2684) * make:: BLOX.Blox-creating children. (line 2757) * make: <1>: BLOX.Blox-creating children. (line 2762) * map: BLOX.BWindow-widget protocol. (line 4841) * miter: BLOX.BPolyline-accessing. (line 3110) * modalMap: BLOX.BDialog-widget protocol. (line 792) * new:: BLOX.BWidget-customization. (line 4287) * newPrimitive: BLOX.BExtended-customization. (line 1775) * newPrimitive <1>: BLOX.BExtended-customization. (line 1775) * next: I18N.EncodedStream class-initializing. (line 5654) * nextPut:: ZLib.DeflateStream class-instance creation. (line 8957) * nextPut: <1>: ZLib.DeflateStream class-instance creation. (line 8961) * nextPut: <2>: ZLib.GZipDeflateStream class-instance creation. (line 8985) * nextPut: <3>: ZLib.GZipDeflateStream class-instance creation. (line 8989) * nextPut: <4>: ZLib.RawDeflateStream class-instance creation. (line 9029) * nextPut: <5>: ZLib.RawDeflateStream class-instance creation. (line 9033) * none: BLOX.BText-accessing. (line 3539) * none <1>: BLOX.BText-accessing. (line 3552) * object:address:port:: Sockets.Datagram-accessing. (line 7491) * object:objectDumper:address:port:: Sockets.Datagram class-instance creation. (line 7454) * object:objectDumper:address:port: <1>: Sockets.Datagram-accessing. (line 7496) * onKeyEvent:send:to:: BLOX.BEventTarget-intercepting events. (line 1666) * onKeyEvent:send:to: <1>: BLOX.BEventTarget-intercepting events. (line 1675) * position: ZLib.RawInflateStream-positioning. (line 9075) * print:time:format:on:: I18N.LcTime-printing. (line 6425) * printOn:: I18N.EncodedString-printing. (line 5803) * projecting: BLOX.BLine-accessing. (line 2205) * projecting <1>: BLOX.BLine-accessing. (line 2210) * projecting <2>: BLOX.BPolyline-accessing. (line 3089) * readStream: ZLib.ZlibWriteStream-streaming. (line 9262) * redraw: BLOX.BBoundingBox-accessing. (line 136) * redraw <1>: BLOX.BBoundingBox-accessing. (line 145) * redraw <2>: BLOX.BBoundingBox-accessing. (line 154) * redraw <3>: BLOX.BBoundingBox-accessing. (line 160) * redraw <4>: BLOX.BBoundingBox-accessing. (line 169) * redraw <5>: BLOX.BBoundingBox-accessing. (line 175) * redraw <6>: BLOX.BBoundingBox-accessing. (line 183) * redraw <7>: BLOX.BPolyline-accessing. (line 3128) * registerImage:: BLOX.BText-images. (line 3642) * registerImage: <1>: BLOX.BText-images. (line 3648) * registerImage: <2>: BLOX.BText-images. (line 3658) * registerImage: <3>: BLOX.BText-images. (line 3664) * right: BLOX.BEmbeddedText-accessing. (line 1565) * rightCenter: BLOX.BLabel-accessing. (line 2087) * rightCenter <1>: BLOX.BLabel-accessing. (line 2097) * round: BLOX.BLine-accessing. (line 2205) * round <1>: BLOX.BLine-accessing. (line 2210) * round <2>: BLOX.BPolyline-accessing. (line 3089) * round <3>: BLOX.BPolyline-accessing. (line 3110) * rowsAffected: DBI.Connection-querying. (line 5236) * skip:: ZLib.RawInflateStream-positioning. (line 9083) * state: BLOX.Blox-widget protocol. (line 2805) * state:: BLOX.Blox-widget protocol. (line 2810) * tabStop:: BLOX.BWidget-widget protocol. (line 4664) * tabStop: <1>: BLOX.BWidget-widget protocol. (line 4669) * terminateMainLoop: BLOX.Blox class-event dispatching. (line 2589) * terminateMainLoop <1>: BLOX.Blox class-event dispatching. (line 2600) * topCenter: BLOX.BLabel-accessing. (line 2087) * topCenter <1>: BLOX.BLabel-accessing. (line 2097) * topLeft: BLOX.BLabel-accessing. (line 2087) * topLeft <1>: BLOX.BLabel-accessing. (line 2087) * topLeft <2>: BLOX.BLabel-accessing. (line 2097) * topLeft <3>: BLOX.BLabel-accessing. (line 2097) * toplevel: BLOX.Blox-widget protocol. (line 2839) * topRight: BLOX.BLabel-accessing. (line 2087) * topRight <1>: BLOX.BLabel-accessing. (line 2097) * unix: BLOX.Blox class-utility. (line 2684) * unmap: BLOX.BWindow-widget protocol. (line 4841) * upTo:: ZLib.ZlibStream-streaming. (line 9205) * width: BLOX.BWidget-geometry management. (line 4338) * width <1>: BLOX.BWidget-geometry management. (line 4348) * width <2>: BLOX.BWidget-geometry management. (line 4503) * width <3>: BLOX.BWidget-geometry management. (line 4503) * width <4>: BLOX.BWidget-geometry management. (line 4524) * width <5>: BLOX.BWidget-geometry management. (line 4524) * width:: BLOX.Blox-creating children. (line 2748) * width: <1>: BLOX.BWidget-geometry management. (line 4338) * width: <2>: BLOX.BWidget-geometry management. (line 4513) * width: <3>: BLOX.BWidget-geometry management. (line 4518) * width: <4>: BLOX.BWidget-geometry management. (line 4524) * widthOffset:: BLOX.BWidget-geometry management. (line 4348) * widthOffset: <1>: BLOX.BWidget-geometry management. (line 4348) * widthOffset: <2>: BLOX.BWidget-geometry management. (line 4477) * windows: BLOX.Blox class-utility. (line 2684) * word: BLOX.BText-accessing. (line 3539) * word <1>: BLOX.BText-accessing. (line 3552) * x: BLOX.BWidget-geometry management. (line 4358) * x <1>: BLOX.BWidget-geometry management. (line 4368) * x <2>: BLOX.BWidget-geometry management. (line 4559) * x <3>: BLOX.BWidget-geometry management. (line 4559) * x <4>: BLOX.BWidget-geometry management. (line 4580) * x <5>: BLOX.BWidget-geometry management. (line 4580) * x:: BLOX.BWidget-geometry management. (line 4358) * x: <1>: BLOX.BWidget-geometry management. (line 4569) * x: <2>: BLOX.BWidget-geometry management. (line 4574) * x: <3>: BLOX.BWidget-geometry management. (line 4580) * xOffset:: BLOX.BWidget-geometry management. (line 4368) * xOffset: <1>: BLOX.BWidget-geometry management. (line 4368) * xOffset: <2>: BLOX.BWidget-geometry management. (line 4530) * y: BLOX.BWidget-geometry management. (line 4378) * y <1>: BLOX.BWidget-geometry management. (line 4388) * y <2>: BLOX.BWidget-geometry management. (line 4613) * y <3>: BLOX.BWidget-geometry management. (line 4613) * y <4>: BLOX.BWidget-geometry management. (line 4634) * y <5>: BLOX.BWidget-geometry management. (line 4634) * y:: BLOX.BWidget-geometry management. (line 4378) * y: <1>: BLOX.BWidget-geometry management. (line 4623) * y: <2>: BLOX.BWidget-geometry management. (line 4628) * y: <3>: BLOX.BWidget-geometry management. (line 4634) * yOffset:: BLOX.BWidget-geometry management. (line 4388) * yOffset: <1>: BLOX.BWidget-geometry management. (line 4388) * yOffset: <2>: BLOX.BWidget-geometry management. (line 4591)