Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. menuModelGetItemLink :: (HasCallStack, MonadIO m, IsMenuModel a) => a -> Int32 -> Text -> m (Maybe MenuModel)

    gi-gio GI.Gio.Objects.MenuModel

    Queries the item at position itemIndex in model for the link specified by link. If the link exists, the linked MenuModel is returned. If the link does not exist, Nothing is returned. Since: 2.32

  2. menuModelGetNItems :: (HasCallStack, MonadIO m, IsMenuModel a) => a -> m Int32

    gi-gio GI.Gio.Objects.MenuModel

    Query the number of items in model. Since: 2.32

  3. menuModelIsMutable :: (HasCallStack, MonadIO m, IsMenuModel a) => a -> m Bool

    gi-gio GI.Gio.Objects.MenuModel

    Queries if model is mutable. An immutable MenuModel will never emit the MenuModel::itemsChanged signal. Consumers of the model may make optimisations accordingly. Since: 2.32

  4. menuModelItemsChanged :: (HasCallStack, MonadIO m, IsMenuModel a) => a -> Int32 -> Int32 -> Int32 -> m ()

    gi-gio GI.Gio.Objects.MenuModel

    Requests emission of the MenuModel::itemsChanged signal on model. This function should never be called except by MenuModel subclasses. Any other calls to this function will very likely lead to a violation of the interface of the model. The implementation should update its internal representation of the menu before emitting the signal. The implementation should further expect to receive queries about the new state of the menu (and particularly added menu items) while signal handlers are running. The implementation must dispatch this call directly from a mainloop entry and not in response to calls -- particularly those from the MenuModel API. Said another way: the menu must not change while user code is running without returning to the mainloop. Since: 2.32

  5. menuModelIterateItemAttributes :: (HasCallStack, MonadIO m, IsMenuModel a) => a -> Int32 -> m MenuAttributeIter

    gi-gio GI.Gio.Objects.MenuModel

    Creates a MenuAttributeIter to iterate over the attributes of the item at position itemIndex in model. You must free the iterator with objectUnref when you are done. Since: 2.32

  6. menuModelIterateItemLinks :: (HasCallStack, MonadIO m, IsMenuModel a) => a -> Int32 -> m MenuLinkIter

    gi-gio GI.Gio.Objects.MenuModel

    Creates a MenuLinkIter to iterate over the links of the item at position itemIndex in model. You must free the iterator with objectUnref when you are done. Since: 2.32

  7. onMenuModelItemsChanged :: (IsMenuModel a, MonadIO m) => a -> ((?self :: a) => MenuModelItemsChangedCallback) -> m SignalHandlerId

    gi-gio GI.Gio.Objects.MenuModel

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

    on menuModel #itemsChanged callback
    

  8. toMenuModel :: (MonadIO m, IsMenuModel o) => o -> m MenuModel

    gi-gio GI.Gio.Objects.MenuModel

    Cast to MenuModel, for types for which this is known to be safe. For general casts, use castTo.

  9. module GI.Gio.Objects.ProxyAddressEnumerator

    GProxyAddressEnumerator is a wrapper around SocketAddressEnumerator which takes the SocketAddress instances returned by the SocketAddressEnumerator and wraps them in ProxyAddress instances, using the given ProxyAddressEnumerator:proxyResolver. This enumerator will be returned (for example, by socketConnectableEnumerate) as appropriate when a proxy is configured; there should be no need to manually wrap a SocketAddressEnumerator instance with one.

  10. class (GObject o, IsDescendantOf ProxyAddressEnumerator o) => IsProxyAddressEnumerator o

    gi-gio GI.Gio.Objects.ProxyAddressEnumerator

    Type class for types which can be safely cast to ProxyAddressEnumerator, for instance with toProxyAddressEnumerator.

Page 208 of many | Previous | Next