Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: synclistboxes.bind - Function Up: synclistboxes - Tool Previous: synclistboxes.listbox - Function


synclistboxes.background - Function



Package display
Module widgets
Tool synclistboxes


Set the background color.


Synopsis
background(background, whichbox)


Arguments

background the new background color
Allowed: X color
whichbox which listbox gets the new color
Allowed: An optional integer


Description
This is an event which sets the background color one or all listboxes. If there is only one argument, all listboxes are set to that background color. If there is a second argument, it specifies which listbox should be set to that background color. Listboxes are numbered started at 1 up to the total number of listboxes. They are numbered in the order in which they were created.



Example
# slb is a previously created synclistboxes having 4 listboxes
# set the background color of all listboxes to lightgrey
slb->background('lightgrey');
# set the background color of listbox 3 to white
slb->background('white',3);





next up previous contents index
Next: synclistboxes.bind - Function Up: synclistboxes - Tool Previous: synclistboxes.listbox - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15