Wiki Markup |
---|
{alias:qsetfont}
h2. Name
*qsetfont* — set widget font
h2. Syntax
{panel:|borderStyle=solid|borderWidth=1|bgColor=#FFFFAA}
*qsetfont* \[_widget_] _font_
*qsetfont* _font_
{panel}
h2. Description
The *qsetfont* command sets the font for the given widget. If the widget is not provide the current widget is used.
Use [qgetfontdialog] to display a font selection dialog.
h2. Arguments
_font_
{indent}A font object. A font object is returned by the [qgetfontdialog] command, which displays a font dialog.
{indent}
h2. Examples
See [qgetfontdialog].
{pagebreak} |
Name
qsetfont — set widget font
Syntax
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
qsetfont [widget] font qsetfont font |
Description
The qsetfont command sets the font for the given widget. If the widget is not provide the current widget is used.
Use qgetfontdialog to display a font selection dialog.
Arguments
font
Examples
See qgetfontdialog.