Top | ![]() |
![]() |
![]() |
![]() |
int | active-cell | Read / Write |
FontManagerFont * | font | Read / Write |
double | preview-size | Read / Write |
gboolean | search-mode | Read / Write |
FontManagerCharacterMap implements GtkAccessible, GtkBuildable and GtkConstraintTarget.
Widget which displays available characters in the selected font. It also provides basic information about the selected character and the ability to search for a specific character based on codepoint, name or other details.
GtkWidget *
font_manager_character_map_new (void
);
A newly created FontManagerCharacterMap.
Free the returned object using
. g_object_unref()
[transfer full]
void font_manager_character_map_set_font (FontManagerCharacterMap *self
,FontManagerFont *font
);
void font_manager_character_map_set_filter (FontManagerCharacterMap *self
,GList *filter
);
void font_manager_character_map_restore_state (FontManagerCharacterMap *self
,GSettings *settings
);
Applies the values in settings
to self
and also binds those settings to their
respective properties so that they are updated when any changes take place.
The following keys MUST be present in settings
:
charmap-font-size
#define FONT_MANAGER_TYPE_CHARACTER_MAP (font_manager_character_map_get_type ())
“active-cell”
property “active-cell” int
Currently selected cell in character map
Owner: FontManagerCharacterMap
Flags: Read / Write
Default value: 0
“preview-size”
property “preview-size” double
Font preview size
Owner: FontManagerCharacterMap
Flags: Read / Write
Allowed values: [6,96]
Default value: 16