pyface.i_color_dialog module

The interface for a dialog that allows the user to select a color.

class pyface.i_color_dialog.IColorDialog(adaptee, default=<class 'traits.adaptation.adaptation_error.AdaptationError'>)[source]

Bases: IDialog

The interface for a dialog that allows the user to choose a color.

color = PyfaceColor()

The color in the dialog.

show_alpha = Bool(False)

Whether or not to allow the user to chose an alpha value.