mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 16:35:33 +00:00
38 lines
785 B
Markdown
38 lines
785 B
Markdown
---
|
|
title: KMManager.getKeyboardFontFilename() (Deprecated)
|
|
---
|
|
|
|
## Summary
|
|
|
|
(Deprecated) The **`getKeyboardFontFilename()`** method returns the
|
|
selected keyboard's font filename.
|
|
|
|
## Syntax
|
|
|
|
``` javascript
|
|
KMManager.getKeyboardFontFilename()
|
|
```
|
|
|
|
### Returns
|
|
|
|
Returns the selected keyboard's font filename as `String` if it has any,
|
|
empty string otherwise.
|
|
|
|
## Description
|
|
|
|
Use this method to get the font filename of the selected keyboard.
|
|
|
|
## Examples
|
|
|
|
### Example: Using `getKeyboardFontFilename()`
|
|
|
|
The following script illustrate the use of `getKeyboardFontFilename()`:
|
|
|
|
``` javascript
|
|
String fontFilename = KMManager.getKeyboardFontFilename();
|
|
```
|
|
|
|
## See also
|
|
|
|
- [`getKeyboardFontTypeface()` (Deprecated)](getKeyboardFontTypeface)
|
|
- [`getFontTypeface()`](getFontTypeface)
|