Trees | Index | Help |
---|
Module gwy :: Class ColorButton |
|
Method Summary | |
---|---|
Creates a new color button. | |
Sets color to be the current color in the
ColorButton widget. | |
Does the color selection dialog use the alpha channel? | |
Sets the current color to be color . | |
Sets whether or not the color button should use the alpha channel. |
Method Details |
---|
__init__()
Creates a new color button. This returns a widget in the form of a
small button containing a swatch representing the current selected
color. When the button is clicked, a color-selection dialog will open,
allowing the user to select a color. The swatch will be updated to
reflect the new color when the user finishes.
|
get_color(color)Setscolor to be the current color in the
ColorButton widget.
|
get_use_alpha()Does the color selection dialog use the alpha channel?
|
set_color(color)Sets the current color to becolor .
|
set_use_alpha(use_alpha)Sets whether or not the color button should use the alpha channel.
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 | http://epydoc.sf.net |