Top | ![]() |
![]() |
![]() |
![]() |
void | font_manager_set_application_style () |
void | font_manager_clear_pango_cache () |
void | font_manager_widget_set_align () |
void | font_manager_widget_set_expand () |
void | font_manager_widget_set_margin () |
void | font_manager_widget_set_name () |
void | font_manager_widget_dispose () |
gchar * | font_manager_get_localized_pangram () |
gchar * | font_manager_get_localized_preview_text () |
GtkTextTagTable * | font_manager_text_tag_table_new () |
GtkShortcut * | font_manager_get_shortcut_for_stateful_action () |
#define | FONT_MANAGER_BUS_ID |
#define | FONT_MANAGER_BUS_PATH |
#define | FONT_MANAGER_FONT_VIEWER_BUS_ID |
#define | FONT_MANAGER_FONT_VIEWER_BUS_PATH |
#define | FONT_MANAGER_STYLE_CLASS_COLOR |
#define | FONT_MANAGER_STYLE_CLASS_FLAT |
#define | FONT_MANAGER_STYLE_CLASS_VIEW |
#define | FONT_MANAGER_STYLE_CLASS_DIM_LABEL |
#define | FONT_MANAGER_STYLE_CLASS_BACKGROUND |
#define | FONT_MANAGER_STYLE_CLASS_SIDEBAR |
#define | FONT_MANAGER_STYLE_CLASS_SUGGESTED_ACTION |
#define | FONT_MANAGER_STYLE_CLASS_DESTRUCTIVE_ACTION |
#define | FONT_MANAGER_MIN_MARGIN |
#define | FONT_MANAGER_DEFAULT_MARGIN |
#define | FONT_MANAGER_DEFAULT_FONT |
#define | FONT_MANAGER_MIN_FONT_SIZE |
#define | FONT_MANAGER_MAX_FONT_SIZE |
#define | FONT_MANAGER_DEFAULT_PREVIEW_SIZE |
#define | FONT_MANAGER_LARGE_PREVIEW_SIZE |
#define | FONT_MANAGER_DEFAULT_PREVIEW_TEXT |
#define | FONT_MANAGER_LOREM_IPSUM |
void
font_manager_set_application_style (void
);
Load application specific CSS and icons.
void
font_manager_clear_pango_cache (PangoContext *ctx
);
Forces Pango to update the cached font configuration.
Required to render sourced fonts on Pango > 1.47
void font_manager_widget_set_align (GtkWidget *widget
,GtkAlign align
);
Set both halign and valign to the same value.
void font_manager_widget_set_expand (GtkWidget *widget
,gboolean expand
);
Set both hexpand and vexpand to the same value.
void font_manager_widget_set_margin (GtkWidget *widget
,gint margin
);
Set all margin properties to the same value.
void font_manager_widget_set_name (GtkWidget *widget
,const gchar *name
);
Set widget name and css properties to the same value.
void
font_manager_widget_dispose (GtkWidget *widget
);
Convenience function which iterates through the children of a GtkWidget,
calls
on each and sets the pointer to NULL.gtk_widget_unparent()
gchar *
font_manager_get_localized_pangram (void
);
Retrieve a sample string from Pango for the default language. If Pango does not have a sample string for language, the classic "The quick brown fox..." is returned.
GtkTextTagTable *
font_manager_text_tag_table_new (void
);
A newly created GtkTextTagTable.
Free the returned object using
. g_object_unref()
[transfer full]
GtkShortcut * font_manager_get_shortcut_for_stateful_action (const gchar *prefix
,const gchar *name
,const gchar *target
,const gchar *accel
);
prefix |
Action prefix i.e. "app", "window", etc. |
[nullable] |
name |
Action name |
|
target |
Action target |
|
accel |
A valid accelerator string as understood by gtk_accelerator_parse. |
[nullable] |
#define FONT_MANAGER_FONT_VIEWER_BUS_ID "com.github.FontManager.FontViewer"
#define FONT_MANAGER_FONT_VIEWER_BUS_PATH "/com/github/FontManager/FontViewer"
#define FONT_MANAGER_STYLE_CLASS_SUGGESTED_ACTION "suggested-action"
#define FONT_MANAGER_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action"