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.
accelMapAddFilter :: (HasCallStack, MonadIO m) => Text -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Adds a filter to the global list of accel path filters. Accel map entries whose accel path matches one of the filters are skipped by accelMapForeach. This function is intended for GTK+ modules that create their own menus, but don’t want them to be saved into the applications accelerator map dump.
-
gi-gtk3 GI.Gtk.Objects.AccelMap Changes the accelKey and accelMods currently associated with accelPath. Due to conflicts with other accelerators, a change may not always be possible, replace indicates whether other accelerators may be deleted to resolve such conflicts. A change will only occur if all conflicts could be resolved (which might not be the case if conflicting accelerators are locked). Successful changes are indicated by a True return value. Note that accelPath string will be stored in a GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with internStaticString.
accelMapForeach :: (HasCallStack, MonadIO m) => Ptr () -> AccelMapForeach -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Loops over the entries in the accelerator map whose accel path doesn’t match any of the filters added with accelMapAddFilter, and execute foreachFunc on each. The signature of foreachFunc is that of AccelMapForeach, the changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump).
accelMapForeachUnfiltered :: (HasCallStack, MonadIO m) => Ptr () -> AccelMapForeach -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Loops over all entries in the accelerator map, and execute foreachFunc on each. The signature of foreachFunc is that of AccelMapForeach, the changed parameter indicates whether this accelerator was changed during runtime (thus, would need saving during an accelerator map dump).
accelMapGet :: (HasCallStack, MonadIO m) => m AccelMapgi-gtk3 GI.Gtk.Objects.AccelMap Gets the singleton global AccelMap object. This object is useful only for notification of changes to the accelerator map via the changed signal; it isn’t a parameter to the other accelerator map functions. Since: 2.4
accelMapLoad :: (HasCallStack, MonadIO m) => [Char] -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Parses a file previously saved with accelMapSave for accelerator specifications, and propagates them accordingly.
accelMapLoadFd :: (HasCallStack, MonadIO m) => Int32 -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Filedescriptor variant of accelMapLoad. Note that the file descriptor will not be closed by this function.
accelMapLoadScanner :: (HasCallStack, MonadIO m) => Scanner -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Scanner variant of accelMapLoad.
accelMapLockPath :: (HasCallStack, MonadIO m) => Text -> m ()gi-gtk3 GI.Gtk.Objects.AccelMap Locks the given accelerator path. If the accelerator map doesn’t yet contain an entry for accelPath, a new one is created. Locking an accelerator path prevents its accelerator from being changed during runtime. A locked accelerator path can be unlocked by accelMapUnlockPath. Refer to accelMapChangeEntry for information about runtime accelerator changes. If called more than once, accelPath remains locked until accelMapUnlockPath has been called an equivalent number of times. Note that locking of individual accelerator paths is independent from locking the AccelGroup containing them. For runtime accelerator changes to be possible, both the accelerator path and its AccelGroup have to be unlocked. Since: 2.4
accelMapLookupEntry :: (HasCallStack, MonadIO m) => Text -> m (Bool, AccelKey)gi-gtk3 GI.Gtk.Objects.AccelMap Looks up the accelerator entry for accelPath and fills in key.