Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
gi-gtk3 GI.Gtk.Callbacks Wrap a TreeViewMappingFunc into a C_TreeViewMappingFunc.
-
gi-gtk3 GI.Gtk.Callbacks Wrap a WidgetClassMapEventFieldCallback into a C_WidgetClassMapEventFieldCallback.
-
gi-gtk3 GI.Gtk.Callbacks Wrap a WidgetClassMapFieldCallback into a C_WidgetClassMapFieldCallback.
-
gi-gtk3 GI.Gtk.Callbacks Wrap a WidgetClassUnmapEventFieldCallback into a C_WidgetClassUnmapEventFieldCallback.
-
gi-gtk3 GI.Gtk.Callbacks Wrap a WidgetClassUnmapFieldCallback into a C_WidgetClassUnmapFieldCallback.
RcTokenTypeBgPixmap :: RcTokenTypegi-gtk3 GI.Gtk.Enums Deprecated
RcTokenTypePixmapPath :: RcTokenTypegi-gtk3 GI.Gtk.Enums Deprecated
rcFindPixmapInPath :: (HasCallStack, MonadIO m, IsSettings a) => a -> Scanner -> Text -> m [Char]gi-gtk3 GI.Gtk.Functions Deprecated: (Since version 3.0)Use CssProvider instead.
fontChooserGetFontMap :: (HasCallStack, MonadIO m, IsFontChooser a) => a -> m (Maybe FontMap)gi-gtk3 GI.Gtk.Interfaces.FontChooser Gets the custom font map of this font chooser widget, or Nothing if it does not have one. Since: 3.18
-
gi-gtk3 GI.Gtk.Interfaces.FontChooser Sets a custom font map to use for this font chooser widget. A custom font map can be used to present application-specific fonts instead of or in addition to the normal system fonts.
C code
FcConfig *config; PangoFontMap *fontmap; config = FcInitLoadConfigAndFonts (); FcConfigAppFontAddFile (config, my_app_font_file); fontmap = pango_cairo_font_map_new_for_font_type (CAIRO_FONT_TYPE_FT); pango_fc_font_map_set_config (PANGO_FC_FONT_MAP (fontmap), config); gtk_font_chooser_set_font_map (font_chooser, fontmap);
Note that other GTK+ widgets will only be able to use the application-specific font if it is present in the font map they use:context = gtk_widget_get_pango_context (label); pango_context_set_font_map (context, fontmap);
Since: 3.18