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.
pattern
PRIORITY_HIGH :: Int32gi-glib GI.GLib.Constants Use this for high priority event sources. It is not used within GLib or GTK.
pattern
PRIORITY_HIGH_IDLE :: Int32gi-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.)
-
gi-glib GI.GLib.Constants Use this for very low priority background tasks. It is not used within GLib or GTK.
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-
gi-glib GI.GLib.Structs.PathBuf Memory-managed wrapper type.
PathBuf :: ManagedPtr PathBuf -> PathBufgi-glib GI.GLib.Structs.PathBuf No documentation available.
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.
-
gi-glib GI.GLib.Structs.PatternSpec Memory-managed wrapper type.
PatternSpec :: ManagedPtr PatternSpec -> PatternSpecgi-glib GI.GLib.Structs.PatternSpec No documentation available.
-
Represents a file descriptor, which events to poll for, and which events occurred.