Device.getSystemFont

Returns a reasonable font for applications to use. On some platforms, this will match the "default font" or "system font" if such can be found. This font should not be freed because it was allocated by the system, not the application. <p> Typically, applications which want the default look should simply not set the font on the widgets they create. Widgets are always created with the correct default font for the class of user-interface component they represent. </p>

@return a font

@exception SWTException <ul> <li>ERROR_DEVICE_DISPOSED - if the receiver has been disposed</li> </ul>

class Device
getSystemFont
(
)

Meta