Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. appLaunchContextSetIcon :: (HasCallStack, MonadIO m, IsAppLaunchContext a, IsIcon b) => a -> Maybe b -> m ()

    gi-gdk4 GI.Gdk.Objects.AppLaunchContext

    Sets the icon for applications that are launched with this context. Window Managers can use this information when displaying startup notification. See also appLaunchContextSetIconName.

  2. appLaunchContextSetIconName :: (HasCallStack, MonadIO m, IsAppLaunchContext a) => a -> Maybe Text -> m ()

    gi-gdk4 GI.Gdk.Objects.AppLaunchContext

    Sets the icon for applications that are launched with this context. The iconName will be interpreted in the same way as the Icon field in desktop files. See also appLaunchContextSetIcon. If both icon and iconName are set, the iconName takes priority. If neither icon or iconName is set, the icon is taken from either the file that is passed to launched application or from the GAppInfo for the launched application itself.

  3. appLaunchContextSetTimestamp :: (HasCallStack, MonadIO m, IsAppLaunchContext a) => a -> Word32 -> m ()

    gi-gdk4 GI.Gdk.Objects.AppLaunchContext

    Sets the timestamp of context. The timestamp should ideally be taken from the event that triggered the launch. Window managers can use this information to avoid moving the focus to the newly launched application when the user is busy typing in another window. This is also known as 'focus stealing prevention'.

  4. clipboardSet :: (HasCallStack, MonadIO m, IsClipboard a) => a -> GValue -> m ()

    gi-gdk4 GI.Gdk.Objects.Clipboard

    Sets the clipboard to contain the given value.

  5. clipboardSetContent :: (HasCallStack, MonadIO m, IsClipboard a, IsContentProvider b) => a -> Maybe b -> m Bool

    gi-gdk4 GI.Gdk.Objects.Clipboard

    Sets a new content provider on clipboard. The clipboard will claim the GdkDisplay's resources and advertise these new contents to other applications. In the rare case of a failure, this function will return False. The clipboard will then continue reporting its old contents and ignore provider. If the contents are read by either an external application or the clipboard's read functions, clipboard will select the best format to transfer the contents and then request that format from provider.

  6. contentDeserializerSetTaskData :: (HasCallStack, MonadIO m, IsContentDeserializer a) => a -> Ptr () -> DestroyNotify -> m ()

    gi-gdk4 GI.Gdk.Objects.ContentDeserializer

    Associate data with the current deserialization operation.

  7. contentSerializerSetTaskData :: (HasCallStack, MonadIO m, IsContentSerializer a) => a -> Ptr () -> DestroyNotify -> m ()

    gi-gdk4 GI.Gdk.Objects.ContentSerializer

    Associate data with the current serialization operation.

  8. type DisplaySettingChangedCallback = Text -> IO ()

    gi-gdk4 GI.Gdk.Objects.Display

    Emitted whenever a setting changes its value.

  9. afterDisplaySettingChanged :: (IsDisplay a, MonadIO m) => a -> ((?self :: a) => DisplaySettingChangedCallback) -> m SignalHandlerId

    gi-gdk4 GI.Gdk.Objects.Display

    Connect a signal handler for the settingChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

    after display #settingChanged callback
    
    By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension.

  10. displayGetSetting :: (HasCallStack, MonadIO m, IsDisplay a) => a -> Text -> GValue -> m Bool

    gi-gdk4 GI.Gdk.Objects.Display

    Retrieves a desktop-wide setting such as double-click time for the display.

Page 1405 of many | Previous | Next