Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. widgetGetColormap :: WidgetClass self => self -> IO Colormap

    gtk Graphics.UI.Gtk.Abstract.Widget

    Gets the colormap that will be used to render widget.

  2. widgetGetDefaultColormap :: IO Colormap

    gtk Graphics.UI.Gtk.Abstract.Widget

    Obtains the default colormap used to create widgets.

  3. widgetGetMapped :: WidgetClass self => self -> IO Bool

    gtk Graphics.UI.Gtk.Abstract.Widget

    Whether the widget is mapped.

  4. widgetPopColormap :: IO ()

    gtk Graphics.UI.Gtk.Abstract.Widget

    Removes a colormap pushed with widgetPushColormap.

  5. widgetPushColormap :: Colormap -> IO ()

    gtk Graphics.UI.Gtk.Abstract.Widget

    Pushes cmap onto a global stack of colormaps; the topmost colormap on the stack will be used to create all widgets. Remove cmap with widgetPopColormap. There's little reason to use this function.

  6. widgetSetColormap :: WidgetClass self => self -> Colormap -> IO ()

    gtk Graphics.UI.Gtk.Abstract.Widget

    Sets the colormap for the widget to the given value. Widget must not have been previously realized. This probably should only be used from an init function (i.e. from the constructor for the widget).

  7. widgetSetDefaultColormap :: Colormap -> IO ()

    gtk Graphics.UI.Gtk.Abstract.Widget

    Sets the default colormap to use when creating widgets. widgetPushColormap is a better function to use if you only want to affect a few widgets, rather than all widgets.

  8. widgetSetMapped :: WidgetClass widget => widget -> Bool -> IO ()

    gtk Graphics.UI.Gtk.Abstract.Widget

    Marks the widget as being realized. This function should only ever be called in a derived widget's “map” or “unmap” implementation.

  9. cairoFontMapGetDefault :: IO FontMap

    gtk Graphics.UI.Gtk.Cairo

    Retrieve the default FontMap that contains a list of available fonts.

    • One purpose of creating an explicit FontMap is to set a different scaling factor between font sizes (in points, pt) and Cairo units (in pixels). The default is 96dpi (dots per inch) which corresponds to an average screen as output medium. A 10pt font will therefore scale to 10pt * (1/72 pt/inch) * (96 pixel/inch) = 13.3 pixel.

  10. cairoFontMapGetResolution :: FontMap -> IO Double

    gtk Graphics.UI.Gtk.Cairo

    Ask for the scaling factor between font size and Cairo units.

Page 1054 of many | Previous | Next