This is a wrapper for wxColourDialog. It returns a wxColour object, or zero, if the user clicked the cancel button.
See Also: file_selector, font_selector
Pops up a file selector box. In Windows, this is the common file selector dialog. In X, this is a file selector box with the same functionality. This function is used for both open and save dialogs.
Flags may be a combination of wxOPEN, wxSAVE, wxOVERWRITE_PROMPT, wxHIDE_READONLY, wxFILE_MUST_EXIST, wxMULTIPLE or 0.
Both the Unix and Windows versions implement a wildcard filter. Typing a filename containing wildcards (*, ?) in the filename text item, and clicking on Ok, will result in only those files matching the pattern being displayed.
The wildcard may be a specification for multiple types of file with a description for each, such as:
"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
See Also: color_selector, font_selector
This is a wrapper for wxFontDialog. parent is the parent for the dialog (it may be null), and initial is the wxFont object that will be initially selected when the dialog is opened. If a font is selected (the user clicks OK), the new wxFont object is returned, otherwise the return value is zero.
See Also: color_selector, file_selector