Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

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

  1. constructWindowTransientFor :: (IsWindow o, MonadIO m, IsWindow a) => a -> m (GValueConstruct o)

    gi-gtk4 GI.Gtk.Objects.Window

    Construct a GValueConstruct with valid value for the “transient-for” property. This is rarely needed directly, but it is used by new.

  2. getWindowTransientFor :: (MonadIO m, IsWindow o) => o -> m (Maybe Window)

    gi-gtk4 GI.Gtk.Objects.Window

    Get the value of the “transient-for” property. When overloading is enabled, this is equivalent to

    get window #transientFor
    

  3. setWindowTransientFor :: (MonadIO m, IsWindow o, IsWindow a) => o -> a -> m ()

    gi-gtk4 GI.Gtk.Objects.Window

    Set the value of the “transient-for” property. When overloading is enabled, this is equivalent to

    set window [ #transientFor := value ]
    

  4. windowGetTransientFor :: (HasCallStack, MonadIO m, IsWindow a) => a -> m (Maybe Window)

    gi-gtk4 GI.Gtk.Objects.Window

    Fetches the transient parent for this window.

  5. windowSetTransientFor :: (HasCallStack, MonadIO m, IsWindow a, IsWindow b) => a -> Maybe b -> m ()

    gi-gtk4 GI.Gtk.Objects.Window

    Dialog windows should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. Dialog.new_with_buttons() and other convenience functions in GTK will sometimes call windowSetTransientFor on your behalf. Passing Nothing for parent unsets the current transient window. On Windows, this function puts the child window on top of the parent, much as the window manager would have done on X.

  6. recentInfoRef :: (HasCallStack, MonadIO m) => RecentInfo -> m RecentInfo

    gi-gtk4 GI.Gtk.Structs.RecentInfo

    Increases the reference count of recentInfo by one.

  7. scrollInfoRef :: (HasCallStack, MonadIO m) => ScrollInfo -> m ScrollInfo

    gi-gtk4 GI.Gtk.Structs.ScrollInfo

    Increases the reference count of a GtkScrollInfo by one. Since: 4.12

  8. textIterForwardChar :: (HasCallStack, MonadIO m) => TextIter -> m Bool

    gi-gtk4 GI.Gtk.Structs.TextIter

    Moves iter forward by one character offset. Note that images embedded in the buffer occupy 1 character slot, so this function may actually move onto an image instead of a character, if you have images in your buffer. If iter is the end iterator or one character before it, iter will now point at the end iterator, and this function returns False for convenience when writing loops.

  9. textIterForwardChars :: (HasCallStack, MonadIO m) => TextIter -> Int32 -> m Bool

    gi-gtk4 GI.Gtk.Structs.TextIter

    Moves count characters if possible. If count would move past the start or end of the buffer, moves to the start or end of the buffer. The return value indicates whether the new position of iter is different from its original position, and dereferenceable (the last iterator in the buffer is not dereferenceable). If count is 0, the function does nothing and returns False.

  10. textIterForwardCursorPosition :: (HasCallStack, MonadIO m) => TextIter -> m Bool

    gi-gtk4 GI.Gtk.Structs.TextIter

    Moves iter forward by a single cursor position. Cursor positions are (unsurprisingly) positions where the cursor can appear. Perhaps surprisingly, there may not be a cursor position between all characters. The most common example for European languages would be a carriage return/newline sequence. For some Unicode characters, the equivalent of say the letter “a” with an accent mark will be represented as two characters, first the letter then a "combining mark" that causes the accent to be rendered; so the cursor can’t go between those two characters. See also the LogAttr struct and the break function.

Page 1462 of many | Previous | Next