Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.Dazzle.Objects.GraphModel
Description
No description available in the introspection data.
Synopsis
- newtype GraphModel = GraphModel (ManagedPtr GraphModel)
- class (GObject o, IsDescendantOf GraphModel o) => IsGraphModel o
- toGraphModel :: (MonadIO m, IsGraphModel o) => o -> m GraphModel
- graphModelAddColumn :: (HasCallStack, MonadIO m, IsGraphModel a, IsGraphColumn b) => a -> b -> m Word32
- graphModelGetEndTime :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Int64
- graphModelGetIterFirst :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> GraphModelIter -> m Bool
- graphModelGetIterLast :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> GraphModelIter -> m Bool
- graphModelGetMaxSamples :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Word32
- graphModelGetNColumns :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Word32
- graphModelGetTimespan :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Int64
- graphModelIterGetTimestamp :: (HasCallStack, MonadIO m) => GraphModelIter -> m Int64
- graphModelIterGetValue :: (HasCallStack, MonadIO m) => GraphModelIter -> Word32 -> GValue -> m ()
- graphModelIterNext :: (HasCallStack, MonadIO m) => GraphModelIter -> m Bool
- graphModelIterSet :: (HasCallStack, MonadIO m) => GraphModelIter -> Word32 -> GValue -> m ()
- graphModelNew :: (HasCallStack, MonadIO m) => m GraphModel
- graphModelPush :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> Int64 -> m GraphModelIter
- graphModelSetMaxSamples :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> Word32 -> m ()
- graphModelSetTimespan :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> Int64 -> m ()
- constructGraphModelMaxSamples :: (IsGraphModel o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getGraphModelMaxSamples :: (MonadIO m, IsGraphModel o) => o -> m Word32
- setGraphModelMaxSamples :: (MonadIO m, IsGraphModel o) => o -> Word32 -> m ()
- constructGraphModelTimespan :: (IsGraphModel o, MonadIO m) => Int64 -> m (GValueConstruct o)
- getGraphModelTimespan :: (MonadIO m, IsGraphModel o) => o -> m Int64
- setGraphModelTimespan :: (MonadIO m, IsGraphModel o) => o -> Int64 -> m ()
- constructGraphModelValueMax :: (IsGraphModel o, MonadIO m) => Double -> m (GValueConstruct o)
- getGraphModelValueMax :: (MonadIO m, IsGraphModel o) => o -> m Double
- setGraphModelValueMax :: (MonadIO m, IsGraphModel o) => o -> Double -> m ()
- constructGraphModelValueMin :: (IsGraphModel o, MonadIO m) => Double -> m (GValueConstruct o)
- getGraphModelValueMin :: (MonadIO m, IsGraphModel o) => o -> m Double
- setGraphModelValueMin :: (MonadIO m, IsGraphModel o) => o -> Double -> m ()
- type GraphModelChangedCallback = IO ()
- afterGraphModelChanged :: (IsGraphModel a, MonadIO m) => a -> ((?self :: a) => GraphModelChangedCallback) -> m SignalHandlerId
- onGraphModelChanged :: (IsGraphModel a, MonadIO m) => a -> ((?self :: a) => GraphModelChangedCallback) -> m SignalHandlerId
Exported types
newtype GraphModel Source #
Memory-managed wrapper type.
Constructors
GraphModel (ManagedPtr GraphModel) |
Instances
Eq GraphModel Source # | |
Defined in GI.Dazzle.Objects.GraphModel | |
GObject GraphModel Source # | |
Defined in GI.Dazzle.Objects.GraphModel | |
ManagedPtrNewtype GraphModel Source # | |
Defined in GI.Dazzle.Objects.GraphModel Methods toManagedPtr :: GraphModel -> ManagedPtr GraphModel | |
TypedObject GraphModel Source # | |
Defined in GI.Dazzle.Objects.GraphModel | |
HasParentTypes GraphModel Source # | |
Defined in GI.Dazzle.Objects.GraphModel | |
IsGValue (Maybe GraphModel) Source # | Convert |
Defined in GI.Dazzle.Objects.GraphModel Methods gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe GraphModel -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe GraphModel) | |
type ParentTypes GraphModel Source # | |
Defined in GI.Dazzle.Objects.GraphModel type ParentTypes GraphModel = '[Object] |
class (GObject o, IsDescendantOf GraphModel o) => IsGraphModel o Source #
Type class for types which can be safely cast to GraphModel
, for instance with toGraphModel
.
Instances
(GObject o, IsDescendantOf GraphModel o) => IsGraphModel o Source # | |
Defined in GI.Dazzle.Objects.GraphModel |
toGraphModel :: (MonadIO m, IsGraphModel o) => o -> m GraphModel Source #
Cast to GraphModel
, 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
addColumn, bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, push, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getEndTime, getIterFirst, getIterLast, getMaxSamples, getNColumns, getProperty, getQdata, getTimespan.
Setters
setData, setDataFull, setMaxSamples, setProperty, setTimespan.
addColumn
graphModelAddColumn :: (HasCallStack, MonadIO m, IsGraphModel a, IsGraphColumn b) => a -> b -> m Word32 Source #
No description available in the introspection data.
getEndTime
graphModelGetEndTime :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Int64 Source #
No description available in the introspection data.
getIterFirst
graphModelGetIterFirst :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> GraphModelIter -> m Bool Source #
No description available in the introspection data.
getIterLast
graphModelGetIterLast :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> GraphModelIter -> m Bool Source #
No description available in the introspection data.
getMaxSamples
graphModelGetMaxSamples :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Word32 Source #
No description available in the introspection data.
getNColumns
graphModelGetNColumns :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Word32 Source #
No description available in the introspection data.
getTimespan
graphModelGetTimespan :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> m Int64 Source #
No description available in the introspection data.
iterGetTimestamp
graphModelIterGetTimestamp :: (HasCallStack, MonadIO m) => GraphModelIter -> m Int64 Source #
No description available in the introspection data.
iterGetValue
graphModelIterGetValue :: (HasCallStack, MonadIO m) => GraphModelIter -> Word32 -> GValue -> m () Source #
No description available in the introspection data.
iterNext
graphModelIterNext :: (HasCallStack, MonadIO m) => GraphModelIter -> m Bool Source #
No description available in the introspection data.
iterSet
Arguments
:: (HasCallStack, MonadIO m) | |
=> GraphModelIter |
|
-> Word32 |
|
-> GValue |
|
-> m () |
Sets an individual value within a specific column.
Since: 3.30
new
graphModelNew :: (HasCallStack, MonadIO m) => m GraphModel Source #
No description available in the introspection data.
push
Arguments
:: (HasCallStack, MonadIO m, IsGraphModel a) | |
=> a |
|
-> Int64 |
|
-> m GraphModelIter |
No description available in the introspection data.
setMaxSamples
graphModelSetMaxSamples :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> Word32 -> m () Source #
No description available in the introspection data.
setTimespan
graphModelSetTimespan :: (HasCallStack, MonadIO m, IsGraphModel a) => a -> Int64 -> m () Source #
No description available in the introspection data.
Properties
maxSamples
No description available in the introspection data.
constructGraphModelMaxSamples :: (IsGraphModel o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “max-samples
” property. This is rarely needed directly, but it is used by new
.
getGraphModelMaxSamples :: (MonadIO m, IsGraphModel o) => o -> m Word32 Source #
Get the value of the “max-samples
” property.
When overloading is enabled, this is equivalent to
get
graphModel #maxSamples
setGraphModelMaxSamples :: (MonadIO m, IsGraphModel o) => o -> Word32 -> m () Source #
Set the value of the “max-samples
” property.
When overloading is enabled, this is equivalent to
set
graphModel [ #maxSamples:=
value ]
timespan
No description available in the introspection data.
constructGraphModelTimespan :: (IsGraphModel o, MonadIO m) => Int64 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “timespan
” property. This is rarely needed directly, but it is used by new
.
getGraphModelTimespan :: (MonadIO m, IsGraphModel o) => o -> m Int64 Source #
Get the value of the “timespan
” property.
When overloading is enabled, this is equivalent to
get
graphModel #timespan
setGraphModelTimespan :: (MonadIO m, IsGraphModel o) => o -> Int64 -> m () Source #
Set the value of the “timespan
” property.
When overloading is enabled, this is equivalent to
set
graphModel [ #timespan:=
value ]
valueMax
No description available in the introspection data.
constructGraphModelValueMax :: (IsGraphModel o, MonadIO m) => Double -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “value-max
” property. This is rarely needed directly, but it is used by new
.
getGraphModelValueMax :: (MonadIO m, IsGraphModel o) => o -> m Double Source #
Get the value of the “value-max
” property.
When overloading is enabled, this is equivalent to
get
graphModel #valueMax
setGraphModelValueMax :: (MonadIO m, IsGraphModel o) => o -> Double -> m () Source #
Set the value of the “value-max
” property.
When overloading is enabled, this is equivalent to
set
graphModel [ #valueMax:=
value ]
valueMin
No description available in the introspection data.
constructGraphModelValueMin :: (IsGraphModel o, MonadIO m) => Double -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “value-min
” property. This is rarely needed directly, but it is used by new
.
getGraphModelValueMin :: (MonadIO m, IsGraphModel o) => o -> m Double Source #
Get the value of the “value-min
” property.
When overloading is enabled, this is equivalent to
get
graphModel #valueMin
setGraphModelValueMin :: (MonadIO m, IsGraphModel o) => o -> Double -> m () Source #
Set the value of the “value-min
” property.
When overloading is enabled, this is equivalent to
set
graphModel [ #valueMin:=
value ]
Signals
changed
type GraphModelChangedCallback = IO () Source #
No description available in the introspection data.
afterGraphModelChanged :: (IsGraphModel a, MonadIO m) => a -> ((?self :: a) => GraphModelChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after
graphModel #changed callback
By default the object invoking the signal is not passed to the callback.
If you need to access it, you can use the implit ?self
parameter.
Note that this requires activating the ImplicitParams
GHC extension.
onGraphModelChanged :: (IsGraphModel a, MonadIO m) => a -> ((?self :: a) => GraphModelChangedCallback) -> m SignalHandlerId Source #
Connect a signal handler for the changed signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on
graphModel #changed callback