Hoogle Search

Within LTS Haskell 24.70 (ghc-9.10.3)

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

  1. dialogSetResponseSensitive :: (HasCallStack, MonadIO m, IsDialog a) => a -> Int32 -> Bool -> m ()

    gi-gtk3 GI.Gtk.Objects.Dialog

    Calls gtk_widget_set_sensitive (widget, @setting) for each widget in the dialog’s action area with the given responseId. A convenient way to sensitize/desensitize dialog buttons.

  2. constructEntryInvisibleCharSet :: (IsEntry o, MonadIO m) => Bool -> m (GValueConstruct o)

    gi-gtk3 GI.Gtk.Objects.Entry

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

  3. entryGetLayoutOffsets :: (HasCallStack, MonadIO m, IsEntry a) => a -> m (Int32, Int32)

    gi-gtk3 GI.Gtk.Objects.Entry

    Obtains the position of the Layout used to render text in the entry, in widget coordinates. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget. Also useful to convert mouse events into coordinates inside the Layout, e.g. to take some action if some part of the entry text is clicked. Note that as the user scrolls around in the entry the offsets will change; you’ll need to connect to the “notifyscrollOffset” signal to track this. Remember when using the Layout functions you need to convert to and from pixels using PANGO_PIXELS() or SCALE. Keep in mind that the layout text may contain a preedit string, so entryLayoutIndexToTextIndex and entryTextIndexToLayoutIndex are needed to convert byte indices in the layout to byte indices in the entry contents.

  4. entryResetImContext :: (HasCallStack, MonadIO m, IsEntry a) => a -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    Reset the input method context of the entry if needed. This can be necessary in the case where modifying the buffer would confuse on-going input method behavior. Since: 2.22

  5. entrySetActivatesDefault :: (HasCallStack, MonadIO m, IsEntry a) => a -> Bool -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    If setting is True, pressing Enter in the entry will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons. (For experts: if setting is True, the entry calls windowActivateDefault on the window containing the entry, in the default handler for the Entry::activate signal.)

  6. entrySetAlignment :: (HasCallStack, MonadIO m, IsEntry a) => a -> Float -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    Sets the alignment for the contents of the entry. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry. Since: 2.4

  7. entrySetAttributes :: (HasCallStack, MonadIO m, IsEntry a) => a -> AttrList -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    Sets a AttrList; the attributes in the list are applied to the entry text. Since: 3.6

  8. entrySetBuffer :: (HasCallStack, MonadIO m, IsEntry a, IsEntryBuffer b) => a -> b -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    Set the EntryBuffer object which holds the text for this widget. Since: 2.18

  9. entrySetCompletion :: (HasCallStack, MonadIO m, IsEntry a, IsEntryCompletion b) => a -> Maybe b -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    Sets completion to be the auxiliary completion object to use with entry. All further configuration of the completion mechanism is done on completion using the EntryCompletion API. Completion is disabled if completion is set to Nothing. Since: 2.4

  10. entrySetCursorHadjustment :: (HasCallStack, MonadIO m, IsEntry a, IsAdjustment b) => a -> Maybe b -> m ()

    gi-gtk3 GI.Gtk.Objects.Entry

    Hooks up an adjustment to the cursor position in an entry, so that when the cursor is moved, the adjustment is scrolled to show that position. See scrolledWindowGetHadjustment for a typical way of obtaining the adjustment. The adjustment has to be in pixel units and in the same coordinate system as the entry. Since: 2.12

Page 1718 of many | Previous | Next