Next: BLOX.BDropDown-callbacks, Up: BLOX.BDropDown [Index]
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.
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.
Answer the number of items that are visible at any time in the listbox.
Set the number of items that are visible at any time in the listbox.
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.
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.
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.
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.
Answer the value of the highlightBackground option for the widget.
Specifies the background color to use when displaying selected items in the list widget.
Set the value of the highlightBackground option for the widget.
Specifies the background color to use when displaying selected items in the list widget.
Answer the value of the highlightForeground option for the widget.
Specifies the foreground color to use when displaying selected items in the list widget.
Set the value of the highlightForeground option for the widget.
Specifies the foreground color to use when displaying selected items in the list widget.
Next: BLOX.BDropDown-callbacks, Up: BLOX.BDropDown [Index]