Opens a dialog for selecting a font.
[fontname, fontsize, bold, italic] = uigetfont() [fontname, fontsize, bold, italic] = uigetfont(defaultfontname) [fontname, fontsize, bold, italic] = uigetfont(defaultfontname, defaultfontsize) [fontname, fontsize, bold, italic] = uigetfont(defaultfontname, defaultfontsize , defaultbold) [fontname, fontsize, bold, italic] = uigetfont(defaultfontname, defaultfontsize , defaultbold, defaultitalic);
All output arguments are optional, provided that their order is kept.
String: the default font name to select in the dialog.
Scalar: the default font size to select in the dialog.
Boolean: the default bold attribute in the dialog (%T for bold font, %F otherwise).
Boolean: the default italic attribute in the dialog (%T for bold font, %F otherwise).
The selected font name ("" if the user cancels).
The selected font size ([] if the user cancels).
%T if bold attribute has been selected, %F otherwise ([] if the user cancels).
%T if italic attribute has been selected, %F otherwise ([] if the user cancels).
Creates a dialog window for selecting a font.