| Argument |
Data Type/Notes |
| self |
the window (background) that is the parent for
the dialog |
| OPTIONAL font name |
Python dictionary containing a complete font description
to be used as the default starting point for the dialog. See description
of return value of "font" in table below for details. Kevin - This appears
not to be implemented? If it is, it doesn't seem to work as I've described
it here. |
result = dialog.fontDialog(self)
| Name of value |
Description |
| accepted |
1 = user clicked OK 0 = user clicked Cancel |
| color |
Tuple of three elements containing the red,
blue, and green values representing the color (i.e., RGB format) |
| font |
Python dictionary object with keys style, faceName,
family, and size. All elements of dictionary are strings except for size,
which is an integer. |