This class represents the colour chooser dialog.
ColourDialog.new(Window parent, ColourData data = nil)
Constructor. Pass a parent window, and optionally a pointer to a block of colour data, which will be copied to the colour dialog’s colour data. Custom colours from colour data object will be be used in dialog’s colour palette. Invalid entries in custom colours list will be ignored on some platforms (GTK) or replaced with white colour on platforms where custom colours palette has fixed size (MSW).
destructor()
Destructor.
Boolean create(Window parent, ColourData data = nil)
Same as constructor.
ColourData get_colour_data()
Returns the colour data associated with the colour dialog.
Integer show_modal()
Shows the dialog, returning ID_OK if the user pressed OK, and ID_CANCEL otherwise.
[This page automatically generated from the Textile source at Thu May 01 00:50:34 +0100 2008]