Top | ![]() |
![]() |
![]() |
![]() |
int | active-cell | Read / Write |
PangoFontDescription * | font-desc | Read / Write |
double | preview-size | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkDrawingArea ╰── FontManagerUnicodeCharacterMap
FontManagerUnicodeCharacterMap implements GtkAccessible, GtkBuildable, GtkConstraintTarget and GtkScrollable.
GtkWidget *
font_manager_unicode_character_map_new
(void
);
A newly created FontManagerUnicodeCharacterMap.
Free the returned object using
. g_object_unref()
[transfer full]
gint
font_manager_unicode_character_map_get_active_cell
(FontManagerUnicodeCharacterMap *self
);
PangoFontDescription *
font_manager_unicode_character_map_get_font_desc
(FontManagerUnicodeCharacterMap *self
);
double
font_manager_unicode_character_map_get_preview_size
(FontManagerUnicodeCharacterMap *self
);
gint
font_manager_unicode_character_map_get_last_index
(FontManagerUnicodeCharacterMap *self
);
gint font_manager_unicode_character_map_get_index (FontManagerUnicodeCharacterMap *self
,GSList *codepoints
);
GSList * font_manager_unicode_character_map_get_codepoints (FontManagerUnicodeCharacterMap *self
,gint index
);
void font_manager_unicode_character_map_set_active_cell (FontManagerUnicodeCharacterMap *self
,gint cell
);
Sets the currently selected cell for self
void font_manager_unicode_character_map_set_filter (FontManagerUnicodeCharacterMap *self
,GList *filter
);
When a filter is set only codepoints which are in the filter and actually present in the selected font will be displayed.
void font_manager_unicode_character_map_set_font_desc (FontManagerUnicodeCharacterMap *self
,PangoFontDescription *font_desc
);
Sets font_desc
as the font to use to display the character table.
void font_manager_unicode_character_map_set_preview_size (FontManagerUnicodeCharacterMap *self
,gdouble size
);
Sets the preview size to size
.
#define FONT_MANAGER_TYPE_UNICODE_CHARACTER_MAP (font_manager_unicode_character_map_get_type())
“active-cell”
property “active-cell” int
Active cell in character map
Owner: FontManagerUnicodeCharacterMap
Flags: Read / Write
Default value: 0
“font-desc”
property “font-desc” PangoFontDescription *
PangoFontDescription
Owner: FontManagerUnicodeCharacterMap
Flags: Read / Write
“selection-changed”
signalvoid user_function (FontManagerUnicodeCharacterMap *self, char *codepoint, char *codepoint_name, char *n_codepoints, gpointer user_data)
The :selection-changed signal is emitted whenever a new cell is selected.
self |
||
codepoint |
Unicode codepoint as a string |
|
codepoint_name |
Codepoint name |
|
n_codepoints |
Total # of codepoints in current list as a string |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First