Classes
ColorDialog | A toolkit dialog that allows the user to select a color. |
Bases: enaml.widgets.toolkit_dialog.ToolkitDialog
A toolkit dialog that allows the user to select a color.
The currently selected color of the dialog.
Whether or not to show the alpha value control.
Whether or not to show the dialog ok/cancel buttons.
The color selected when the user clicks accepts the dialog. This value is output only.
A reference to the ProxyColorDialog object.
A static method which launches a color dialog.
Parameters : | parent : ToolkitObject or None
**kwargs :
|
---|---|
Returns : | result : Color or None
|
Get the number of available custom colors.
The custom colors are shared among all color dialogs.
Returns : | result : int
|
---|
Notes
The Application object must exist before calling this method.
Get the custom color for the given index.
The custom colors are shared among all color dialogs.
Parameters : | index : int
|
---|---|
Returns : | result : Color
|
Notes
The Application object must exist before calling this method.
Set the custom color for the given index.
The custom colors are shared among all color dialogs.
Parameters : | index : int
color : Color
|
---|
Notes
The Application object must exist before calling this method.