wxColourData
Functions for wxColourData class
- Provided by: erlang-manpages (Version: 1:25.3.2.8+dfsg-1ubuntu4.6)
- Source: erlang
- Report a bug
Functions for wxColourData class
This class holds a variety of information related to colour dialogs.
See: wx_color(), wxColourDialog, Overview cmndlg
wxWidgets docs: wxColourData
wxColourData() = wx:wx_object()
new() -> wxColourData()
Constructor.
Initializes the custom colours to wxNullColour, the data colour setting to black, and the choose full setting to true.
destroy(This :: wxColourData()) -> ok
Destructor.
getChooseFull(This) -> boolean()
Types:
Under Windows, determines whether the Windows colour dialog will display the full dialog with custom colour selection controls.
Has no meaning under other platforms.
The default value is true.
getColour(This) -> wx:wx_colour4()
Types:
Gets the current colour associated with the colour dialog.
The default colour is black.
getCustomColour(This, I) -> wx:wx_colour4()
Types:
Returns custom colours associated with the colour dialog.
setChooseFull(This, Flag) -> ok
Types:
Under Windows, tells the Windows colour dialog to display the full dialog with custom colour selection controls.
Under other platforms, has no effect.
The default value is true.
setColour(This, Colour) -> ok
Types:
Sets the default colour for the colour dialog.
The default colour is black.
setCustomColour(This, I, Colour) -> ok
Types:
Sets custom colours for the colour dialog.