gi-dazzle-1.0.2: libdazzle bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Dazzle.Objects.GraphModel

Description

No description available in the introspection data.

Synopsis

Exported types

newtype GraphModel Source #

Memory-managed wrapper type.

Constructors

GraphModel (ManagedPtr GraphModel) 

Instances

Instances details
Eq GraphModel Source # 
Instance details

Defined in GI.Dazzle.Objects.GraphModel

GObject GraphModel Source # 
Instance details

Defined in GI.Dazzle.Objects.GraphModel

ManagedPtrNewtype GraphModel Source # 
Instance details

Defined in GI.Dazzle.Objects.GraphModel

Methods

toManagedPtr :: GraphModel -> ManagedPtr GraphModel

TypedObject GraphModel Source # 
Instance details

Defined in GI.Dazzle.Objects.GraphModel

Methods

glibType :: IO GType

HasParentTypes GraphModel Source # 
Instance details

Defined in GI.Dazzle.Objects.GraphModel

IsGValue (Maybe GraphModel) Source #

Convert GraphModel to and from GValue. See toGValue and fromGValue.

Instance details

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 # 
Instance details

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

Instances details
(GObject o, IsDescendantOf GraphModel o) => IsGraphModel o Source # 
Instance details

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

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

graphModelIterSet Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> GraphModelIter

iter: the iter to set

-> Word32

column: the column to set

-> GValue

value: the new value for the column

-> 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

graphModelPush Source #

Arguments

:: (HasCallStack, MonadIO m, IsGraphModel a) 
=> a

self: Table to push to

-> Int64

timestamp: Time of new event

-> 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