gtkdataboxmm
0.9.3
|
#include <gtkdataboxmm/xyc_graph.h>
Public Member Functions | |
virtual | ~XYCGraph () |
GtkDataboxXYCGraph* | gobj () |
Provides access to the underlying C GObject. | |
const GtkDataboxXYCGraph* | gobj () const |
Provides access to the underlying C GObject. | |
GtkDataboxXYCGraph* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
unsigned int | get_length () const |
Gets the the length of the X and Y values arrays. | |
float* | get_X () const |
Gets the X values of the xzc_graph. | |
float* | get_Y () const |
Gets the Y values of the xzc_graph. | |
Glib::PropertyProxy_ReadOnly < unsigned int > | property_length () const |
number of data points. | |
Glib::PropertyProxy_ReadOnly < float* > | property_X_Values () const |
X values of data. | |
Glib::PropertyProxy_ReadOnly < float* > | property_Y_Values () const |
Y values of data. | |
![]() | |
virtual | ~Graph () |
void | set_hide (bool hide) |
Hidden graphs are not shown, when the Gtk::Databox containing them is redrawn. | |
bool | get_hide () |
Gets the current "hide" status. | |
void | set_color (const Gdk::Color& color) const |
Sets the color which the Gtk::DataboxGraph object is supposed to be using when drawing itself. | |
void | set_size (int size) |
Sets the size (e.g. line width) which the Gtk::DataboxGraph object is supposed to be using when drawing itself. | |
int | get_size () const |
Gets the size of the graph elements (e.g. the line width). | |
int | calculate_extrema (float& min_x, float& max_x, float& min_y, float& max_y) |
Virtual function which determines the minimum and maximum x and y values of the values of this Gtk::DataboxGraph object if applicable (there are graphs which do not contain data). | |
Glib::PropertyProxy< Gdk::Color > | property_color () |
Color of graph. | |
Glib::PropertyProxy_ReadOnly < Gdk::Color > | property_color () const |
Color of graph. | |
Glib::PropertyProxy< int > | property_size () |
Size of displayed items. | |
Glib::PropertyProxy_ReadOnly< int > | property_size () const |
Size of displayed items. | |
Glib::PropertyProxy< bool > | property_hide () |
Determine if graph is hidden or not. | |
Glib::PropertyProxy_ReadOnly < bool > | property_hide () const |
Determine if graph is hidden or not. |
Protected Member Functions | |
XYCGraph () | |
![]() | |
Graph () |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr< GDatabox::XYCGraph > | wrap (GtkDataboxXYCGraph* object, bool take_copy=false) |
A Glib::wrap() method for this object. | |
![]() | |
Glib::RefPtr< GDatabox::Graph > | wrap (GtkDataboxGraph* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
|
virtual |
|
protected |
unsigned int GDatabox::XYCGraph::get_length | ( | ) | const |
Gets the the length of the X and Y values arrays.
float* GDatabox::XYCGraph::get_X | ( | ) | const |
Gets the X values of the xzc_graph.
float* GDatabox::XYCGraph::get_Y | ( | ) | const |
Gets the Y values of the xzc_graph.
|
inline |
Provides access to the underlying C GObject.
Reimplemented from GDatabox::Graph.
Reimplemented in GDatabox::Markers, GDatabox::Bars, GDatabox::CrossSimple, GDatabox::Lines, and GDatabox::Points.
|
inline |
Provides access to the underlying C GObject.
Reimplemented from GDatabox::Graph.
Reimplemented in GDatabox::Markers, GDatabox::Bars, GDatabox::CrossSimple, GDatabox::Lines, and GDatabox::Points.
GtkDataboxXYCGraph* GDatabox::XYCGraph::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from GDatabox::Graph.
Reimplemented in GDatabox::Markers, GDatabox::Bars, GDatabox::CrossSimple, GDatabox::Lines, and GDatabox::Points.
Glib::PropertyProxy_ReadOnly< unsigned int > GDatabox::XYCGraph::property_length | ( | ) | const |
number of data points.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< float* > GDatabox::XYCGraph::property_X_Values | ( | ) | const |
X values of data.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
Glib::PropertyProxy_ReadOnly< float* > GDatabox::XYCGraph::property_Y_Values | ( | ) | const |
Y values of data.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
|
related |
A Glib::wrap() method for this object.
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |