Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. InitiallyUnowned :: ManagedPtr InitiallyUnowned -> InitiallyUnowned

    gi-gobject GI.GObject.Objects.InitiallyUnowned

    No documentation available.

  2. class (GObject o, IsDescendantOf InitiallyUnowned o) => IsInitiallyUnowned o

    gi-gobject GI.GObject.Objects.InitiallyUnowned

    Type class for types which can be safely cast to InitiallyUnowned, for instance with toInitiallyUnowned.

  3. toInitiallyUnowned :: (MonadIO m, IsInitiallyUnowned o) => o -> m InitiallyUnowned

    gi-gobject GI.GObject.Objects.InitiallyUnowned

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

  4. type ObjectNotifyCallback = GParamSpec -> IO ()

    gi-gobject GI.GObject.Objects.Object

    The notify signal is emitted on an object when one of its properties has its value set through objectSetProperty, g_object_set(), et al. Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with ParamFlagsExplicitNotify, then any call to objectSetProperty results in notify being emitted, even if the new value is the same as the old. If they did pass ParamFlagsExplicitNotify, then this signal is emitted only when they explicitly call objectNotify or objectNotifyByPspec, and common practice is to do that only when the value has actually changed. This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    C code

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
    G_CALLBACK (gtk_text_view_target_list_notify),
    text_view)
    
    It is important to note that you must use [canonical parameter names][canonical-parameter-names] as detail strings for the notify signal.

  5. objectInterfaceInstallProperty :: (HasCallStack, MonadIO m) => TypeInterface -> GParamSpec -> m ()

    gi-gobject GI.GObject.Objects.Object

    Add a property to an interface; this is only useful for interfaces that are added to GObject-derived types. Adding a property to an interface forces all objects classes with that interface to have a compatible property. The compatible property could be a newly created ParamSpec, but normally objectClassOverrideProperty will be used so that the object class only needs to provide an implementation and inherits the property description, default value, bounds, and so forth from the interface property. This function is meant to be called from the interface's default vtable initialization function (the classInit member of TypeInfo.) It must not be called after after classInit has been called for any object types implementing this interface. If pspec is a floating reference, it will be consumed. Since: 2.4

  6. type SignalGroupBindCallback = Object -> IO ()

    gi-gobject GI.GObject.Objects.SignalGroup

    This signal is emitted when SignalGroup:target is set to a new value other than Nothing. It is similar to Object::notify on target except it will not emit when SignalGroup:target is Nothing and also allows for receiving the Object without a data-race. Since: 2.72

  7. type SignalGroupUnbindCallback = IO ()

    gi-gobject GI.GObject.Objects.SignalGroup

    This signal is emitted when the target instance of self is set to a new Object. This signal will only be emitted if the previous target of self is non-Nothing. Since: 2.72

  8. clearCClosureCallback :: MonadIO m => CClosure -> m ()

    gi-gobject GI.GObject.Structs.CClosure

    Set the value of the “callback” field to Nothing. When overloading is enabled, this is equivalent to

    clear #callback
    

  9. getCClosureCallback :: MonadIO m => CClosure -> m (Ptr ())

    gi-gobject GI.GObject.Structs.CClosure

    Get the value of the “callback” field. When overloading is enabled, this is equivalent to

    get cClosure #callback
    

  10. setCClosureCallback :: MonadIO m => CClosure -> Ptr () -> m ()

    gi-gobject GI.GObject.Structs.CClosure

    Set the value of the “callback” field. When overloading is enabled, this is equivalent to

    set cClosure [ #callback := value ]
    

Page 401 of many | Previous | Next