Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
This is a type of ParamSpec
type that simply redirects operations to
another paramspec. All operations other than getting or
setting the value are redirected, including accessing the nick and
blurb, validating a value, and so forth. See
paramSpecGetRedirectTarget
for retrieving the overidden
property. ParamSpecOverride
is used in implementing
objectClassOverrideProperty
, and will not be directly useful
unless you are implementing a new base type similar to GObject.
Since: 2.4
Synopsis
- newtype ParamSpecOverride = ParamSpecOverride (ManagedPtr ParamSpecOverride)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecOverride o) => IsParamSpecOverride o
- toParamSpecOverride :: (MonadIO m, IsParamSpecOverride o) => o -> m ParamSpecOverride
Exported types
newtype ParamSpecOverride Source #
Memory-managed wrapper type.
Instances
class (BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecOverride o) => IsParamSpecOverride o Source #
Type class for types which can be safely cast to ParamSpecOverride
, for instance with toParamSpecOverride
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf ParamSpecOverride o) => IsParamSpecOverride o Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride |
toParamSpecOverride :: (MonadIO m, IsParamSpecOverride o) => o -> m ParamSpecOverride Source #
Cast to ParamSpecOverride
, for types for which this is known to be safe. For general casts, use castTo
.