GraphModel

Constructors

this
this(DzlGraphModel* dzlGraphModel, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this()

Members

Functions

addColumn
uint addColumn(GraphColumn column)
addOnChanged
gulong addOnChanged(void delegate(GraphModel) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)
getEndTime
long getEndTime()
getGraphModelStruct
DzlGraphModel* getGraphModelStruct(bool transferOwnership = false)

Get the main Gtk struct

getIterFirst
bool getIterFirst(DzlGraphModelIter* iter)
getIterLast
bool getIterLast(DzlGraphModelIter* iter)
getMaxSamples
uint getMaxSamples()
getNColumns
uint getNColumns()
getStruct
void* getStruct()

the main Gtk struct as a void*

getTimespan
GTimeSpan getTimespan()
push
void push(out DzlGraphModelIter iter, long timestamp)
setMaxSamples
void setMaxSamples(uint nRows)
setTimespan
void setTimespan(GTimeSpan timespan)

Static functions

getType
GType getType()
iterGetTimestamp
long iterGetTimestamp(DzlGraphModelIter* iter)
iterGetValue
void iterGetValue(DzlGraphModelIter* iter, uint column, Value value)
iterNext
bool iterNext(DzlGraphModelIter* iter)
iterSetValue
void iterSetValue(DzlGraphModelIter* iter, uint column, Value value)

Sets an individual value within a specific column.

Variables

dzlGraphModel
DzlGraphModel* dzlGraphModel;

the main Gtk struct

Meta