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.
objectSetData :: (HasCallStack, MonadIO m, IsObject a) => a -> Text -> Ptr () -> m ()gi-gobject GI.GObject.Objects.Object Each object carries around a table of associations from strings to pointers. This function lets you set an association. If the object already had an association with that name, the old association will be destroyed. Internally, the key is converted to a GQuark using quarkFromString. This means a copy of key is kept permanently (even after object has been finalized) — so it is recommended to only use a small, bounded set of values for key in your program, to avoid the GQuark storage growing unbounded.
-
gi-gobject GI.GObject.Objects.Object Like objectSetData except it adds notification for when the association is destroyed, either by setting it to a different value or when the object is destroyed. Note that the destroy callback is not called if data is Nothing.
objectSetProperty :: (HasCallStack, MonadIO m, IsObject a) => a -> Text -> GValue -> m ()gi-gobject GI.GObject.Objects.Object Sets a property on an object.
paramSpecSetQdata :: (HasCallStack, MonadIO m) => GParamSpec -> Word32 -> Ptr () -> m ()gi-gobject GI.GObject.Objects.ParamSpec Sets an opaque, named pointer on a ParamSpec. The name is specified through a GQuark (retrieved e.g. via quarkFromStaticString), and the pointer can be gotten back from the pspec with paramSpecGetQdata. Setting a previously set user data pointer, overrides (frees) the old pointer set, using Nothing as pointer essentially removes the data stored.
-
gi-gobject GI.GObject.Objects.SignalGroup Sets the target instance used when connecting signals. Any signal that has been registered with g_signal_group_connect_object() or similar functions will be connected to this object. If the target instance was previously set, signals will be disconnected from that object prior to connecting to target. Since: 2.72
typeModuleSetName :: (HasCallStack, MonadIO m, IsTypeModule a) => a -> Text -> m ()gi-gobject GI.GObject.Objects.TypeModule Sets the name for a TypeModule
clearInitiallyUnownedClassSetProperty :: MonadIO m => InitiallyUnownedClass -> m ()gi-gobject GI.GObject.Structs.InitiallyUnownedClass Set the value of the “set_property” field to Nothing. When overloading is enabled, this is equivalent to
clear #setProperty
-
gi-gobject GI.GObject.Structs.InitiallyUnownedClass Get the value of the “set_property” field. When overloading is enabled, this is equivalent to
get initiallyUnownedClass #setProperty
clearObjectClassSetProperty :: MonadIO m => ObjectClass -> m ()gi-gobject GI.GObject.Structs.ObjectClass Set the value of the “set_property” field to Nothing. When overloading is enabled, this is equivalent to
clear #setProperty
-
gi-gobject GI.GObject.Structs.ObjectClass Get the value of the “set_property” field. When overloading is enabled, this is equivalent to
get objectClass #setProperty