Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. pattern PRIORITY_HIGH :: Int32

    gi-glib GI.GLib.Constants

    Use this for high priority event sources. It is not used within GLib or GTK.

  2. pattern PRIORITY_HIGH_IDLE :: Int32

    gi-glib GI.GLib.Constants

    Use this for high priority idle functions. GTK uses PRIORITY_HIGH_IDLE + 10 for resizing operations, and PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is done to ensure that any pending resizes are processed before any pending redraws, so that widgets are not redrawn twice unnecessarily.)

  3. pattern PRIORITY_LOW :: Int32

    gi-glib GI.GLib.Constants

    Use this for very low priority background tasks. It is not used within GLib or GTK.

  4. module GI.GLib.Structs.PathBuf

    GPathBuf is a helper type that allows you to easily build paths from individual elements, using the platform specific conventions for path separators.

    c code

    g_auto (GPathBuf) path;
    
    g_path_buf_init (&path);
    
    g_path_buf_push (&path, "usr");
    g_path_buf_push (&path, "bin");
    g_path_buf_push (&path, "echo");
    
    g_autofree char *echo = g_path_buf_to_path (&path);
    g_assert_cmpstr (echo, ==, "/usr/bin/echo");
    
    You can also load a full path and then operate on its components:

    c code

    g_auto (GPathBuf) path;
    
    g_path_buf_init_from_path (&path, "/usr/bin/echo");
    
    g_path_buf_pop (&path);
    g_path_buf_push (&path, "sh");
    
    g_autofree char *sh = g_path_buf_to_path (&path);
    g_assert_cmpstr (sh, ==, "/usr/bin/sh");
    
    Since: 2.76

  5. newtype PathBuf

    gi-glib GI.GLib.Structs.PathBuf

    Memory-managed wrapper type.

  6. PathBuf :: ManagedPtr PathBuf -> PathBuf

    gi-glib GI.GLib.Structs.PathBuf

    No documentation available.

  7. module GI.GLib.Structs.PatternSpec

    A GPatternSpec struct is the 'compiled' form of a glob-style pattern. The patternMatchSimple and patternSpecMatch functions match a string against a pattern containing '*' and '?' wildcards with similar semantics as the standard glob() function: '*' matches an arbitrary, possibly empty, string, '?' matches an arbitrary character. Note that in contrast to glob(), the '/' character can be matched by the wildcards, there are no '[...]' character ranges and '*' and '?' can not be escaped to include them literally in a pattern. When multiple strings must be matched against the same pattern, it is better to compile the pattern to a PatternSpec using patternSpecNew and use patternSpecMatchString instead of patternMatchSimple. This avoids the overhead of repeated pattern compilation.

  8. newtype PatternSpec

    gi-glib GI.GLib.Structs.PatternSpec

    Memory-managed wrapper type.

  9. PatternSpec :: ManagedPtr PatternSpec -> PatternSpec

    gi-glib GI.GLib.Structs.PatternSpec

    No documentation available.

  10. module GI.GLib.Structs.PollFD

    Represents a file descriptor, which events to poll for, and which events occurred.

Page 238 of many | Previous | Next