Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
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 overridden
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.
ParamSpecOverride (ManagedPtr ParamSpecOverride) |
Instances
Eq ParamSpecOverride Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride (==) :: ParamSpecOverride -> ParamSpecOverride -> Bool # (/=) :: ParamSpecOverride -> ParamSpecOverride -> Bool # | |
BoxedPtr ParamSpecOverride Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride boxedPtrCopy :: ParamSpecOverride -> IO ParamSpecOverride boxedPtrFree :: ParamSpecOverride -> IO () | |
ManagedPtrNewtype ParamSpecOverride Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride toManagedPtr :: ParamSpecOverride -> ManagedPtr ParamSpecOverride | |
TypedObject ParamSpecOverride Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride | |
HasParentTypes ParamSpecOverride Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride | |
type ParentTypes ParamSpecOverride Source # | |
Defined in GI.GObject.Objects.ParamSpecOverride |
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
.
Methods
Click to display all available methods, including inherited ones
Methods
Getters
getBlurb, getDefaultValue, getName, getNameQuark, getNick, getQdata, getRedirectTarget.